[Plugin: Google Analytics for WordPress] customcode before trackPageview?
-
I need to track to multiple accounts. The examples I have found say to do that like this:
_gaq.push([‘_setAccount’,’UA-XXXXXX-1′]);
_gaq.push([‘_trackPageview’]);
_gaq.push([‘b._setAccount’,’UA-XXXXXX-2′]);
_gaq.push([‘b._trackPageview’]);I can input the second bit of tracking code in the ‘customcode’ field but it then outputs it in this order:
_gaq.push([‘_setAccount’,’UA-XXXXXX-1′]);
_gaq.push([‘b._setAccount’,’UA-XXXXXX-2′]);
_gaq.push([‘b._trackPageview’]);
_gaq.push([‘_trackPageview’]);Does anyone know wether this works or wether it would cause any issues?
http://ww.wp.xz.cn/extend/plugins/google-analytics-for-wordpress/
The topic ‘[Plugin: Google Analytics for WordPress] customcode before trackPageview?’ is closed to new replies.