Skip to main content

Install with Shopify

Updated over a month ago

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.

  1. Navigate to Themes and Edit Code under Online Store in your Shopify Account

  2. Go to the </> theme.liquid file in the layout folder.

  3. Add the Triggerbee tracking code just before the end </head> tag.

  4. 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.

  1. In Triggerbee, navigate to Settings —> Apps and select Shopify.

  2. Press Configure and enter the data required

    1. Shop Name: The name before myshopify.com, eg. for testStore.myshopify.com the Shop Name would be testStore.

    2. Private token: The private token to your storefront API. You will find this under Sales Channels —> Headless —> Manage Storefront API in your Shopify account

    3. Company IP-Address: The IP-Address that your company wants to use as the identifier in Shopify

  3. In the next step, add your Webhook secret. You can find this in your Shopify account under Settings —> Notifications —> Webhooks.

  4. For the integration to work properly, you need to have a webhook with the following setup:

    1. Event: Order Creation

    2. Format: JSON

    3. Select the latest Webhook API version, eg "2025-01 (Latest)"

  5. Once you've added the Webhook Secret, save the integration and move on to step 3.


Step 3. Set up Admin API Key Configuration

  1. 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).

  2. Give your app a name, eg. "Triggerbee API Access". Create the app.

  3. Open Configure API Admin Access and add access to all scopes.

  4. Go to API Credentials and click "Install app".

  5. 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!

Did this answer your question?