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

  Рет қаралды 40,134

Analytics Mania - Google Analytics & Tag Manager

Analytics Mania - Google Analytics & Tag Manager

Күн бұрын

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 KZbin 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 KZbin channel / @analyticsmania
#googletagmanager #googleanalytics4

Пікірлер: 77
@chrisscottdoes
@chrisscottdoes 2 жыл бұрын
The best video that I've seen on the subject.
@frestajler
@frestajler 11 ай бұрын
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
@yoannregis5342
@yoannregis5342 2 жыл бұрын
Thank you brother !!
@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?
@AliHussain-gq2om
@AliHussain-gq2om 3 жыл бұрын
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.
@marissading4622
@marissading4622 3 жыл бұрын
Under the same property means adding the second website as another data stream?
@bbss9295
@bbss9295 6 ай бұрын
Good Job Sir.
@spicyboi2328
@spicyboi2328 10 ай бұрын
Thank you! Can I do this cross domain tracking even if i have cloaked url between my 2 domains?
@josephschultz3622
@josephschultz3622 2 жыл бұрын
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?
@idaho.idahopotatoesaintthe224
@idaho.idahopotatoesaintthe224 3 жыл бұрын
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..
@tudordaniel7918
@tudordaniel7918 3 жыл бұрын
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
@nahinkhan5277
@nahinkhan5277 Жыл бұрын
Thanks bro❤
@ahmetpolat1602
@ahmetpolat1602 3 жыл бұрын
Thanks
@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?
@Leolimaa
@Leolimaa 2 жыл бұрын
How to configure the GA4 to show the subdomain in the referral source?
@yoyo-zh4zv
@yoyo-zh4zv 3 жыл бұрын
Hello, i see the gl parameter but in the debug view on ga4 i cant see the ingnore_referrer. What is the problem
@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
@Grow_with_husnain
@Grow_with_husnain 2 жыл бұрын
Respect ❤️
@VTL7
@VTL7 3 күн бұрын
If i need to track events in similar subdomains under 1one GTM container ? I can use same 1one GA4 property setting ?
@prateekgharat8371
@prateekgharat8371 3 жыл бұрын
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)
@yanivbenari7905
@yanivbenari7905 2 жыл бұрын
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/
@eandrew38
@eandrew38 2 жыл бұрын
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
@Gluxable
@Gluxable 2 жыл бұрын
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?
@mitimishra83
@mitimishra83 10 ай бұрын
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?
@emotionaleatingcoach
@emotionaleatingcoach 11 ай бұрын
👉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?
@martinkmet147
@martinkmet147 2 жыл бұрын
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
@iliazolas
@iliazolas 3 жыл бұрын
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
@bigk8294
@bigk8294 11 ай бұрын
Dos this also fix. cross domain conversion tracking issue?
@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
@tejastank9000
@tejastank9000 Ай бұрын
Thank you But if we run the Google Ads, So how we setup this cross domain tracking?
@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
@siscopiso
@siscopiso 2 жыл бұрын
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.
@JuanAlbertoSanchoMelchor
@JuanAlbertoSanchoMelchor 2 ай бұрын
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!
@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?
@escapetothemoon9069
@escapetothemoon9069 3 жыл бұрын
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
@martawaddingtondeoliveira6044
@martawaddingtondeoliveira6044 Жыл бұрын
Hey Julius. I followed all the steps but the cross-domain implementation is not working. I can't see any results...
@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
@OrtakHesap
@OrtakHesap 2 жыл бұрын
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
@mdmamunurrashidmamun1435
@mdmamunurrashidmamun1435 Жыл бұрын
Just Woow
@MehediHasan-my2jc
@MehediHasan-my2jc 3 жыл бұрын
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
@sonam220588 3 жыл бұрын
Do both the webpages have to be hosted on the same server?
@AnalyticsMania
@AnalyticsMania 3 жыл бұрын
No, domains matter. Servers don't.
@sivaprakas2830
@sivaprakas2830 3 жыл бұрын
Hi how to track SPA with GA4 ?
@AnalyticsMania
@AnalyticsMania 3 жыл бұрын
You can learn it here analyticsmania.com/courses/google-tag-manager-course-for-beginners
@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
@allenwixted1992
@allenwixted1992 3 жыл бұрын
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
Direct traffic in Google Analytics 4 (and how to fix it)
15:51
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 4,9 М.
Google Tag Manager and multiple domains. How many containers do you need?
10:30
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 15 М.
MEU IRMÃO FICOU FAMOSO
00:52
Matheus Kriwat
Рет қаралды 33 МЛН
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 34 МЛН
🌊Насколько Глубокий Океан ? #shorts
00:42
User ID tracking with Google Analytics 4 and Google Tag Manager
14:30
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 73 М.
How to Set Up Cross-domain Tracking in GA4 (And Comparison Notes to UA)
9:34
Root & Branch Digital Marketing
Рет қаралды 7 М.
Link Tracking with Google Analytics
15:02
MeasureSchool
Рет қаралды 153 М.
Google Analytics 4 Form Tracking (Plus 4 Mistakes To Avoid)
18:33
10 Google Analytics 4 best practices
12:41
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 5 М.
Subdomain Tracking in Google Analytics [HOW-TO]
7:53
ABoptimization
Рет қаралды 15 М.
Google Tag Manager Server-side tagging tutorial with Google Analytics 4
49:32
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 67 М.
How to track events in Google Analytics 4 (2024) || GA4 event tracking
30:02
Analytics Mania - Google Analytics & Tag Manager
Рет қаралды 25 М.
YOTAPHONE 2 - СПУСТЯ 10 ЛЕТ
15:13
ЗЕ МАККЕРС
Рет қаралды 97 М.
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 7 МЛН
Will the battery emit smoke if it rotates rapidly?
0:11
Meaningful Cartoons 183
Рет қаралды 32 МЛН
💅🏻Айфон vs Андроид🤮
0:20
Бутылочка
Рет қаралды 736 М.