Fix html fragment insertion for real user tracking.  Provide more appropriate default for when transaction name is missing.