I have a code that I input into Tracking & Analytics in the header. My code works fine on desktop, laptop etc. The issue I am having is if "mobile friendly" is enabled in wix settings, wix adds extra backslash to the code causing it to break. I have tested this by enabling and disabling "mobile friendly" and viewed the source code. On the mobile friendly version (so if a visitor visits my website on their phone) wix adds extra backslash to the code. So for example if I input the following code "hello world" it works fine on desktop mode. If you view the website on mobile friendly version for example on iPhone the code changes to "hello\world\". This was verified by viewing the source code. I spoke to two agents yesterday and spent over 2 hours on the phone and they were able to replicate the issue and don't understand it.
What should I do? They said they would investigate but I am only getting the canned responses by email "we don't support 3rd party code" they don't want to understand the actual issue. Just want to close the ticket. The code works on desktop, laptop, iPad , only on mobile it breaks because wix adds extra backslash to the code that I never input in the first place.
Heres the code:
<script async src="//204576.tctm.co/t.js"></script>
the code works and appears as it's supposed to on desktop and laptop. The issue I'm having is on MOBILE. If “mobile friendly” is enabled in wix, and you view the site on mobile device the code breaks because of unnecessary characters that wix is adding on its own, not by me. If you look at the source the code turns into:
<script async src=\"\/\/204576.tctm.co\/t.js\"><\/script