You can use Google AdSense by integrating it via Google Tag Manager.

To integrate Google AdSense, firstly go to your site Settings:

Then, navigate to the Integrations tab and click on Google Tag Manager, to integrate it with your Zyro website. You'll be asked to insert your Google Tag Manager ID.

Once your Google Tag Manager integration is complete, follow the steps below to integrate Google AdSense too:

1. Log in to your Google Tag Manager (GTM) account.

2. Click on Variables on the left side of the screen within your GTM workspace.

3. Create a new User-Defined Variable called asClientID.

4. Choose Constant as the variable type. In the value section, insert your AdSense Client ID and click Save. Don't know how to find your AdSense Client ID? Here's how.

5. Then, click on Tags on the left side of the screen within your GTM workspace.

6. Create a new Tag called AS – Page view – ALL.

7. Select Custom HTML tag.

8. Copy and paste this bit of code:

<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>

<script>

(adsbygoogle = window.adsbygoogle || []).push({

google_ad_client: "{{asClientID}}",

enable_page_level_ads: true

});

</script>

9. Select Trigger All Page Views.

10. Test your changes in preview mode.

11. Once everything is working, publish the changes to the live version of your website.

Did this answer your question?