Shopify
Step-by-step guide to ingest your event data from Shopify into RudderStack.
Last updated
Was this helpful?
Step-by-step guide to ingest your event data from Shopify into RudderStack.
Last updated
Was this helpful?
is a popular all-in-one E-commerce platform that gives you all the tools to start, run, and grow your business effectively. It offers online retailers a variety of services around digital payments, marketing, product shipping, customer engagement and retention, and more.
This guide will help you set up Shopify as a source in RudderStack.
Setting up the Shopify source involves two steps:
Follow these steps to set up your Shopify source in the RudderStack dashboard:
Go to your and click on Add Source. From the list of Event Stream sources, select Shopify, as shown:
Assign a name to your source and click on Next.
Your Shopify source is now configured. Note the source Write key. This will be required later while configuring the RudderStack app on your Shopify store.
Finally, connect the source to your desired destinations.
To complete the configuration, you will need to add and configure the RudderStack app in your Shopify store. Follow these steps:
In the left sidebar, click on Apps. Then, click on Customize your store, as shown:
Search for RudderStack, as shown:
In the search results, click on the RudderStack app. Then, click on Add app.
After installation, you should be able to see the app in the Installed apps section, as shown:
Select the installed RudderStack app.
Finally, click on Submit.
You can also update these fields later with a different write key and data plane URL.
The Shopify source supports both the server and client-side tracking. RudderStack enables simultaneous tracking of user events using these.
RudderStack uses the Shopify-provided webhooks for tracking events on the server-side.
customers_create
Customer was created.
customers/create
customers_update
Customer was updated.
customers/update
customers_disabled
Customer was disabled.
customers/disable
customers_enable
Customer was enabled.
customers/enable
checkout_delete
Checkout was deleted.
checkouts/delete
checkout_update
Checkout was updated.
checkouts/update
carts_create
Cart was created.
cart/create
carts_update
Cart was updated.
cart/update
fulfillments_create
Fulfillment was created.
fulfillments/create
fulfillments_update
Fulfillment was updated.
fulfillments/update
orders_create
Order was created.
orders/create
orders_delete
Order was deleted.
orders/delete
orders_cancelled
Order was cancelled.
orders/cancelled
orders_fulfilled
Order was fulfilled.
orders/fulfilled
orders_paid
Order was paid.
orders/paid
orders_partially_fullfilled
Order was partly fulfilled.
orders/partially_fulfilled
Checkout Started
A new checkout was created.
checkouts/create
Order Updated
Order was updated.
orders/updated
Any other events flowing through RudderStack except the track
, identify
, and the E-commerce events mentioned above will be discarded.
The below is an example of server-side event transformed by RudderStack:
For tracking the client-side events, RudderStack inserts a JavaScript tracking code into every page of the respective Shopify store.
Cart Viewed
User viewed the cart page.
Checkout Started
User clicked on the buy button.
Product Added
User added the product to the cart.
Product Clicked
User clicked on a product.
Product List Viewed
User viewed the product collections page.
Product Viewed
User viewed a product page.
The below is an example of client-side event transformed by RudderStack:
If you get a Registrated Failed or Update Failed error after entering the credentials, uninstall and reinstall the RudderStack app in your Shopify store and try again.
You need to have the app installed and configured properly in each of the stores.
Go to your Shopify store's .
Alternatively, you can install the RudderStack app directly using this .
Enter your RudderStack Data Plane URL and the Source Write Key that you copied , as shown:
Follow for more information on the data plane URL and where to get it.
The following table details the supported Shopify events and their corresponding mapping for identify
calls:
The following table details the supported Shopify events and their corresponding mapping for track
calls:
RudderStack also supports the following :
The RudderStack app requires the following for tracking user events in the Shopify store:
RudderStack supports the event for every page visited on the Shopify store.
It also supports the Registration Viewed
as a generic event whenever the user views their account or registration page.
The following are also supported on client-side:
When , you need to enter your RudderStack data plane URL and the source write key obtained while .
You can find the data plane URL in the home page of your , as shown:
You can try deleting and reinstalling the app. If that does not work, please .
For queries on any of the sections covered in this guide, you can or start a conversation on our channel.