: Is there a way to distinguish Analytics logs between Universal and pre-universal code? I'd like to filter the Analytics log by the version of the code who made them. The goal is to grant that
I'd like to filter the Analytics log by the version of the code who made them.
The goal is to grant that all the Analytics logs id done by the new Universal version.
More posts by @Lengel546
2 Comments
Sorted by latest first Latest Oldest Best
Google has documentation about the differences between classic and universal analytics code.
You can test which one is installed using JavaScript pretty easily.
if (typeof ga == 'function'){
// universal analytics
} else if (typeof _gaq != 'undefined'){
// classic analytics
}
You can use custom variables, or an annotation to indicate the change
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.