How do I use Google Analytics to track FirstIDX as part of my website?

Tracking Across a Domain and Its Subdomains

A default setup of Google Analytics is designed to track content and visitor data for a single domain, such as www.example.com. This means that even if you manage both a domain and a sub-domain, you must make modifications to the tracking code in order to share visitor data across both domains. In addition, you must have a sub-domain setup with FirstIDX. Additional costs apply. Please contact support or submit a support request for pricing.

Suppose you have the following URLs that you want to track as a single entity:

    * www.example-petstore.com
    * dogs.example-petstore.com
    * cats.example-petstore.com

For this setup, you would use the following key customizations for the tracking code on all three domains.

//Tracking code customizations only var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-12345-1']); _gaq.push(['_setDomainName', '.examplesite.com']); _gaq.push(['_setAllowHash', false]); _gaq.push(['_trackPageview']);

//Tracking code customizations only
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-12345-1']);
_gaq.push(['_setDomainName', '.examplesite.com']);
_gaq.push(['_setAllowHash', false]);
_gaq.push(['_trackPageview']);
 

Feedback and Knowledge Base