Magento Integration

Add the content code to your Magento website

Team avatar
Written by Team
Updated over a week ago

Geo Content Code

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

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

Steps:

  1. On the Admin menu, select System > Configuration 

  2. In the panel on the left, under General, select Design

  3. Paste the JavaScript code provided into the Miscellaneous Scripts box

  4. Ensure the code is pasted at the start of the box before any other scripts so it is the first to process

  5. Click on Save Config

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 Magento 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?