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
-
Display Networks Less Expensive Than the Google Display Network/GDN
Hi Everyone, Are there any display networks that are notably less expensive than Google's Display Network? By this, I mean less than $0.01 U.S. CPC's for real people and not bots. On the Google network, I've tried the trick of opening a sister account with a cheaper currency, but in the end, I wasn't able to get much lower than $0.01 U.S. per click after converting back to U.S. dollars. Thanks, Andy
Affiliate Marketing | | AndyRSB0 -
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 track Affiliate Clicks to Google Analytics
Hi, We would like to track the affiliate link clicks. Is there any way to track it from Google Analytic? Rajiv
Affiliate Marketing | | gamesecure0 -
Google Hotel Finder
Hi, I have a client that wants to get started with Google Hotel Finder, can anyone offer any resources to help me get them started? I've reviewed the documents Google has published regarding hotel finder, but it doesn't really breakdown any information on how to get indexed, only that they're "pulling from a number of different data sources". Any and all insight you guys can offer would be great, thank you in advance!
Affiliate Marketing | | maxcarnage0 -
Affiliate URLs Indexed in Google
We have an active in-house affiliate program which has a create-a-link function where affiliate, as in most affiliate programs, can build links back to our content to produce sales. The problem that I am seeing is that some of the affiliate URL versions are being indexed in Google rather than the original page. For instance.. http://www.ourdomain.com/page_start.aspx?affnum=F025212&Start_Page=RaceCar&referrer=createlink is outranking... http://www.ourdomain.com/racecar This presents 2 issues for us. First, this presents duplicate content issues obviously. Second, we pay our affiliates a portion of the sales so, in order to maximize profitability, we'd like the indexed pages to be the original version. What's the best way to handle this? I want to make sure that affiliates continue to get credit for links from their sites but search engine links should go to the original versions.
Affiliate Marketing | | ATIseo0 -
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 -
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