Deliver sophisticated e-commerce experiences throughout the entire customer journey. The integration between Shopify and Triggerbee offers a variety of use cases, including:
Publish personalized membership registration forms
Use Shopify order data for targeting visitors with personalized website content and promotions
Analyze how vouchers distributed with Triggerbee Campaigns are used, and measure how onsite campaigns contribute to sales
Note: Triggerbee will not work in the checkout and order confirmation page unless you have Shopify Plus. Only Shopify Plus allows you to add third party tracking to the checkout.
Step 1. Add Triggerbee Tracking Code to your Shopify Store
The Triggerbee tracking code can be installed on your website directly in your Shopify Account. We recommend that you install Triggerbee directly to the theme file, and not via Shopify Sandbox Environment or Custom Web Pixels to ensure that the tracking works as intended.
How to install Triggerbee on Shopify
Before you start the installation, go and grab your Tracking Code from your Account Settings in Triggerbee.
Navigate to Themes and Edit Code under Online Store in your Shopify Account
Go to the </> theme.liquid file in the layout folder.
Add the Triggerbee tracking code just before the end </head> tag.
Save the file changes. Triggerbee will now start to track your website and you will be able to publish campaigns within a few minutes!
Step 2. Add Shopify tracking points to Triggerbee
Before continuing, make sure you have the Headless app installed in Shopify.
In Triggerbee, navigate to Settings —> Apps and select Shopify.
Press Configure and enter the data required
Shop Name: The name before myshopify.com, eg. for testStore.myshopify.com the Shop Name would be testStore.
Private token: The private token to your storefront API. You will find this under Sales Channels —> Headless —> Manage Storefront API in your Shopify account
Company IP-Address: The IP-Address that your company wants to use as the identifier in Shopify
In the next step, add your Webhook secret. You can find this in your Shopify account under Settings —> Notifications —> Webhooks.
For the integration to work properly, you need to have a webhook with the following setup:
Event: Order Creation
Format: JSON
URL: https://api-gw.triggerbee.com/webhooks/[YOUR_SITE_ID]/orders/shopify/json
Your site ID can be found under Settings.Select the latest Webhook API version, eg "2025-01 (Latest)"
Once you've added the Webhook Secret, save the integration and move on to step 3.
Step 3. Set up Admin API Key Configuration
In Shopify, navigate to Apps and Sales Channels. Go to Develop apps. Click Create an app (you might have to approve the addition of custom apps before seeing the create app button).
Give your app a name, eg. "Triggerbee API Access". Create the app.
Open Configure API Admin Access and add access to all scopes.
Go to API Credentials and click "Install app".
Now you will get your Admin API token. Click "reveal token once" and copy the token. Open Triggerbee and navigate to the Shopify app. Configure the app and paste the code in the Admin API token field.
Note: You will only see the Admin API token once for security reasons. Please make sure to have Triggerbee App Integrations Page ready to paste the code.
Now you're done with the API configuration of Shopify!