Skip to main content

Google Tag Manager Integration

Add the content code to your website using Google Tag Manager

Written by Team

Geo Content Code

Each Geo Content service you create  will come with its own JavaScript code.

This piece of JavaScript code needs to be added as a Custom HTML Tag in your Google Tag manager container.

Steps:

  1. Go to your container

  2. Click Add a new tag

  3. Add a name for the tag

  4. Edit the Tag Configuration

  5. Click Custom HTML Tag

  6. Paste the code into the HTML box

  7. Add a DOM Ready trigger

  8. Save & Submit

Geo Content Smart HTML Tags

The Smart HTML Tags provided in each Geo Content rule should be 'wrapped' around the respective content directly in your website's HTML.

<body>

<!-- Other content -->

<!-- Geo Content Smart HTML Tag For Rule 1 -->
<div class='geotargetlygeocontent1556689537225_content_1' style='display:none;'>
<!-- Enter content here -->
</div>


<!-- Geo Content Smart HTML Tag For Rule 2 -->
<div class='geotargetlygeocontent1556689537225_content_2' style='display:none;'>
<!-- Enter content here -->
</div>


<!-- Geo Content Smart HTML Tag For Rule 3 -->
<div class='geotargetlygeocontent1556689537225_content_3' style='display:none;'>
<!-- Enter content here -->
</div>


</body>
Did this answer your question?