Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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
-
Where are redirect.viglink's coming from??
I am getting redirect . vigilink links my blog clicks and I don't use the Viglink affiliate program. I have no idea where these links are coming from or how to get rid of them? I was told my another company that I have affiliate links with that they are overriding their affiliate links.
Affiliate Marketing | | TheFearlessForeigner0 -
My affiliate links are being crawled by Google. Is this a bad thing? Also, should I add rel: nofollow to affiliate links?
Hi All, I have an issue on Google Search Console. It seems all my affiliate links are being crawled. Is this a bad thing? The reason I found out is that all but one link was flagged with a warming. It goes on to say that it was blocked by robots.txt. The strange thing is that I've not set any links to be blocked in robots.txt. Also, should affiliate links be nofollow? I'm asking because I was recently sent this article by Yoast on how to properly cloak my affiliate links without using a plugin. https://yoast.com/cloak-affiliate-links/ In the method, they apply the nofollow and noindex rules to the links. I'm just a little confused on how to go about affiliate links the SEO friendly way.
Affiliate Marketing | | nomad_blogger0 -
What is the danger of integrating different affiliate program widgets far under our core content?
We have pages with lots of unique content that are ranking very well in google.
Affiliate Marketing | | lcourse
I am now considering to add towards the end of the pages widgets from the booking.com affiliate program and also from the affiliate program of two other accommodtion sites. These affilliate widgets would be placed far beyond our core content in the bottom 15% of the page. Each widget will contain a large number of links to the different accomodation options that booking.com or others offer. In our context this information would be indeed very useful for our visitors. Shall I be concerned that our google rankings may suffer due to google perceiving our site as less quality (or google misinterpreting our intent to generate traffic to affiliate programs) ? If google rankings would be suffering, is this something we would normally see in a week (most of our pages are crawled daily by google) and then recover in a week when we would remove the widgets or would this generally be something that would affect the ranking over the course of a month or more? Shall I be concerned abou link dillution since my pages would now have a lot of links pointing to the affiliate sites, which could devalue my internal links? Any thoughts?0 -
What's the best way to go about making Duplicate Content Pages on my domain for affiliates?
Hello, I would like to make a bunch of duplicate pages of my site's Home Page, that way affiliates of mine can have a page of their own with links specialized to themselves littered throughout the page. What's the best practice going about this without jeopardizing domain authority from tons of duplicate content signals firing off?
Affiliate Marketing | | Benavest0 -
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 -
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 -
In what ways would an affiliate site be okay with Google?
I know Google has slammed affiliate sites hard. But affiliate marketing can be a real business and had an idea for one, but I would like to know if ALL affiliate sites are looked at as evil in Google's eyes, or if it's just those with thin and duplicate content in the product descriptions. I know they want brands to come up ahead of affiliates of that brand, and that makes sense. If I sold Acme Widgets products, Acme Widgets itself should come up ahead of my site. But what if the site sold widgets in general, with the term widgets not a branded keyword? If all product descriptions are unique and well-written content, on a site that is high quality, would it still be downgraded by Google just because there are affilate links in it? I guess overall the question could be boiled down to, are affiliate sites hit because they have horrible content or because they have links to affiliate programs in them?
Affiliate Marketing | | bizzer0 -
How much link juice passes through urls with affiliate id's?
hi we can get a valuable link with the desired anchor text from a news site. the destination url would be something like www.site.com/product. but in order to track conversions, our sales team would like to add an affiliate id to the url, so that it would look like this: www.site.com/product?sess_affiliate=ta how much link juice would a link to this affiliate url pass? would we be shooting our wad by linking to the ?sess-URL instead of the original URL?
Affiliate Marketing | | zeepartner0