Reporting & Analytics

maxy345
Participant

Trouble with domains and data streams and Google Analytics 4

SOLVE

Hey there 👋 I accidentally enabled cross-domain tracking between my marketing website, and our app (the actual product) in Google Analytics 4. Now, when I try to look at our website performance in GA4 is completely flooded with data from existing users — I need to fix this but I'm not sure what the best way of doing this is.

I connected the two domains by doing the following:

  1. Clicked into the website property on GA4
  2. Navigated to data streams
  3. Clicked the website data stream, then 'Configure tag settings'
  4. Connected the App data to the website under the same data stream

After some more reading, I realized it may have been better to create two data streams. One for the website data and one for the app, rather than connecting the two together.

 

How can I disconnect the two domains and stop the app data from pushing through to the website reporting in GA4? If I try remove the app from the cross-domain settings it says I need to create a new tag or apply it to an existing... Not really sure what to do here - Hope someone can help! 

Thanks!

1 Accepted solution
GRajput
Solution
Recognized Expert | Gold Partner
Recognized Expert | Gold Partner

Trouble with domains and data streams and Google Analytics 4

SOLVE

Hi @maxy345 

To disconnect the two domains and stop the app data from pushing through to the website reporting in Google Analytics 4, you can follow these steps:

Sign in to your Google Analytics account and navigate to the GA4 property that includes the connected domains.

Go to the Admin section by clicking on the gear icon at the lower-left corner of the page.

In the Property column, click on "Data Streams."

Locate the data stream that represents the app data. It should be listed under the website property.

Click on the three-dot menu icon next to the app data stream and select "Manage Tag."

In the tag configuration, remove the connection between the app data stream and the website property. This can usually be done by unchecking the option to link the two domains or selecting the "Remove" or "Delete" option for the tag.

Save the changes to the tag configuration.

Confirm that the app data stream is no longer connected to the website property by checking the data streams list.

To ensure clean reporting going forward, it's recommended to create separate data streams for the website and app data. This will help keep the data separate and provide more accurate reporting.

To create separate data streams, click on "Data Streams" in the Admin section and select "Add Stream." Follow the prompts to set up a new data stream for each domain (website and app).

Once the separate data streams are set up, you can configure the tracking tags accordingly, ensuring that the website tracking tag is applied only to the website and the app tracking tag is applied only to the app.

 

Hope this will helps you out. Please mark it as Solution Accepted to help other Community member. Thanks!




Gaurav Rajput
Director, MarTech( Growth Natives)

Book a meeting


View solution in original post

1 Reply 1
GRajput
Solution
Recognized Expert | Gold Partner
Recognized Expert | Gold Partner

Trouble with domains and data streams and Google Analytics 4

SOLVE

Hi @maxy345 

To disconnect the two domains and stop the app data from pushing through to the website reporting in Google Analytics 4, you can follow these steps:

Sign in to your Google Analytics account and navigate to the GA4 property that includes the connected domains.

Go to the Admin section by clicking on the gear icon at the lower-left corner of the page.

In the Property column, click on "Data Streams."

Locate the data stream that represents the app data. It should be listed under the website property.

Click on the three-dot menu icon next to the app data stream and select "Manage Tag."

In the tag configuration, remove the connection between the app data stream and the website property. This can usually be done by unchecking the option to link the two domains or selecting the "Remove" or "Delete" option for the tag.

Save the changes to the tag configuration.

Confirm that the app data stream is no longer connected to the website property by checking the data streams list.

To ensure clean reporting going forward, it's recommended to create separate data streams for the website and app data. This will help keep the data separate and provide more accurate reporting.

To create separate data streams, click on "Data Streams" in the Admin section and select "Add Stream." Follow the prompts to set up a new data stream for each domain (website and app).

Once the separate data streams are set up, you can configure the tracking tags accordingly, ensuring that the website tracking tag is applied only to the website and the app tracking tag is applied only to the app.

 

Hope this will helps you out. Please mark it as Solution Accepted to help other Community member. Thanks!




Gaurav Rajput
Director, MarTech( Growth Natives)

Book a meeting