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 pages unless you have Shopify Plus with a checkout that allows third-party tracking.
The Shopify Integration consists of two parts. One is for the base installation of the Triggerbee Tracking code, and the other is for logging order data. You will need to log the identification of the visitor separately (eg, via Google Tag Manager), for the order data to attach to Triggerbee.
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 via 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! Now move on to step 2.
Step 2. Add Shopify tracking points to Triggerbee
Before continuing, make sure you have the Headless app installed in Shopify.
Start the process by going to Shopify and creating an API Key.
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 (yes, all of them).
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.
Then, move on to Triggerbee:
In Triggerbee, navigate to Settings —> Apps and select Shopify.
Press Configure and enter the data required
In the next step, you need to add your Webhook secret. This is needed for Triggerbee to be able to create contacts from our forms. You can find Webhooks in your Shopify account under Settings —> Notifications —> Webhooks.
Create 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 Account Settings in Triggerbee.Select the latest Webhook API version, eg "2025-07 (Latest)" and save.
Copy the webhook from under "your webhooks will be signed with" and add it to the Triggerbee Integration. Once you've added the Webhook Secret, save the integration.
Now you're done with the API configuration of Shopify!