Hiding Analytics Tracking URLs

Discussion in 'Search Engine Optimization' started by merina, Sep 30, 2008.

  1. #1
    When visitors from traffic exchanges land on my site they end up at the url with the tracking code.

    .com/?utm_source=...&utm_term=....

    I wonder if there is any way to clean up the url so the visitors see it without the tracking code? Would Analytics still work if I use an apache rewrite?

    Is there maybe even a way to use a 301 redirect to pass the pagerank to my domain?

    thank you!
     
    merina, Sep 30, 2008 IP
  2. mupha

    mupha Peon

    Messages:
    115
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The way I handle this is within php.

    The visitor hits the page using the long version of the URL.
    Pick up the querystring values with PHP and write them to a cookie.
    Do a PHP 301 redirect to the clean URL.

    Analytics will not see the call to the processing page as that never gets loaded in the browser, but you do have the values in a cookie, so some back-end processing can handle records of the incoming data.
     
    mupha, Oct 1, 2008 IP