The API Widget provides a JavaScript API that you can use to implement your own JavaScript code based on the customer's location.


Installation of the API Widget

1. Select the API Widget from the menu (if it's still disabled, please enable it by clicking the button next to the widget title):

2. Switch to the "Themes" tab, select your theme from the "Themes" list and click "Save":

Geolizr API Using


To create a custom Javascript you can use the Shopify HTML/CSS editor on your backend.

1. Select your theme in the Shopify theme editor by clicking "Edit HTML/CSS" or "Edit code" in the "Online Store -> Themes" section of your shopify backend:

2. Scroll down to your </body> tag and add your Javascript snippet or your javascript include there.


Here you find additional Information about the Geolizr API Events.