Geo Content Code

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

This piece of JavaScript code needs to be placed in your Hubspot website's footer.

Steps:

  1. Click on the Settings icon in the main navigation bar
  2. In the left sidebar menu, navigate to Website > Pages
  3. Click the Modifying dropdown menu and choose the domain you want to update
  4. Paste the JavaScript code provided in the Footer HTML box
  5. Click on Save

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 Hubspot website's HTML.

<!-- 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>
Did this answer your question?