Cross-domain tracking in Google Analytics 4 || Track users across different domains

Ғылым және технология

A step-by-step tutorial on how to configure cross-domain tracking in Google Analytics 4.
If your website operates on multiple websites with different domains, you have to configure cross-domain tracking.
However, if you are operating on different subdomains of the same domain (e.g. www.demo.com and blog.demo.com), then you don’t need cross-domain tracking. Google Analytics 4 will handle that automatically.
=== LINKS ===
Subscribe to our KZread channel / @analyticsmania
✭ Google Analytics 4 Cross-domain tracking
www.analyticsmania.com/post/c...
✭ Chrome Extension: Google Analytics Debugger
chrome.google.com/webstore/de...
📕 Free e-book: How to get started with Google Analytics 4
www.analyticsmania.com/p/gett...
⭐⭐ Google Analytics 4 course ⭐⭐
www.analyticsmania.com/course...
=== CONNECT WITH JULIUS & ANALYTICS MANIA ===
✭ Facebook / analyticsmania
✭ Twitter / fedorovicius
✭ Linkedin / fedorovicius
Subscribe to our KZread channel / @analyticsmania
#googletagmanager #googleanalytics4

Пікірлер: 77

  • @chrisscottdoes
    @chrisscottdoes2 жыл бұрын

    The best video that I've seen on the subject.

  • @frestajler
    @frestajler11 ай бұрын

    Hi Julius, great video. Do you maybe have a example of cross domain tracking set when an redirect happens? For example an URL gets built in PHP. Thank you

  • @olawaleakinola137
    @olawaleakinola137 Жыл бұрын

    Hi Julius. Thanks for the video. Quick one -- Before watching your video, i hadn't setup cross domain tracking, hence on GA4 events were recorded as Referral rather than the main source of conversion. However, i have fix this. Will the historically data recorded as "referral" be changed to the correct source now that i have fixed the issue?

  • @yoannregis5342
    @yoannregis53422 жыл бұрын

    Thank you brother !!

  • @AliHussain-gq2om
    @AliHussain-gq2om3 жыл бұрын

    Thanks Julius! we have 2 domain and same product. one domain is used for paid search only. could this method help us have one ga that shows cross channel journeys in mcf repprts? i mean when user enter the paid domain and later come back to main domain via organic search we can see its unified journey in our reports.

  • @josephschultz3622
    @josephschultz36222 жыл бұрын

    Hi Julius, I have two seperate websites: One is built on Squarespace and the Other is built on CHIME (real estate IDX site)... I do use a vanity URL for the CHIME site, that is a sub domain URL from my primary site... but I believe since it's just a vanity URL that my CHIME site and Squarespace site are seperate.... would you consider them seperate domains where I should set-up cross domain tracking?

  • @Grow_with_husnain
    @Grow_with_husnain2 жыл бұрын

    Respect ❤️

  • @bbss9295
    @bbss92956 ай бұрын

    Good Job Sir.

  • @spicyboi2328
    @spicyboi232810 ай бұрын

    Thank you! Can I do this cross domain tracking even if i have cloaked url between my 2 domains?

  • @marissading4622
    @marissading46223 жыл бұрын

    Under the same property means adding the second website as another data stream?

  • @idaho.idahopotatoesaintthe224
    @idaho.idahopotatoesaintthe2243 жыл бұрын

    Thank you for the video! 2 Questions: 1) do the two domains only share the 1 tracking code/measurement id? 2) can you ross domain track from GAUniversal and GA4?

  • @marissading4622

    @marissading4622

    3 жыл бұрын

    Have you figured out the solution for Q2? Having the same situation here but can't find any direct answers..

  • @andrejvolcansek3232
    @andrejvolcansek3232 Жыл бұрын

    Hi Julius. I assume, it is best to create a fresh property dedicated for cross-domain setup before implementing. What do we do with existing GA4 properties for site A and B.and will those cookies conflict the crossdomain setup=?

  • @alexlofft5864

    @alexlofft5864

    Жыл бұрын

    did you ever find solution to this?

  • @tudordaniel7918
    @tudordaniel79183 жыл бұрын

    Great job, as usual. But whay if we want to report those domains separately in GA4, like we currently do with Views in UA?

  • @Brozillar

    @Brozillar

    3 жыл бұрын

    Yeah I wanna separate stats of my homepage and blog

  • @yoyo-zh4zv
    @yoyo-zh4zv3 жыл бұрын

    Hello, i see the gl parameter but in the debug view on ga4 i cant see the ingnore_referrer. What is the problem

  • @Leolimaa
    @Leolimaa2 жыл бұрын

    How to configure the GA4 to show the subdomain in the referral source?

  • @prateekgharat8371
    @prateekgharat83713 жыл бұрын

    Hey Julius, Big Fan of yours. Thanks for your great efforts. Can you please share a video and block on Enhance Ecommerce tracking in GA4. Thanks in advance.

  • @AnalyticsMania

    @AnalyticsMania

    3 жыл бұрын

    No plans to do this. I will explain that in very great detail here www.analyticsmania.com/courses/intermediate-google-tag-manager-course/ (launches in 2 weeks)

  • @Gluxable
    @Gluxable2 жыл бұрын

    I have been creating separate account for each domain until now. I do not understand how to use 2 domains with the same tracking code. Will that not mix all the data together? Audience overview etc? I want to cross-domain track sessions but still be able to check each domain data separately :S. How is that possible?

  • @emotionaleatingcoach
    @emotionaleatingcoach11 ай бұрын

    👉What about a SUB-Domain with a different C-Name? For example, I have my main site and then a subdomain attached to Clickfunnels. Would that still track if I include the main GA4 code on the pages?

  • @yanivbenari7905
    @yanivbenari79052 жыл бұрын

    Hi Julius - so in case I use multiple subdomains (Single page landing pages) and I want to track and see the performance of each subdomain clearly on my Main Site Analytics. what exactly do I need to do in order to set it up correctly? would be great to see this topic covered

  • @AnalyticsMania

    @AnalyticsMania

    2 жыл бұрын

    Everything is clearly explained here www.analyticsmania.com/courses/google-analytics-4-course/

  • @mitimishra83
    @mitimishra8310 ай бұрын

    Hi Julius, I have got 5 different domains where user can go from any domain to other. Currently I have got GA4 property separately setup for each with ecommerce tracking on each that implies each has got different measurement ids. I want to setup cross domain on each for remain 4 sites. How I can do that?

  • @VTL7
    @VTL79 күн бұрын

    If i need to track events in similar subdomains under 1one GTM container ? I can use same 1one GA4 property setting ?

  • @nahinkhan5277
    @nahinkhan5277 Жыл бұрын

    Thanks bro❤

  • @martinkmet147
    @martinkmet1472 жыл бұрын

    Hey! Thank you for your tutorial. I have a question. I handle this problem a while and here is the issue. You said the sites have to be in the same ga property. Is there a way you can setup a cross domain tracking when both websites are not in the same ga property? I need to set it up and the second page isnt mine so i cant make changes there

  • @AnalyticsMania

    @AnalyticsMania

    2 жыл бұрын

    you cannot achieve what you want

  • @rob82aus
    @rob82aus Жыл бұрын

    Hey mate, I have 30 different computer repair websites - how could i make it so that i can compare all of this, as opposed to going into them one at a time - whether its in analytics or search console

  • @eandrew38
    @eandrew382 жыл бұрын

    Thank you so much for the video. it helps a lot. May i ask what is "all websites must use the same ga property" means? thanks again

  • @AnalyticsMania

    @AnalyticsMania

    2 жыл бұрын

    it means that you must use the same GA4 property (a place where you store your data)

  • @eandrew38

    @eandrew38

    2 жыл бұрын

    @@AnalyticsMania Thank you so much

  • @ahmetpolat1602
    @ahmetpolat16023 жыл бұрын

    Thanks

  • @christianrietbroek910
    @christianrietbroek910 Жыл бұрын

    Hi Julius, Great video! Quick questions: 1. Do I need to setup different datastreams for each domain? 2. Do I need to setup different GTM containers for each domain? 3. My website works as follows: on website A you look for tickets -> you go to website B to pay for them -> depending on your payment provider you go to website C -> you payed and you are back to website A. How does this needs to look configure wise? Do I need 3 streams and 3 containers? Or can all be done with 1?

  • @AnalyticsMania

    @AnalyticsMania

    Жыл бұрын

    1. No 2. It depends, difficult to answer straight away 3. 1 stream 3 containers. Or 1 stream 1 container

  • @bigk8294
    @bigk829411 ай бұрын

    Dos this also fix. cross domain conversion tracking issue?

  • @iliazolas
    @iliazolas3 жыл бұрын

    Awesome video, quick question: both sites must belong to the same property. Do you mean that both sites need to belong to -> Account A, Properties: Site 1, Site 2 ?

  • @AnalyticsMania

    @AnalyticsMania

    3 жыл бұрын

    No, Account A, one property

  • @iliazolas

    @iliazolas

    3 жыл бұрын

    @@AnalyticsMania so site 1 should belong to its on account i.e. Account A, property: Site 1 & Account B, property: Site 2

  • @siscopiso
    @siscopiso2 жыл бұрын

    In GA4 can you do cross domain tracking between data streams from different properties or do they (data streams) have to be within the same property?

  • @AnalyticsMania

    @AnalyticsMania

    2 жыл бұрын

    Google's documentation specifically requires using the same data stream.

  • @siscopiso

    @siscopiso

    2 жыл бұрын

    @@AnalyticsMania Thank you! yeah this is definitely gonna limit things, specifically given that there are no roll-ups available either.

  • @staceylegrange5658
    @staceylegrange5658 Жыл бұрын

    Thanks, great video. I want to track an integrated 3rd party payment gateway checkout "thank you" page. Can I use cross-domain tracking to do so?

  • @Khanhld

    @Khanhld

    Жыл бұрын

    the same question with you

  • @JuanAlbertoSanchoMelchor
    @JuanAlbertoSanchoMelchor2 ай бұрын

    Hi, ​ I need to disable Cross-domaing tracking instead. No one cross domain is configured in GA4 but url's are always shown with gl_ parameter. Any suggestion? Thanks!

  • @NaveenKumarsoma
    @NaveenKumarsoma Жыл бұрын

    Hi @Julius, Is it possible If we do cross-domain which are having different GA4 measurement ID? for example Website A and Website B have different GTM containers and different GA4 measurement IDs. But we want to track users who are going from website A to website B. If we keep mentioning website A in the website B GA4 cross-domain settings. Is it possible to track users in website B?

  • @AnalyticsMania

    @AnalyticsMania

    Жыл бұрын

    The documentation requires to use the same measurement id

  • @escapetothemoon9069
    @escapetothemoon90693 жыл бұрын

    Hi. Is that means we can set up cross-domain using ga4 setting. Dont need to create a cross-domain tag on gtm like when using ga3, right?

  • @AnalyticsMania

    @AnalyticsMania

    3 жыл бұрын

    Right

  • @tejastank9000
    @tejastank9000Ай бұрын

    Thank you But if we run the Google Ads, So how we setup this cross domain tracking?

  • @anandabagusgekah9878
    @anandabagusgekah9878 Жыл бұрын

    Hello Julius, thanks for the video. Quick question: does a webapp count as cross-domain?

  • @AnalyticsMania

    @AnalyticsMania

    Жыл бұрын

    cross-domain tracking applies only on websites

  • @anandabagusgekah9878

    @anandabagusgekah9878

    Жыл бұрын

    @@AnalyticsMania the is it possible to use the same property for a web app?

  • @OrtakHesap
    @OrtakHesap2 жыл бұрын

    Should i set cross-domain tracking from GTM (linker parameters) and from GA4 interface together, or just one setup is enough? Conversion linker is used by google ADS remarketing tag, if i don't set this link, would my google ads work fine? What if i make this setting with the GA4 cross domain tracking together?

  • @AnalyticsMania

    @AnalyticsMania

    2 жыл бұрын

    Keep conversion linker in GTM (for the remarketing tag). It will not break GA4 configuration.

  • @OrtakHesap

    @OrtakHesap

    2 жыл бұрын

    @@AnalyticsMania by conversion linker we mean cross domain settings of it, isn't it? "link across domains". You suggest doing this on GTM and then GA4 linking as well, both are needed i understood

  • @martawaddingtondeoliveira6044
    @martawaddingtondeoliveira6044 Жыл бұрын

    Hey Julius. I followed all the steps but the cross-domain implementation is not working. I can't see any results...

  • @mdmamunurrashidmamun1435
    @mdmamunurrashidmamun1435 Жыл бұрын

    Just Woow

  • @MehediHasan-my2jc
    @MehediHasan-my2jc3 жыл бұрын

    Sir, One of my GTM container tags are only fired in preview mode but not fired in browser directly. I published tags but they only fired in GTM preview mode. How can I fix this problem?

  • @savo4ek228

    @savo4ek228

    3 жыл бұрын

    Had a similar problem with a client - turns out they were publishing a different version. So if everything work is preview, be sure that you have actually published the changes and the published version is correct.

  • @sonam220588
    @sonam2205883 жыл бұрын

    Do both the webpages have to be hosted on the same server?

  • @AnalyticsMania

    @AnalyticsMania

    3 жыл бұрын

    No, domains matter. Servers don't.

  • @K5310
    @K5310 Жыл бұрын

    I do not have the "More tagging setting", was it moved somewhere else?

  • @AnalyticsMania

    @AnalyticsMania

    Жыл бұрын

    Yes, check the blog post in the description of the video

  • @K5310

    @K5310

    Жыл бұрын

    thanks. I found it eventually :) @@AnalyticsMania

  • @sivaprakas2830
    @sivaprakas28303 жыл бұрын

    Hi how to track SPA with GA4 ?

  • @AnalyticsMania

    @AnalyticsMania

    3 жыл бұрын

    You can learn it here analyticsmania.com/courses/google-tag-manager-course-for-beginners

  • @allenwixted1992
    @allenwixted19923 жыл бұрын

    Does this work with safari when the user has block cross domain tracking enabled?

  • @AnalyticsMania

    @AnalyticsMania

    3 жыл бұрын

    You probably meant cross-site tracking, not cross-domain. These are two different things. Cross domain tracking works on safari even with that setting enabled. However, keep in mind that cookies expire sooner on safari and cross domain tracking has no impact on that.

  • @allenwixted1992

    @allenwixted1992

    3 жыл бұрын

    @@AnalyticsMania thanks for the speedy reply! I did indeed. Curious, is there a way to enable this via an api? We’ve clients who send ECommerce users to our site, we send them back, and we want a shared view of their interactions after using our service. Would be ideal if we can get to a “pair with GA” button on our dashboard that enables this via a permissions screen?

  • @AnalyticsMania

    @AnalyticsMania

    3 жыл бұрын

    I am not sure I follow your logic here. Is there a way to enable via API what?

  • @allenwixted1992

    @allenwixted1992

    3 жыл бұрын

    @@AnalyticsMania apologies, essentially automate this setup process on our client’s side

  • @AnalyticsMania

    @AnalyticsMania

    3 жыл бұрын

    I don't this is possible at the moment (as far I know)

  • @swagger1262
    @swagger1262 Жыл бұрын

    I manage 7 websites Setting up cross domain into 1 GA property, GTM, etc 48 hours of work Suddenly, cannot linked multiple Google Search Console into 1 GA property Redo all the works

Келесі