-
Effectively tracking cross-domain user journeys in GA4 based on domain A referrals
Hey, I need a little help with something – I’m trying to figure out how to track traffic between two different sites in GA4 – one that’s ours (let’s call it domainA) and the other that’s run by a partner of ours (we’ll call it domainB). What I need to do is track visitors going from domainA to domainB, including what they end up doing on domainB. But the catch is – I only want to follow the users who initially kicked off their browsing on domainA. If they started on domainB, I’d rather not have them in my data. So, unless the user’s journey begins at domainA and takes them to domainB, I’d like their session to remain untracked.
So I’ve got data streams cooking for both domainA and domainB, and GA4 is on the ball about collecting data between these two. However, if someone starts on domainB without a prior visit to domainA, GA4 is still keeping tabs on them – not really what I’m after.
In case you’re wondering, I’ve set the data stream for domainB to take domainA into account in the configure domain settings within Data Streams.
Fancy any idea how I might go about this? Am I on the right track using data streams? To keep it simple, I’m hoping for a minimal setup for domainB. You know, something like a bite-sized snippet in
<head>
tag to get the tracking running.
Log in to reply.