- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
05-22-2018 09:44 AM
I have been working on a tag in tealium that looks perfect in Tealium testing on the page, but does not look good in Adobe Analytics. Its catching HTML symbols such as &, ndash,® (instead of @) in Adobe. In Tealium I do not see this bad data being collected.. it looks clean.
Where do you think the error is?
Thanks,
Tim
Solved! Go to Solution.
05-22-2018 10:02 AM
It looks like the problem characters are HTML entities, in which case it's likely that they're wrong in your testing tool, but your browser is rendering them as the characters they represent, giving the impression that they're correct.
The following is a JS extension (which relies on jQuery I'm afraid) that would work against your UDO to translate them:
var textArea = $('<textarea />'); for(var k in b){ b[k] = textArea.html(b[k]).text(); }
Probably works best run as an After Load Rules one, towards the end of the extension list.. or if the problem is only manifesting in your Adobe tag, you could always run it as a tag-scoped extension if that easier..
Copyright All Rights Reserved © 2008-2023