Wednesday, March 8, 2017

How To Set up the Code to Track your AdSense Sites in Analytics

After linking your Google AdSense with analytic, the next thing is to set up the code to track your AdSense sites in
Analytics. To do this is very easy and i will teach you here. First of all, you must have linked your adsense and analytic.

To see AdSense reporting in Analytics for a webpage, that webpage must contain:

The AdSense code used to show ads
Please note that the order of the code snippets is very important. I recommend that you place the snippets in your webpage's HTML in the following order:

1. The Analytics tracking code, placed just before the closing </head> tag

2. The AdSense ad code, between the <body> and </body> tags




'; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = '//' + disqus_shortname + ''; (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); })();