The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Affiliate Marketing
    4. Why do my Google Analytics campaign URLs not show up in reports?

    Why do my Google Analytics campaign URLs not show up in reports?

    Affiliate Marketing
    3 2 5.3k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • NHA_DistanceLearning
      NHA_DistanceLearning last edited by

      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

      1 Reply Last reply Reply Quote 0
      • LynnPatchett
        LynnPatchett last edited by

        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=105x139

        But 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

        1 Reply Last reply Reply Quote 2
        • NHA_DistanceLearning
          NHA_DistanceLearning last edited by

          Hi Lynn,

          I'll be sure to update our webteam so we can tackle this. Thank you! 🙂

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • How to track Affiliate Clicks to Google Analytics
            Everett
            Everett
            0
            12
            25.1k

          • Google Hotel Finder
            Vacatia_SEO
            Vacatia_SEO
            0
            3
            864

          • Affiliate URLs Indexed in Google
            ATIseo
            ATIseo
            0
            6
            1.4k

          • Google merchant
            SEODinosaur
            SEODinosaur
            0
            3
            501

          • How should I deal with the affiliate URLs we create through our affiliate program?
            Dr-Pete
            Dr-Pete
            0
            4
            553

          • How Google Shopping Relevance Determined?
            BlinkWeb
            BlinkWeb
            0
            2
            1.6k

          • How long will it take for Google to forgive us?
            footsteps
            footsteps
            0
            3
            1.4k

          • Passing Google Analytics Variables Through Javascript?
            moldybacon
            moldybacon
            0
            2
            1.4k

          Get started with Moz Pro!

          Unlock the power of advanced SEO tools and data-driven insights.

          Start my free trial
          Products
          • Moz Pro
          • Moz Local
          • Moz API
          • Moz Data
          • STAT
          • Product Updates
          Moz Solutions
          • SMB Solutions
          • Agency Solutions
          • Enterprise Solutions
          • Digital Marketers
          Free SEO Tools
          • Domain Authority Checker
          • Link Explorer
          • Keyword Explorer
          • Competitive Research
          • Brand Authority Checker
          • Local Citation Checker
          • MozBar Extension
          • MozCast
          Resources
          • Blog
          • SEO Learning Center
          • Help Hub
          • Beginner's Guide to SEO
          • How-to Guides
          • Moz Academy
          • API Docs
          About Moz
          • About
          • Team
          • Careers
          • Contact
          Why Moz
          • Case Studies
          • Testimonials
          Get Involved
          • Become an Affiliate
          • MozCon
          • Webinars
          • Practical Marketer Series
          • MozPod
          Connect with us

          Contact the Help team

          Join our newsletter
          Moz logo
          © 2021 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
          • Accessibility
          • Terms of Use
          • Privacy