E-commerce integration




With New Trade integrated into Rule, you can collect order history, customer, product, and behavioral data, giving you insights for segmented, personalized, automated, and data-driven communication.


We will go through:


  1. Installation
  2. Usage
  3. E-commerce automations
  4. Data fields sent to Rule



Installation


  1. Create an API key in Rule. Go to 'Settings' > 'Developers' > Create new API key > Name the API key > Copy
  2. Log into New Trade, click on 'Apps' in the menu, and then on 'Integrations'
  3. Then select the 'Newsletter' category, choose Rule, and click 'Install'

Then enter the created API key in this field to complete the integration.



Done! If you have any questions about the integration, you can contact support@newtrade.com



Usage


Tag in Rule
Description 
Data sent to Rule
Ordercompleted

When one or more items have been added to the shopping cart and the order has not yet been completed

Subscribers & Cart Data


NewsletterCustomer has clicked to receive newsletters via the website or checked that they want to receive newsletters in the checkout flow.

-




Automations for e-commerce
Once the e-commerce platform is linked to Rule, you can set up automations for the events mentioned above. In this article, we describe common e-commerce automations.



Data fields sent to Rule


Subscriber


Subscriber.Source
Subscriber.FirstName
Subscriber.LastName
Subscriber.Number
Subscriber.Company
Subscriber.Birthday
Subscriber.Country
Subscriber.State
Subscriber.Postcode
Subscriber.City
Subscriber.Address1
Subscriber.Address2


Only for OrderCompleted


Order.CheckoutUrl
Order.Date
Order.Number
Order.Subtotal
Order.Discount
Order.Shipping
Order.TotalVat
Order.Total
Order.Currency
Order.BillingName
Order.BillingCompany
Order.BillingAddress1
Order.BillingAddress2
Order.ShippingCountry
Order.ShippingCity
Order.ShippingPostcode
Order.ShippingAddress1
Order.ShippingAddress2
Order.Brands
Order.Names
Order.SKUs
Order.Variations


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article

Other ways to get help

Sign up for our next training

Free

Become an expert in Rule and discover the power of all the functions in the platform. We guide you step-by-step!

Contact us to book a Workshop

Discover how you can increase digital engagement and growth in a personal review of Rule

Couldn’t find what you needed?

No worries, feel free to reach out to our support about any queries!

Sign up to our newsletter!

I agree to receive Rules newsletter in accordance with the privacypolicy.