Mobile app version of vmapp.org
Login or Join
Nimeshi995

: Is Google analytics tracking all of my traffic? on all accessible variations/properties I am wondering is Google analytics track all of my properties? https://www.example.com (SSL + www) https://example.com

@Nimeshi995

Posted in: #GoogleAnalytics #Http #Https #NoWww #Subdomain

I am wondering is Google analytics track all of my properties?

www.example.com (SSL + www) example.com (SSL - www) www.example.com (Non-SSL + WWW) example.com (Non-SSL - www)


Example of the GA tracking code I am using:

<script type="text/javascript" >
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-1234567891-0', { 'cookieDomain': 'example.com' } );
// Plugins
ga('require', 'linkid', 'linkid.js');ga('require', 'outboundLinkTracker');
ga('send', 'pageview');
</script>

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Nimeshi995

1 Comments

Sorted by latest first Latest Oldest Best

 

@Barnes591

If the same tracking code is embedded on all these URLs - yes.
It should set cookies on all subdomains.
Regardless if SSL or Non-SSL.

But i would suggest not to use a specific cookie domain if not reeeeally necessary. And it looks like "not necessary" in your case :-)

<script type="text/javascript" >
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
ga('create', 'UA-1234567891-0', 'auto');
// Plugins
ga('require', 'linkid', 'linkid.js');ga('require', 'outboundLinkTracker');
ga('send', 'pageview');
</script>

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme