Track on which content pages your ad is clicked!

Discussion in 'Google AdWords' started by Michau, Mar 30, 2007.

  1. #1
    I am an AdWords advertiser who heavily advertises on content network. I use Google Analytics to track my visitors, but I noticed all clicks on content network are grouped under the same heading. I wanted to be able to track visitors, conversions etc. per individual content site. So here's the JavaScript code I put on my page to do it:

    <script>
    var r = document.referrer;
    if(r.match(/googlesyndication\.com/) && r.match(/url=([^&]+)/))
    {
        var u = unescape(RegExp.$1);
        if(u.match(/^https?:\/\/([^\/]+)/))
        {
    	var d = RegExp.$1;
    	__utmSetVar("AdSense: " + d);
        }
    }
    </script>
    Code (markup):
    Now I am able to see on which sites my ads are clicked. I was also able to launch site targeted campaigns to the sites where my ads get most clicked :)
     
    Michau, Mar 30, 2007 IP
  2. B.V.E.

    B.V.E. Peon

    Messages:
    106
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Nice script dude! I've got this implemented into my own tracking software a few months ago, and being able to track the content network is a huge advantage :)
    Simply block the content sites with a low CR/ROI, and start site targeted campaigns for the content sites with a good ROI.
    Lots of targeted traffic + low CPCs = :D

    So, great work on the Analytics add-in! It will definitely unleash some extra potential for the average Adwords advertiser :).
     
    B.V.E., Mar 30, 2007 IP
  3. Michau

    Michau Well-Known Member

    Messages:
    188
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    108
    #3
    Yes, exactly that's what I primarily made it for - block sites with low ROI... but I was also abloe to launch site-targeted campaigns on the best-performing sites, with lower CPC that my original campaign - woohoo!
     
    Michau, Mar 31, 2007 IP
  4. filtalr

    filtalr Peon

    Messages:
    681
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Nice - Where do you put the code on your page and where do your site specific stats show up?
     
    filtalr, Mar 31, 2007 IP
  5. Skouk

    Skouk Guest

    Messages:
    246
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Excellent :)
    I have added the code yesterday and it works great.

    filtalr, you can add the code between
    </head>
    and
    <body>
     
    Skouk, Apr 1, 2007 IP
  6. JochenVandeVelde

    JochenVandeVelde Peon

    Messages:
    412
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks for sharing! Great script.
     
    JochenVandeVelde, Apr 1, 2007 IP
  7. GuyFromChicago

    GuyFromChicago Permanent Peon

    Messages:
    6,728
    Likes Received:
    529
    Best Answers:
    0
    Trophy Points:
    0
    #7
    GuyFromChicago, Apr 3, 2007 IP
  8. jarjarb

    jarjarb Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    hey great post, but i'm a little confused, how can you track your adsense ROI from this?
     
    jarjarb, Apr 6, 2007 IP
  9. GuyFromChicago

    GuyFromChicago Permanent Peon

    Messages:
    6,728
    Likes Received:
    529
    Best Answers:
    0
    Trophy Points:
    0
    #9
    You really are confused:)
     
    GuyFromChicago, Apr 10, 2007 IP