Shopify Integration
This page will give you detailed steps to integrate Growlytics on your shopify website.
Last updated
This page will give you detailed steps to integrate Growlytics on your shopify website.
Last updated
Before proceeding, make sure you are logged in to your Shopify store and have the required access to install apps.
Install the Growlytics Shopify public app from this link. Click on the 'Add App' button to review the permissions of the app, and subsequently click 'Install App'. You will be asked to accept $5 monthly app charges. Click on 'Accept' to continue installing the app.
For this step, start from the video recording or look through the step-by-step instructions below.
Once you have installed the app, you will see the screen shown below. Click on the 'Connect Growlytics Account' button to continue.
Enter the API key and click on the 'Connect' button.
To generate the Growlytics API Key, login to your Growlytics Dashboard, click on Settings from the left side menu, and click on the API Keys' section. You will be redirected to the API Keys page.
Verify the details of the store and Growlytics account being connected. Once verified, click on the 'Start Sync' button. Once you start sync, the connector app will automatically start syncing all your customers, and past orders with your connected Growlytics account.
On your Shopify Dashboard, click on Online stores -> Customize -> Theme Settings -> App Embed -> Growlytics and enable the tab.
After first step, you will need to add scripts in 3 different liquid template files: theme.liquid
, product.liquid
and collection-template.liquid.
Add the code below at the end of theme.liquid
template file. This will allow Growlytics to analyze visitor's behaviour on your site:
Make sure you are replacing <api-key> with your actual project api key. You can find api-key in project settings.
Make sure you are replacing <store-name> with your shopify store name.
Make sure you are replacing the <service-worker-file-location> with your store's server location.
3. Add the code below at the end of product.liquid
template file. This will allow Growlytics to track products viewed by visitors.
4. . Add the code below at the end of collection-template.liquid
template file. This will allow Growlytics to track collections viewed by visitors.