| | #1 |
| HyperActive Warrior Join Date: 2018
Posts: 280
Thanks: 203
Thanked 11 Times in 10 Posts
|
Hello, I'm currently working on a website of a client of mine to which i'm supposed to add a tracking script for Google Analytics. I have done this several times with other websites, but not with a redirected domain name. It does not work! So i was hoping if you could tell me how can i fix this issue. This is the code that i have in my header.php file in Wordpress: <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxxx-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-xxxxxxx-1'); </script> Thank you for your help! |
| | |
| | #2 |
| New Warrior Member Join Date: 2018 Location: Sydney NSW, Australia
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
We can create tagged URLs for each redirected domain to our website using the tool: https://support.google.com/analytics.../1033867?hl=en |
| | |
| | #3 |
| Active Warrior Join Date: 2016 Location: USA
Posts: 41
Thanks: 3
Thanked 8 Times in 8 Posts
|
Please explain how do we use generated URL for Google Analytics tracking of forwarding domain? Do we insert it inside Google Analytics anywhere?
|
| | |
| | |
| Bookmarks |
| Tags |
| analytics, domain, google, redirected |
| |