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:
Go to your container
Click Add a new tag
Add a name for the tag
Edit the Tag Configuration
Click Custom HTML Tag
Paste the code into the HTML box
Add a DOM Ready trigger
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>