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 Lynn,
I'll be sure to update our webteam so we can tackle this. Thank you!
-
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
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Will i able to rank in google of i rephrase amazon product description?
Please guide me if I rephrase the information given on Amazon and write a unique article. Will my post rank in Google?
Affiliate Marketing | | Hmzashk512141 -
URL with affiliate ID won't stop outranking our homepage. Time for nuclear option?
We have affiliate links applied to our index URL - https://playon.co - which are not picked up as a duplicate URLs by Google. We've applied a canonical URL, but our homepage is a 301 redirect to a page with a language parameter. So what happens is: https://playon.co/ goes to https://playon.co/en Affiliate links such as https://playon.co/#/?affiliate_token=1390448caccb7d go to https://playon.co/en#/?affiliate_token=1390448caccb7d This gets picked up as rel="canonical" href="https://playon.co/en" which I assumed marked it as a non-canonical page. Nonetheless, we keep seeing this affiliate "page" ranking - even above our own homepage for some terms. Worse, the affiliate URL also contains old cached information of the page. I don't even see how these SERP results should exist, because the affiliate link just ends up at the homepage (https://playon.co/en) My questions: What can we do to remove these affiliate URL versions of our homepage from being ranked? Google doesn't see anything after the hash in the indexed affiliate URLs. If we were to no-index our index URL (https://playon.co/) to completely remove the affiliates links, would our canonical version (https://playon.co/en) assume the top listing, or will we have effectively nuked our entire site? Appreciate any help.
Affiliate Marketing | | jmoreland0 -
How to rank in google local listings with multiple entities?
I actually have a portal with multiple listings from different users. Every listing is a physical shop with a different address, but more than the half of them doesn't have a website. I was thinking on creating a local business for them and then add a link to my website in the section where google asks for your web address. Does anyone already made something similar? does google allows links to inner pages and from multiple domains? Do you have any other and better idea on how to show in local results if you're like an affiliate and not the direct owner of the shop? With google local listings crowding the serps it should be interesting to know how to fit in there.
Affiliate Marketing | | mememax0 -
Does Google look at Domain Registrar owner information when counting links into a site?
Question: If the domain registrar owner info is the same on two websites, will Google/other search engines discredit any linking between the two sites when calculating page rank? We have two company sites. One is our main ecommerce domain which we have been linking into from information domains in the past. We recently cut ties with the company that hosted them for us and wish to host them ourselves to preserve the inbound traffic. We are worried, however, that the traffic will be discredited now that we own both domains. Thanks for looking!
Affiliate Marketing | | tennisexpress0 -
Will giving a blogger an affiliate url to my site reduce her links' seo value to me?
If a blogger were to write a post about one of my products and link to my product page, would giving her an affiliate url to link to rather than the normal link spoil the seo value of the link? So instead of mysite.com/product-one it would be mysite.com/affiliate/blogger/product-one Google would think... this is a transaction not a vote of confidence?
Affiliate Marketing | | Brocberry0 -
Affiliate code in urls? affiliate link landing pages?
Is it considered a good or bad practice to have the affiliate code present in your affiliate link url's ? (as opposed to disguising them with something like phpbay) Does the general public not scour the hover-over url's of links they click? Also, is there any way of keeping customers on site when they click affiliate links? (via frames or something more modern) Or is that frowned upon by advertisers?
Affiliate Marketing | | Mozzin0 -
How should I deal with the affiliate URLs we create through our affiliate program?
Our website offers an affiliate program and every affiliate gets a link http://www.ourwebsite.com/?affiliateID. Because we get many such links we use redirects to avoid duplicate content. Unfortunately we have 302 redirects set up and I want to make them 301. Many of our affiliates build backlinks using their http://www.ourwebsite.com/?affiliateID as the URL. If such links were redirected through a 301, would they pass any juice? Can our site get penalized by search engines for having backlinks to URLs that contain affiliate IDs, URLs that are 301 redirected to our homepage lets say?
Affiliate Marketing | | nick.leech0 -
Passing Google Analytics Variables Through Javascript?
Alright so here's my situation and hopefully someone can help... I want to be able to pass Google Analytics variables onto my affiliate links so I have some better conversion tracking data (not PPC traffic so no easy dynamic keyword insertion variables). I want to do something like this: User searches "keyword" in Google > User lands on mysite.com > search data is assigned to global variables that I can use in my affiliate link redirect script. afflink.com/?id=123&keyword=[GA keyword variable] Anybody know how I would go about doing that? I've seen other Non-GA tracking scripts do this but I can't figure it out here and it's driving me crazy! Thanks,
Affiliate Marketing | | drewhammond
Drew EDIT: Just figured it out after a lot of guess and testing... I'm not sure if the way I'm doing it is the fastest, most optimized way but it works. Solution: I can pull the GA cookie and break it down to retrieve the keyword using PHP. For anyone searching for this in the future, here's how I did it: $gacookie = $_COOKIE['__utmz'];
$keyword = substr(strstr($gacookie, 'utmctr='),7); ?> Then I can use the $keyword variable wherever I need it. I haven't actually tested this on a live site yet but everything is working fine as of right now. If anyone has a better solution please feel free to answer.0