Integrating Shopify with Rule
About integration
Rule has a ready-made integration with Shopify that makes it easy for you to get your customer and order data from Shopify to Rule. After that, you can set up automation flows in Rule, e.g. Thanks for the purchase, Retention, Winback and much more.
The integration is free to use for the Rule's customers and you can activate it yourself in a few simple steps.
- Installation
- Events sent to Rule
- custom field sent to Rule
Installation
- Sign in to your store in Shopify.
- Click here to start the installation of Rule's Shopify app
- Skriv in namnet på din butik i formatet "teststore.myshopify.com". Namnet skall inte innehålla några prefix, t.ex. "http://", som nedan:

- Read the instructions and approve installing the Rule app in Shopify, clicking "Install unlisted app".

- The next step is to create an API key, you can do this through the green button "New API key" on the right side:
https://app.rule.io/#/settings/developer.
- Paste Rule API key into Shopify Settings tab
- Click on "Save". Data from Shopify will now start sending to Rule.


https://app.rule.io/#/settings/developer.

The data will start showing up in Rule immediately after the next order.Please make a test call to Rule for all your feeds, then you will be able to see in your account in Rule what data you are receiving and to which tag.
Got stuck on any step? Contact us at support@rule.se We will gladly help you!
NOTE: If you are using the Safari browser and fail to complete the installation, go to Safari > Settings and click Privacy. Disable "Prevent cross-site tracking" / "Prevent cross-site tracking". Then test again.
Use
Events sent to Rule from Shopify
Triggered events in Shopify |
Description | Tag in Rule | Data sent to Rule |
Cart Updated | After the customer leaves their email address at checkout in Shopify | CartInProgress | Subscriber & Order Data |
Order Shipped | After the order is delivered and you selected "Fulfill orders" in Shopify | OrderShipped | Subscriber & Order Data |
Order Completed | After the order is placed and you selected "Capture payments" in Shopify | OrderCompleted | Subscriber & Order Data |
Newsletter |
Customer has clicked in that they want newsletters via the website or ticked that they want newsletters in the checkout feed | Newsletter | - |
Automationer för e-handel
När E-handelsplattformen är kopplad till Rule så kan man sätta upp automationer på på triggande händelser i Shopify ovan. I denna artikel har vi beskrivit vanliga automationer för E-handel
custom field sent to Rule
Subscriber Fields
Subscriber.Source Subscriber.Zipcode Subscriber.City Subscriber.Address1 Subscriber.Address2 Subscriber.Number Subscriber.Country Subscriber.LastName Subscriber.FirstName
Order Fields
Order.Products (json) Order.Currency Order.Number Order.Date Order.ShippingAddress1 Order.ShippingAddress2 Order.ShippingCity Order.ShippingZip Order.ShippingCountryCode Order.TotalPrice Order.TotalWeight Order.TotalTax Order.ProductCount Order.Discount Order.Names Order.Gateway Order.Skus Order.CartUrl (Cart In Progress only)