Suppose your user experience conducts your visitors between more than one domain (e.g., external-site.com to uscreen-site.com), then you should set up your Google Analytics tags to measure those visits as one.

Without this functionality, Google Analytics will treat each user as two separate visitors, which will inflate the number of users that appear in your reports. This effect occurs even if both domains use the same Tag Manager container and Analytics account.

You can configure your Google Analytics tag in Google Tag Manager to measure user interaction across multiple domains.

You will connect:

  • Your Uscreen site and Google Analytics via the built-in integration

  • Google Analytics and Google Tag Manager with a tag

  • Google Tag Manager and your external site with HTML code

Summary

  1. Prepare Google Analytics

  2. Enable Cross-Domain Tracking on Google Analytics

  3. Prepare Google Tag Manager

  4. Integrate Google Analytics with Uscreen

  5. Set Up Google Analytics 4 Tag in Google Tag Manager

  6. Insert Google Tag Manager in your External Site

Prepare Google Analytics

From your Google Analytics dashboard, click on the Admin button (gear), choose the property you want to set up, and click on Data Streams.

Select the Web platform for your Data Stream.

To set up the Data Stream, you need to enter the Website URL and the Stream Name. Then click on Create Stream.

Your Data Stream will be ready, and you can connect it with your Uscreen site and your Google Tag Manager account.

Enable Cross-Domain Tracking on Google Analytics

From the Web stream details page, click on More Tagging Settings.

Click on Configure your domains.

Configure your domains. For this example, we have used uscreen.io and uscreen.work. We recommend using the "Contains" match type. Then Save the changes.

Prepare Google Tag Manager

You need to create a Google Tag Manager account if you haven't already.

To create it, you need to choose an Account Name, the Country, the Container Name, and the Target Platform.

When you click on the Create button, you need to read and accept the Terms of Service Agreement.

Then it will create your Google Tag Manager account.

Integrate Google Analytics with Uscreen

After you've prepared your Google Analytics' Data Stream, you can copy the Measurement ID.

In Uscreen's Admin Area, navigate to the Settings tab, search the Google Analytics card and click on Connect.

Paste the Measurement ID inside the Tracking ID field and click on Connect.

When you connect to Google Analytics, you can track user behavior on your Uscreen site.

Set Up Google Analytics 4 Tag in Google Tag Manager

To create a new tag, select the Tags option and click on the New button.

At any time, you can type a name for your tag. Click on the Edit (pencil) icon to add a new tag.

Select Google Analytics GA4 Configuration as your tag type.

NOTE: It is possible to set up cross-domain tracking with Universal Analytics, the procedure is similar, but the steps change on Google Analytics' end. In this help guide, we are only covering Google Analytics 4.

Enter your Measurement ID on the dedicated field. You can choose to Send a page view event when this configuration loads. Then Save the new tag.

Tags require a Trigger to work. Google Tag Manager will prompt you to add one. Click on Add Trigger.

Confirm that the trigger has been added and Save the changes.

Finally, you can submit the updates in Google Tag Manager.

Give a Version Name to your updates and hit Publish to make them live.

Install Google Tag Manager in your External Site

To connect Google Tag Manager with your own site, you need to insert the two snippets, the first at the end of your <head> tag and the second at the beginning of the <body> tag.

If you are not familiar with HTML, we recommend that you hire a web developer to assist you with the installation of Google Tag Manager on your external site.

Did this answer your question?