Cardinal Path’s response to COVID-19 Cardinal Path is sharing all we know to help marketers during COVID-19.  Learn more.

This week I had the pleasure of being introduced to a “friend” in the world of “why isn’t my TMS working”. This friend’s name is the “Zero Width Space” character, and its unicode value is U+200B. You can learn more about this character here.

This character is exactly what it sounds like, a character that appears in-line with other text, but has zero width, rendering it practically invisible. Here is what I mean:

Consider the two Signal snippets below:

<script type=”text/javascript”>
(function () {
var tagjs = document.createElement(“script”);
var s = document.getElementsByTagName(“script”)[0];
tagjs.async = true;
tagjs.src = “//s.btstatic.com/tag.js#site=ABC123​”;
s.parentNode.insertBefore(tagjs, s);
}());
</script>
<noscript>
<iframe src=”//s.thebrighttag.com/iframe?c=ABC123″ width=”1″ height=”1″ frameborder=”0″
scrolling=”no” marginheight=”0″ marginwidth=”0″></iframe>
</noscript>

and…

<script type=”text/javascript”>
(function () {
var tagjs = document.createElement(“script”);
var s = document.getElementsByTagName(“script”)[0];
tagjs.async = true;
tagjs.src = “//s.btstatic.com/tag.js#site=ABC123″;
s.parentNode.insertBefore(tagjs, s);
}());
</script>
<noscript>
<iframe src=”//s.thebrighttag.com/iframe?c=ABC123″ width=”1″ height=”1″ frameborder=”0″
scrolling=”no” marginheight=”0″ marginwidth=”0″></iframe>
</noscript>

Now, you might think that these snippets look identical, but you would be wrong, and here is why. In the first snippet, on the 6th line (tagjs.src = “//s.btstatic.com/tag.js#site=ABC123​”;) there is a zero width space character after the site id (W32Q8am”).

You can’t see it, but it’s there, and because it’s there, it prevents the snippet from correctly loading the site configuration, or even working at all. You can check by placing the cursor after the “am” in the side ID, then using the arrow keys to move it to the right.

Here is what it looks like on the only tool I found that actually correctly identifies its presence, www.dirtymarkup.com.

Apparently, this happens when code is copied to and from email clients that construct messages using HTML. This includes Gmail, so if you are using Gmail, this includes you.

Feel free to leave a comment if you’ve experienced the same issue and this solution was helpful to you!

Sharing is caring!

Popular

COVID-19 Crisis Navigator​

In partnership with Dentsu, Cardinal Path helps you distill the overwhelming news and information into a bi-weekly report highlighting emerging trends and insights during the pandemic.

EXPLORE THE REPORT

Thank you for your submission.

Message Sent

Thank you.

Click here to download access the tool.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you.

Message Sent

Thank you.

Message Sent

Thank you

Message Sent

Thank you

Message Sent

Thank you.

Message Sent

Thank you

Message Sent

Thank you.

Message Sent

Success!
Your message was received.

Thank you.

Message Sent

Thank you for registering.

Thank you for submitting the form.

Thank you for your submission.

Thank you for your submission.

Message Sent

Thank you for registering.

Thank you for your submission.

Message Sent

Thank you for registering.

Thank you for registering.​

Paid media spend by Government websites increased a whopping 139% YoY in 2020.

2020 Online Behavior Live Dashboard

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

2020 Online Behavior Live Dashboard

Message Sent

Thank you for registering.

Thank you for submitting the form.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for your submission.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Thank you for registering.

Cardinal Path is continuing with its series of free training. Next we are conducting training on Google Data Studio. Check it out here.
Cardinal Path hosted a live session to connect with you and answer all your questions on Google Analytics.
Get all the expertise and none of the consultancy fees in this not-to-be-missed, rapid-fire virtual event.

Message Sent

Success! Thank you
for reaching out.