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. On-Page / Site Optimization
    4. How to deal with tracking numbers in URLs

    How to deal with tracking numbers in URLs

    On-Page / Site Optimization
    3 3 385
    • 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.
    • MirandaP
      MirandaP last edited by

      I am working on a site at the minute that has links like this:

      Jobs in London

      URL looks like: domain.com/jobs-in-london/

      However, my developers insist that they need to use tracking codes, so everytime someone clicks on the above link, they are redirected (301) to a new URL that looks like:

      domain.com/search/1234567(unique search id)

      This is killing me when I am trying to get internal pages, like /jobs-in-london/ ranked.

      What to do?

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

        Hey Miranda,

        I would go for one of the following:

        1. usage of canonicals (link rel canonical to domain.com/jobs-in-london/)

        2. the dev team could use cookies to keep trackings (I am not a developer guy, but this issue has been solved many times with cookies) - Developers please correct me if I am wrong in this.

        I hope it hepled,

        Istvan

        1 Reply Last reply Reply Quote 3
        • Dr-Pete
          Dr-Pete last edited by

          I think Istvan is absolutely right. You need to canonicalize somehow - it could either be the canonical tag, or you could capture the tracking ID into a cookie and then 301-redirect to the canonical version.

          This looks even worse than a typical tracking parameter situation, where it would just be tacked on at the end. It looks like the entire URL structure is changing. Honestly, any CMS that requires this is pretty outdated, IMO. As a former developer, I don't completely buy your developers' story. Doing it the right way may be a lot harder - it may not even be cost-effective - but it's far from impossible. If this structure is weird enough, the canonical or 301 could end up being band-aids.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Is it better to shorten my existing url to use only keyword after domain with a 301 redirect from existing url
            mrkingsley
            mrkingsley
            2
            12
            96

          • Making Shopify URL's Simpler - Losing the words 'collection', 'product' and 'page' in a Shopify store URL. Any advice?
            0
            1
            171

          • Duplicate URL errors when URL's are unique
            DirkC
            DirkC
            0
            2
            96

          • Googlebot found an extremely high number of URLs on your site:
            Obbserv
            Obbserv
            0
            5
            222

          • Our urls for adwords are slightly different from current urls presented on site (weused htaccess to help create shorter urls). How important is it that the adwords url match the sitemap url for keywords on those pages?
            LesleyPaone
            LesleyPaone
            0
            2
            134

          • Recommendation: Add a canonical URL tag referencing this URL to the header of the page.
            ThompsonPaul
            ThompsonPaul
            0
            7
            1.5k

          • Number ID's in URL's
            simmo235
            simmo235
            0
            3
            174

          • Replacing "_" with "-" in url, results in new url?
            loopyal
            loopyal
            0
            8
            21.0k

          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