London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Ok,
this time I was too hasty and did not do my homework first. There is already a thread about this in forum with possible solution:
http://world.episerver.com/Modules/Forum/Pages/thread.aspx?id=69131
Although it seems the place of script has changed as in my case it is set in head, not in body.
I've installed both CMO and Live Monitor to customer test environment and have the following issue:
One of the modules add the following tracking code to <head>:
<script type="text/javascript"> void(function(){var tUrl = "/TrackerHandler.ashx?pageId=8&languageId=fi";tUrl += (tUrl.indexOf("?") > 0 ? "&" : "?") + "r=" + Math.random(); tUrl += "&referrer=" + escape(document.referrer);document.write("<img src='" + tUrl + "' alt='' width='1' height='1'/>"); }()); </script>
So it is basically writing an image tag to head which is bad and there is no display:none which is breaking our layout. noscript tag is added to the end of the document like this:
<noscript> <img src="/TrackerHandler.ashx?pageId=8&languageId=fi" alt="" style="display:none" /> </noscript>
Which does have display:none. Is this a bug in CMO? Someone else having the same issue?