Jump to content

Implement Revive with Google Tag Manager


MN_MMI

Recommended Posts

  • 4 months later...

 

Also was strugling with it.

My solution is fire on all pages with dom manipulation.

Works fine, here is example 

TAG

<script async src="//{YOUR-DOMAIN}/www/delivery/asyncjs.php"></script>
<script>
var firstAdPlacement = document.querySelector('{YOUR-PLACEMENT');
var firstAd =  '<ins data-revive-zoneid="1" data-revive-id="{YOUR-BANNER-ID}"></ins>';
firstAdPlacement.insertAdjacentHTML('beforeend', firstAd);
</script>


TRIGGER

ALL PAGES

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...