• Hello,

    do you have any ideas why the custom dimensions are not tracked? They are not even added to the code. We use Ezoic for some ad testing if that could make the difference. However it’s strange. CAOS plugin was able to add the analytics.js file to our local ftp and was able to track the dimensions but it was incompatible with Ezoic CDN and cache. So we are using your plugin but the custom dimensions are simply not tracked.

    We have it set up correctly, as I said, we were able to track it earlier. We used dimension 3 and 6, even to track categories etc. but nothing is pushed to google or to the source code…

    <script data-ezscrex=”false” data-cfasync=”false” type=”text/javascript”>window.google_analytics_uacct = “UA-xxx-31″;</script>
    <script data-ezscrex=”false” data-cfasync=”false” type=”text/javascript”>
    var _gaq = _gaq || [];
    _gaq.push([‘e._setAccount’, ‘UA-xxx-31’]); —> code added by Ezoic
    _gaq.push([‘f._setAccount’, ‘UA-xxx-1’]); —> code added by Ezoic
    _gaq.push([‘e._setDomainName’, ‘keengamer.com’]);
    _gaq.push([‘f._setDomainName’, ‘keengamer.com’]);
    _gaq.push([‘e._setCustomVar’,1,’template’,’old_site_gc’,3]);
    _gaq.push([‘e._setCustomVar’,2,’t’,’126′,3]);
    _gaq.push([‘e._setCustomVar’,3,’rid’,’0′,2]);
    _gaq.push([‘e._setCustomVar’,4,’bra’,’mod31′,3]);
    _gaq.push([‘e._setAllowAnchor’,true]);
    _gaq.push([‘e._setSiteSpeedSampleRate’, 10]);
    _gaq.push([‘f._setCustomVar’,1,’template’,’old_site_gc’,3]);
    _gaq.push([‘f._setCustomVar’,2,’domain’,’keengamer.com’,3]);
    _gaq.push([‘f._setSiteSpeedSampleRate’, 20]);
    _gaq.push([‘e._trackPageview’]);
    _gaq.push([‘f._trackPageview’]);

    _gaq.push([‘_setAccount’, ‘UA-xxx-1’]); —> this is our own code which you use
    _gaq.push([‘_setDomainName’, ‘keengamer.com’]);
    _gaq.push([‘_trackPageview’]);

    (function() {
    var ga = document.createElement(‘script’); ga.type = ‘text/javascript’; ga.async = true;
    ga.src = (‘https:’ == document.location.protocol ? ‘https://ssl&#8217; : ‘https://www&#8217;) + ‘.google-analytics.com/ga.js’;
    var s = document.getElementsByTagName(‘script’)[0]; s.parentNode.insertBefore(ga, s);
    })();
    </script>

    Do you have any ideas why is this happening?

    Thank you.

    Regards,
    Karel

    • This topic was modified 5 years, 3 months ago by keengamer.
  • The topic ‘Custom dimensions not tracked’ is closed to new replies.