1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to Track Redirect With Google Analytics?

Discussion in 'Black Hat SEO' started by TimeToGo, Nov 25, 2013.

  1. TimeToGo

    TimeToGo Regular Member

    Joined:
    Jun 15, 2013
    Messages:
    224
    Likes Received:
    246
    Is there a way to track 301 redirect with google analytics?
    Most solutions online are for affiliate click on the main website.

    This won't work for me because I do email marketing and send leads
    directly to the redirect page:
    http://mysite.com/product

    I'm currently using this PHP code for redirection:
    PHP:
    <?php 
    header
    ('HTTP/1.1 301 Moved Permanently');
    header('Location: http://affiliatesite.com');
    exit();
    ?>
     
  2. Angel A

    Angel A Junior Member Premium Member

    Joined:
    May 15, 2013
    Messages:
    116
    Likes Received:
    15
    Occupation:
    SEO / SMM /SMO /Marketing
    Location:
    Europe