I just signed up for Google AdSense, and I was given some code to copy and paste in my website, it says between the <head> and </head> tags. I searched in the templates and could not find either tag. If the syntax is different in Xenforo, what tags should I be looking for and which template would this be in?
The code I have to paste is:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "xx-pub-xxxxxxxxxxxxxxx",
enable_page_level_ads: true
});
</script>
Thanks,
Jim
The code I have to paste is:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "xx-pub-xxxxxxxxxxxxxxx",
enable_page_level_ads: true
});
</script>
Thanks,
Jim