Subdomain & Cross-Domain Tracking
Seanalee Greenough avatar
Written by Seanalee Greenough
Updated over a week ago

In order to understand your customer journeys as unified paths across the different domains you own, you may need to implement either subdomain or cross-domain tracking.

Subdomain Tracking

Subdomain tracking is a common, fairly easy situation on zingfit. If you are on a Standard Integration with our Vanity URL feature, you have a subdomain (e.g., booking.STUDIONAME.com).

Today’s standard Google Analytics implementation automatically tracks users between domain and subdomain, keeping their journeys intact. All you need to do is paste the same Universal Analytics code to both your main site and the zingfit interface (Admin > Configuration > System Settings).

For zingfit clients using Google Tag Manager, be sure to use the Google Analytics Settings Variable. This built-in variable will automatically set page view cookies to track users across subdomains.

Cross-Domain Tracking

Cross-domain tracking is a more complicated setup for companies with 2 or more root domains (e.g., www.STUDIONAME-1.com and www.STUDIONAME-2.com). The idea is to avoid sending additional user and session counts to Google Analytics when a visitor moves between the various sites you own.

If you own more than one root domain, we recommend using our Google Tag Manager implementation rather than Google Analytics. To set up cross-domain tracking with Google Tag Manager, follow these instructions: https://support.google.com/tagmanager/answer/6164469.

Did this answer your question?