• Resolved Chekki

    (@chekki)


    Hi,

    I like your plugin, thanks for that ??

    Here is my problem: I have used universial analytics before using your plugin. After installing your plugin I enabled “Enable Universal Analytics”. But after that nothing happened. Google doesnt track. When I uncheck the box, google starts tracking.

    The script which is now implemented (universal is not enabled) on homepage is the following:

    <script type='text/javascript'>
    			var gaProperty = 'UA-683....1-1';
    			var disableStr = 'ga-disable-' + gaProperty;
    			if ( document.cookie.indexOf( disableStr + '=true' ) > -1 ) {
    				window[disableStr] = true;
    			}
    			function gaOptout() {
    				document.cookie = disableStr + '=true; expires=Thu, 31 Dec 2099 23:59:59 UTC; path=/';
    				window[disableStr] = true;
    			}
    		</script>
    
    <script type='text/javascript'>(function() {
    		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'https://www') + '.google-analytics.com/ga.js';
    		var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    		})();</script>

    Do you know if i still benefit from the universal features? And if not, do you know, what i can do to make universal tracking working? Link to Page is meinewanddeko. de

    Thanks in advance.

    Best regards,

    Chekki

    https://www.ads-software.com/plugins/woocommerce-google-analytics-integration/

  • The topic ‘Universal Analytics’ is closed to new replies.