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
          • To avoid the duplicate content issue I have created new urls for that specific site I am posting to and redirecting that url to the original on my site. Is this the right way to do it?
            0
            1
            24

          • Multi Keyword URL Ranking at Number 1
            MattRoney
            MattRoney
            0
            4
            101

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

          • Is tracking code added to the end of a URL considered duplicate content
            TowerMarketing
            TowerMarketing
            0
            6
            160

          • 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

          • Brand Name URL Redirecting to Actual URL
            iung
            iung
            1
            8
            524

          • Numbers in URL's - Search friendly or not?
            KeriMorgret
            KeriMorgret
            0
            3
            592

          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