Shopify Integration

Add the content code to your Shopify website

Team avatar
Written by Team
Updated over a week ago

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 Shopify website's footer.

Steps:

  1. Go to Shopify Admin

  2. Click on Sales Channels > Online Store

  3. Click on Themes

  4. Click on Actions > Edit Code

  5. Open the Sections folder

  6. Open the theme.liquid file

  7. Paste the code just above the </body> tag

  8. 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 Shopify 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?