Why do my Google Analytics campaign URLs not show up in reports?
-
Hi guys,
I'm puzzled because of my affiliate campaign URLs not showing up properly in my Google Analytics reports. I'll try to explain what I did and I hope some of you can provide advice on how to proceed from there on.
What do I want to do?
Actually, what I want to do is quite simple. I tagged a few URLs for Google Analytics to show up in my campaign reports. I used the URL builder to do so. Example: http://www.nhad.de?utm_source=affiliate&utm_medium=zanox&utm_content=banner&utm_campaign=105x139.Is that the entire URL?
Uhm, no. Because of the active de-duplication script on our website, I need to put some characters in front of it: **www.nhad.de/affiliate.aspx?NETWORK=ZANOX&NEXTURL=**http://www.nhad.de?utm_source=affiliate&utm_medium=zanox&utm_content=banner&utm_campaign=105x139.Yikes. Yes, I know.
What do I see?
Basically, when I paste the above url and run it in (for example) Chrome, only this shows up in my browser: www.nhad.de/?utm_source=affiliate. In my Analytics reports, the campaign URL is not recognised, just the source in my traffic report. The medium is indicated with 'not set'.What am I doing wrong, and what can I do to make my campaigns appear in Analytics?
Best,
Bas
-
Hi Bas,
You are 302 redirecting your initial url to your final url (www.nhad.de/?utm_source=affiliate) and that is why your are not getting your data in analytics. The redirect is kicking in before anything gets recorded and your final url only has the utm_source set so that is all you are seeing.
It seems to be an issue with your redirection script since in the url below you have a 'NEXTURL' variable that looks correct:
**www.nhad.de/affiliate.aspx?NETWORK=ZANOX&NEXTURL=**http://www.nhad.de?utm_source=affiliate&utm_medium=zanox&utm_content=banner&utm_campaign=105x139But the final url you get to is
www.nhad.de/?utm_source=affiliate (missing the rest of the utm variables)Maybe the script is not parsing the & sign properly?
If you get the redirects to forward to the complete nexturl variable then your data will be recorded properly in analytics:
www.nhad.de?utm_source=affiliate&utm_medium=zanox&utm_content=banner&utm_campaign=105x139 -
Hi Lynn,
I'll be sure to update our webteam so we can tackle this. Thank you!
