Tracking users across domains

Unlock business potential through effective first dataset management solutions.
Post Reply
shaownhasan
Posts: 439
Joined: Sun Dec 22, 2024 10:36 am

Tracking users across domains

Post by shaownhasan »

</script>
Line 8 of the above code

gtag('config', ' UA-XXXXXXXX-XX ');

Change that part to the following:

gtag('config', ' UA-XXXXXXXX-XX ', {
'linker': {
'domains': [' aaaaa.com ', ' bbbbb.com ']
}
});
Please replace UA-XXXXXXXX-XX with your tracking board members email lists ID, and aaaaa.com and bbbbb.com with the cross-domain target domains.

▼ Related article:

2) Creating a filter
Google Analytics reports do not show domains. If the page path or page title is the same on a different domain, it will be displayed as one page. If it is left displayed as one page, sessions for two pages will be totaled, and the correct page transitions cannot be measured. To separate the display, you need to create a filter. The method for creating one is as follows.
Post Reply