Shopify
To integrate Suppa with your Shopify store:
- Log in to your Shopify admin panel.
- Go to "Online Store" > "Themes".
- Click "Actions" for your current theme and select "Edit code".
- In the left sidebar, find and click on the "theme.liquid" file under "Layout".
- Locate the
</head>
tag and paste the following code just before it:
<script
src="https://app.suppa.ai/integration/script.js"
data-api-key="{{ settings.suppa_api_key }}">
</script>
- Click "Save".
- Go back to "Online Store" > "Themes" and click "Customize" for your theme.
- Click on "Theme settings" in the left sidebar, then "Theme settings" again.
- Scroll down and click "Add a setting".
- Set "Name" to "Suppa API Key", "Type" to "Text", and "ID" to "suppa_api_key".
- Enter your actual Suppa API key in the value field.
- Click "Save" and publish your theme.