Track AdSense Clicks With Google Analytics

Discussion in 'Google Analytics' started by digitalpoint, Nov 18, 2005.

  1. tresman

    tresman Well-Known Member

    Messages:
    235
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    138
    #41
    Same happens to me.
     
    tresman, Feb 27, 2006 IP
  2. tstaut

    tstaut Active Member

    Messages:
    408
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    90
    #42
    Same here. :(
     
    tstaut, Feb 27, 2006 IP
  3. amitpagarwal

    amitpagarwal Peon

    Messages:
    375
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #43
    Chitika filters clicks based on geo-location.
     
    amitpagarwal, Feb 27, 2006 IP
  4. naplesdave

    naplesdave Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #44
    Anyone want to take a stab as to why the script no longer works with Google Analytics? Is anyone using anything else that DOES work?

    Thanks!
     
    naplesdave, Mar 1, 2006 IP
  5. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #45
    digitalpoint, Mar 1, 2006 IP
    xharrisonx likes this.
  6. theduke56789

    theduke56789 Peon

    Messages:
    207
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #46
    theduke56789, Mar 4, 2006 IP
  7. naplesdave

    naplesdave Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #47
    I think this method is pretty well dead. Anyone have any alternatives?
     
    naplesdave, Mar 10, 2006 IP
  8. miked

    miked Peon

    Messages:
    163
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #48
    The goals came back up and I figured out how useful this can be. I even blogged about it: tracking adsense with analytics.

    Thanks Shawn for writing up this script!

    I can even use this to track and see if using adwords to adsense makes sense!
     
    miked, Mar 13, 2006 IP
  9. naplesdave

    naplesdave Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #49
    I noticed in your blog that you actually assess a numerical value to your goal - as in - what your average AdSense click pays you. Did you find that the script did not work without it? Maybe that's where we're all missing the boat, here.

    My G1 and G2 goals haven't come back, yet. But I have those values blank - because earlier GA was tracking the mere "click" as a G1 or G2 visit.

    So, I'm guessing now a visit won't get recorded unless there is a value assessed to the Goal. Something to experiment with, anyway.

    Anyone else have work arounds?
     
    naplesdave, Mar 13, 2006 IP
  10. miked

    miked Peon

    Messages:
    163
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #50
    I have no idea if that's what tripped it into working. I just noticed a couple days ago that it was. I thought I had done something wrong, but was relieved to see all the notices here that others were having the same problem.

    The last 'fix' I made was to set the match type to general expression, and that's when I set the goal value as well. That was about a few weeks ago.
     
    miked, Mar 13, 2006 IP
  11. tflight

    tflight Peon

    Messages:
    617
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    0
    #51
    I've always had values associated with the goals based on average CPC. The goal tracking has not come back for me either, so I doubt adding the goal value will not bring it back.
     
    tflight, Mar 13, 2006 IP
  12. naplesdave

    naplesdave Peon

    Messages:
    22
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #52
    You're correct. After a day of waiting for new data to come in, the G1/G2 goals still set at zero. This is on a site that receives 13k pageviews a day.
     
    naplesdave, Mar 14, 2006 IP
  13. tstaut

    tstaut Active Member

    Messages:
    408
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    90
    #53
    Changing to "Regular Expression" got my YPN tracking back, and I believe Chitika as well... I had a prior issue with Adsense on the script, so that's not back yet but I think I fixed the script.
     
    tstaut, Mar 14, 2006 IP
  14. tflight

    tflight Peon

    Messages:
    617
    Likes Received:
    38
    Best Answers:
    0
    Trophy Points:
    0
    #54
    My goal tracking is now working again. I didn't change any settings, just started working again.
     
    tflight, Mar 15, 2006 IP
  15. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #55
    Yep... The goal tracking issue was not specific to AdSense click tracking... All goals were having problems, and it was on Google's end.
     
    digitalpoint, Mar 15, 2006 IP
  16. gdymov

    gdymov Peon

    Messages:
    126
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #56
    I installed Adsense on Goal 3, so I've not had any problems with it. But Goal 1 & 2 still don't work for me (seems like that at least).
     
    gdymov, Mar 21, 2006 IP
  17. xam

    xam Guest

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #57
    Hello everyone,

    I need help to fix my firefox problem with my below code..

    This is my tracklink.html file
    <script type="text/javascript">
    function logClick() {
        window.focus();
        bug = new Image();  
        bug.src = 'http://mywebsite.com/track.php?pg=' + escape(document.title);
    }
    </script>
    <iframe src='showads.html' frameborder='0' width='300' height='50' onFocus='logClick()'></iframe>
    
    Code (markup):
    This is my track.php file
    
    <?
    mysql_connect("localhost", "root", "mypass") or die(mysql_error());
    echo "Connected to MySQL<br />";
    mysql_select_db("stats") or die(mysql_error());
    echo "Connected to Database<br />";
    $ip = $_SERVER['REMOTE_ADDR'];
    $page = $_GET['pg'];
    mysql_query("INSERT INTO stats (page, ip) VALUES ('$page', '$ip')") or die(mysql_error());
    mysql_close();
    ?>
    Code (markup):
    When someone click a link on the tracklink.html page, it should send pagename and visitorip to track.php and track.php should send this results to my database..

    Everything is work with Internet Explorer, But mozilla cant sent results to track.php..

    I tested it with direct link with mozilla e.g.:
    http://mywebsite.com/track.php?pg=test
    Code (markup):
    It work.. Its %100 javascript error.... I need more stable javascript code to track clicked links..

    My regards.
     
    xam, Mar 26, 2006 IP
  18. mjewel

    mjewel Prominent Member

    Messages:
    6,693
    Likes Received:
    514
    Best Answers:
    0
    Trophy Points:
    360
    #58
    See post #15 on this thread.
     
    mjewel, Mar 26, 2006 IP
  19. xam

    xam Guest

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #59
    What should I do ?.. I need help, I've already read all posts on this thread, on mozilla bug etc..
     
    xam, Mar 26, 2006 IP
  20. theduke56789

    theduke56789 Peon

    Messages:
    207
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #60
    Wish there was a script for analytics that was somewhat reliable.... I'm still off by 20% - 40% daily..
     
    theduke56789, Mar 28, 2006 IP