Google adsence

Posted in: Newspaper
Post count: 2

Hi, google tells me to add this code to the site between the <head> and </head> tags. Can this be done in the custom javascritp in the custom code of the theme panel or should I add it directly to a template?

Best regards
Claus

<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: “ca-pub-xxxxxxxx”,
enable_page_level_ads: true
});
</script>

Post count: 20688

Hi,

Add the code directly in the theme header file, between the head tags
https://www.screencast.com/t/cntSjJd0BtLg

Thanks

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.