Classic analytics is used even though universal is enabled
-
it’s a brand new website, so it had universal analytics enabled from the start.
The “Enable Universal tracking” checkbox is enabled (by default)… But still, for some reason the old analytics code (ga.js) is being used:
(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);
})();You can see an example of it here: https://travelfreaks.net/best-flight-hacks/
https://www.ads-software.com/plugins/google-analytics-for-wordpress/
- The topic ‘Classic analytics is used even though universal is enabled’ is closed to new replies.