Skip to main content
All CollectionsPublishersGet Started
Installing PurpleAds with Google Tag Manager (GTM)
Installing PurpleAds with Google Tag Manager (GTM)

If you're using Google Tag Manager, it's easy as pie

Yosi Dahan avatar
Written by Yosi Dahan
Updated over 3 years ago

This guide is for the Floating Banner adunit/format.

The Responsible Display Banner must be added inside a <div> block in your page to render an ad inline, read more here.

The first step towards monetising your website is to add PurpleAds to your website.If you're using Google Tag Manager, it's easy as pie.

  1. Grab your PurpleAds website snippet by selecting your website > "Install".

  2. Go to GTM

  3. Create a new tag

  4. Select Custom HTML for the tag configuration.

  5. Paste the PurpleAds code in the HTML section.

  6. Add an All Pages trigger (same goes for Single Page Applications / SPAs).

  7. Do not forget to (1) save and submit your changes, (2) visit your website to verify the installation.

Did this answer your question?