Register Advertise with usHelp Desk Today's Posts Search

Thread Tools Search this Thread
Unread 19th Nov 2018, 11:10 AM   #1
HyperActive Warrior
 
Join Date: 2018
Posts: 280
Thanks: 203
Thanked 11 Times in 10 Posts
Default
Google Analytics for redirected domain
Share on: 
fb share twitter share gplus share more share

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!
kurosaki4d is offline   Reply With Quote
Unread 19th Nov 2018, 11:08 PM   #2
New Warrior Member
 
Join Date: 2018
Location: Sydney NSW, Australia
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default
RE: Google Analytics for redirected domain
Share on: 
fb share twitter share gplus share more share

We can create tagged URLs for each redirected domain to our website using the tool:
https://support.google.com/analytics.../1033867?hl=en
harrycont is offline   Reply With Quote
Unread 20th Nov 2018, 03:52 AM   #3
Active Warrior
 
techugo's Avatar
 
Join Date: 2016
Location: USA
Posts: 41
Thanks: 3
Thanked 8 Times in 8 Posts
Default
Re: Google Analytics for redirected domain
Share on: 
fb share twitter share gplus share more share

Please explain how do we use generated URL for Google Analytics tracking of forwarding domain? Do we insert it inside Google Analytics anywhere?

techugo is offline   Reply With Quote


Bookmarks

Tags
analytics, domain, google, redirected


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 11:03 PM.