Google analytics running ads???

Discussion in 'AdSense' started by dccv, Jan 8, 2008.

  1. #1
    Am I the only one seeing this? I have checked my code and am running my analytics code in the footer of my website, but when you go to my website it is running an ad. Please tell me if you see this.

    http://www.utahluxury.com

    Thanks for your help
     
    dccv, Jan 8, 2008 IP
  2. Kagato

    Kagato Banned

    Messages:
    1,228
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I see an advertisement in the footer.
    You sure you put in the correct code?
     
    Kagato, Jan 8, 2008 IP
  3. dccv

    dccv Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yup, I have the analytics code in there.

    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-######-#";
    urchinTracker();
    </script>
    Code (markup):
    Bleaped out my numbers so I dont have any url issues, but that is what is in my footer.
     
    dccv, Jan 8, 2008 IP
  4. synchronize

    synchronize Peon

    Messages:
    78
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Woah that's bizarre..

    Anyway it looks like you're using the old code for google analytics, the new code looks like this:

    <script type="text/javascript">
    var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
    document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
    </script>
    <script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-*******-*");
    pageTracker._initData();
    pageTracker._trackPageview();
    </script>
    Code (markup):
    How the old code is generating a google ad is beyond me. The old code is still supposed to work but apparently the newer code has more features.
     
    synchronize, Jan 8, 2008 IP
  5. dccv

    dccv Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Wow thanks for the info. I didnt know that I was running old code. You would think that google would have a warning or something on login telling you to update the code.

    Thanks again!!!
     
    dccv, Jan 8, 2008 IP
  6. sultanofseo

    sultanofseo Notable Member

    Messages:
    9,930
    Likes Received:
    405
    Best Answers:
    0
    Trophy Points:
    265
    #6
    this is indeed strange. i'm using the old code on one of my sites and i just took a look. nothing strange there.
     
    sultanofseo, Jan 8, 2008 IP
  7. dccv

    dccv Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Found the problem. It wasnt analytics that was spitting out the code, it was feedburner. I have no idea why my feedburner code was doing it but I moved the code to the header and voila ads stopped showing up.

    Thanks for all your help guys!!
     
    dccv, Jan 12, 2008 IP