Rule has a ready-made integration with Shopify that makes it easy for you to import your customer and order data from Shopify to Rule. After that, you can set up automation flows in Rule, such as Thank you for purchase, Retention, Winback, and much more.
Tag in Rule | Data sent to Rule | Description |
CartInProgress | Subscriber & Order Data | After the customer has entered their email address at checkout in Shopify |
OrderShipped | Subscriber & Order Data | After the order has been delivered and you have selected 'Fulfill orders' in Shopify |
OrderCompleted | Subscribers & Order Data | After the order has been placed and you have selected 'Capture payments' in Shopify |
Newsletter | - | Customer has clicked that they want to receive newsletters via the website or checked that they want to receive newsletters in the check-out |
Installation
Log in to your store in Shopify and retrieve your store ID, which you’ll find in the URL once you're logged in. Example: https://admin.shopify.com/store/example
Enter your store ID link as shown above, along with the email address associated with your account, in the form below.
Click here to start the installation of the Rules Shopify app.
Enter the name of your store in the format 'teststore.myshopify.com'. The name should not contain any prefixes, such as "http://", as shown in the image below.
Read the instructions and approve the installation of the Rule app in Shopify, click 'Install unlisted app'
The next step is to create an API key, which you can do in 'Settings' > 'Developers' > 'Create new key'
Paste Rule's API key into the Shopify Settings tab
Click 'Save'.
Data will start appearing in Rule immediately after the next order. We recommend that you make a test call to Rule for all your flows to see what data is collected and to which tag it is sent.
If you are using the Safari browser and have trouble completing the installation, go to Safari > Settings and click on Privacy. Disable "Prevent cross-site tracking". Then try again.
Forms & pop-ups
If you want to add forms or pop-ups to your own Shopify page, you can use Shopify Forms. Activate Shopify Forms when you're done with your settings, and it will appear on your page, adding the member to the 'Newsletter' tag.
Datafields 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)





