Adtracker for Adsense (IE & FF Supported) This might be posted somewhere in DP already, but I would like to post again,, at least help someone I promised I will help. It was a script I found on the internet for free and can help you tracking, improving the placement and see the stats in google analytics. (cool when you see the graph) Please note: This code is not mine and Please excuse my weak English (let's start) Download the script download here unzip and place in directory that you like. I suggest Apply code to your page To place the code, should place after the Google analytics code. Google analytics code should always be at the end of the page before the tag </body>. example: . . . <!-- Analytics Code --> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script> <script type="text/javascript"> _uacct = "UA-xxxxxx-x"; urchinTracker(); </script> <!-- Analytics Track --> <script src="http://www.yourdomain.com/js/astracker.js" type="text/javascript" charset="utf-8"></script> <!-- End Analytics Code --> </body> </html> Code (markup): Please note that the code above need to call the URL of your javascript that you have uploaded. Then on the your webpage, place the adsense code inside tag <div> container. This script track from DIV tag, not iframe. This code supported IE and FF Start the id in tag DIV with asc_ then after that will be your track zone or placement name. This help you to identify which ads your visitors click! You can use any name like asc_header, asc_under_corner, asc_page1, asc_thankyou and so on. example: <div id="asc_Zone_A"> <adsense code> </div> Code (markup): OH MY GOODNESS. IT'S DONE FOR THE CODE. Setting your Google Analytics Need to be careful here. I suggest you try to use Analytics more so you can understand how does it work. - Login to your Google Analytics account. - Choose the profile for the site you want to track and Edit the setting. Screen shot: (If you use google adwords, the theme will be greenish, analytics will be orangeinsh) Then edit the goal. If you don't have one, just click edit at G1 - Set the goal URL to /asclick (don't use other URL) - Goal name can be anything. For me is AdClick - Set Active Goal: On - Scrolling down to click Save Changes Screenshot: OH MY GOODNESS. IT'S DONE FOR ANALYTICS SETTING. Sample Stats Waiting for a few hours or a day to see the stats. Do not compare with Adsense stats because time to display the stats is different and not all clicks can earn money since Google adjust money and invalid clicks all the time. The purpose for this script is help you find out what page , what keyword, what ads, which zone or area your visitors click. Track where your visitors who clicks the ads come from and so on. At lease you know which ads your visitors like to click On Dashboard > Conversion summary This help you to find out if you got more clicks and how many percent you have click from all visitors. screen shot: continue below,,, can't post more images.
This is the point Im having issues with as its coughing up my main site stats and not the Blog. Thanks for the above code.
On Dashboard > Marketing summary This help you to find out what is the top 5 your clickers come from. What is the top keyword your clickers like to click. screen shot: On All reports > Marketing optimization > Goal conversion tracking OMG my stats is decreasing Screen shot Then you can see more in On All Reports > Content Optimization > Goals & Funnel Process Look for keyword, page, path, referer I can't post more images because the dimension is over the limit. So just try and find out where you can see those important informations. Ask if you have any question. Many people here use it and know it and I'm here to answer too. Good luck
Hey tony, Currently i am using javascript tracker which uses IFRAME. But its not very accurate. Do you think tracking from div layers can be more accurate ? If yes then why?
I believe every websites has the same ads many many times. You would see the same ads show on your website The stats show exactly like /asclick/Zone_F/www.GetMusicFree.com /asclick/Zone_Nav_Link/Song Lyrics /asclick/Zone_Nav_Link/Song List So you know the ads is from www.GetMusicFree.com on Zone F So go to your page you place ads on zone F and see if your find any ads from www.GetMusicFree.com and you know thet visitors click on the ads with keywords "Song Lyrics" and "Song List" This tell you so manythings
Does anyone know a good reliable package for those of us who dont have Analytics yet? Tony - do you know if this will work without the Analytics code? Good thread by the way Tony
No, it doesn't work without analytic code. You will need to modify to send you an email each time visitor click or insert a record to database. If I have time I might help to modify the code.
Does this code tell you which specific ads were clicked, ie. the URL the user was directed to after clicking the AdSense ad?
no, i am not sure how adwords ads work, but sometime this tracker give you the url, keyword, or sitename.
I did not get the iframe part and the javascript part; what exactly it does there.. please explain it to me!