Skip to main content
Shopify Integration

Learn how to setup your Shopify store with Cometly.

Updated over a month ago

Start Here 👋

In this article we will walk you through step-by-step for how to implement the tracking setup for your Shopify store. By setting up the Shopify integration, successful order payments will automatically send to Cometly as Purchase events. If you would like to set up Add to Cart and Initiate Checkout events, please follow the instructions in this resource article.

If you have not already installed the Cometly Pixel on your Shopify store, please follow the installation guide below.


Connect Shopify to Cometly

In your Cometly account, navigate to the Integrations page in your Cometly space and scroll down to the Connections section.

Click Add Integration

Select Shopify as your integration and click Next

Activate Shopify integration

Connecting your Shopify store to Cometly will enable you to automatically send all purchases to Cometly.

Watch the video below for how to setup the Shopify integration:

Use the following Admin API access scopes:

  • read_orders

  • read_customers

  • read_products

  • read_draft_orders

Ensure the webhook version is set to: 2024-07

Important: When entering your Shopify Store URL into Cometly, make sure you are using the XXXXXXX.myshopify.com URL so that purchases track properly. You can find this by navigating to the Shopify dashboard, clicking on "Settings" and then clicking on "Domains".


When new orders come in, you will see purchase events in the Events Log in your Cometly account.


Tracking Add to Cart & Initiate Checkout Events For Your Shopify Store

If you would like to track Add to Cart and Initiate Checkout events, you will need to follow the guide below.


Troubleshooting

Cometly is Not Tracking All Orders

Cometly is designed to track all your Shopify orders. For example, if you see 10 orders in Shopify for a given day, you should see 10 orders in Cometly—provided that the timezones in your Cometly and Shopify account settings are aligned.

If the numbers do not match, follow these steps:

  1. Check the Event Log in Cometly: Navigate to the Event Log in your Cometly dashboard and look for any errors.

  2. Common Issue - Missing Email: One of the most common errors occurs when the "Email" field is not passed through for certain orders. Cometly relies on email addresses to track orders and build customer journeys. If an email is missing, the order cannot be tracked.

  3. Orders Created by Third-Party Apps: If you're using third-party apps that generate orders and pass them into your Shopify store, these apps may not share customer email addresses with Shopify. As a result, Cometly cannot track these orders, and you will see them flagged as errors in the Event Log.

To resolve these issues, ensure that all orders passing through your Shopify store include the required data, particularly customer email addresses.

Did this answer your question?