The Litium integration connects Litium with Rule and automatically syncs customer, order and cart data. With the integration, you can use data from your online store to create segments, automated customer journeys and personalised communication via email and SMS.
The integration sends events from Litium to Rule when customers add products to the cart, go to checkout, complete a purchase, sign up for the newsletter or have their orders shipped.
Tag | Data sent to Rule | Description |
CartInProgress | Cart Data | Applied when a cart is updated and can be used for scenarios such as abandoned cart communication. |
CheckoutInProgress | Subscriber & Cart Data | Applied when a logged-in customer has navigated to the checkout with products in the cart. |
OrderCompleted | Subscriber & Order Data | Applied when an order has been confirmed. |
OrderShipped | Subscriber & Order Update Data | Applied when an order has been shipped. |
Newsletter |
| Applied when a customer opts in to the newsletter in the checkout when placing an order. |
All events sent to Rule require that the customer can be identified by an email address. If no email address is registered on the cart, no data can be synced to Rule.
For the integration to work correctly, the customer's email address needs to be updated on the cart at login or during checkout. This is why CartInProgress and CheckoutInProgress are only applied for logged-in customers.
Data fields sent to Rule
Subscriber fields
The following fields are saved on the subscriber in Rule.
Subscriber.Source | Set to "Litium" when the data comes from the app |
Subscriber.Channel | Litium channel |
Subscriber.FirstName | First name |
Subscriber.LastName | Last name |
Subscriber.Country | Country |
Subscriber.City | City |
Subscriber.Postcode | Postcode |
Subscriber.Address1 | Address line 1 |
Subscriber.Address2 | Address line 2 |
Subscriber.State | State/region |
Subscriber.Number | Phone number |
Subscriber.Company | Company |
Subscriber.Birthday | Birthday |
Cart field group
Populated by the CartInProgress and CheckoutInProgress tags.
Cart.Products | CartInProgress | List of products in the cart, with sku, name, brand, category, url, price, quantity, subtotal, variation and image |
Cart.Brands | CartInProgress | List of brands in the cart |
Cart.Names | CartInProgress | List of product names in the cart |
Cart.SKUs | CartInProgress | List of article numbers in the cart |
Cart.Variations | CartInProgress | List of product variations in the cart (if the field is set in the config) |
Cart.Categories | CartInProgress | List of categories in the cart |
Cart.CartUrl | CartInProgress | Abandoned cart URL (set by a field in the config) |
Cart.UpdatedDate | CartInProgress | Latest cart update |
Cart.CheckoutUrl | CheckoutInProgress | URL to the checkout |
Note: for CartUrl and CheckoutUrl to rebuild the customer's cart, such a URL must be implemented in your Litium platform.
Order field group
Populated by the OrderCompleted tag.
Order.Number | Order number |
Order.Date | Date and time the order was placed |
Order.Subtotal | Total product value |
Order.Discount | Total order discounts |
Order.Shipping | Total shipping cost |
Order.Total | Total order value |
Order.Currency | Currency |
Order.BillingName | Billing name |
Order.BillingAddress1 | Billing address, line 1 |
Order.BillingAddress2 | Billing address, line 2 |
Order.ShippingCountry | Shipping country |
Order.ShippingCity | Shipping city |
Order.ShippingAddress1 | Shipping address, line 1 |
Order.ShippingAddress2 | Shipping address, line 2 |
Order.ShippingPostcode | Shipping postcode |
Order.Products | List of products in the order, with sku, name, brand, category, url, price, quantity, subtotal, variation and image |
Order.Brands | List of brands in the order |
Order.Names | List of product names in the order |
Order.Categories | List of categories in the order |
OrderUpdate field group
Populated by the OrderShipped tag.
OrderUpdate.Ordernumber | Order number |
OrderUpdate.Products | Products shipped, including product data |
OrderUpdate.ShippingMethod | Shipping method |
OrderUpdate.ShippingCountry | Shipping country |
OrderUpdate.ShippingCity | Shipping city |
OrderUpdate.ShippingPostcode | Shipping postcode |
OrderUpdate.ShippingAddress1 | Shipping address, line 1 |
OrderUpdate.ShippingAddress2 | Shipping address, line 2 |
OrderUpdate.DeliveryStatus | Delivery status |
OrderUpdate.ExpectedDeliveryDate | Expected delivery date |
Installation
A step-by-step guide for the integration is available in Litium's documentation.
Historical order sync
If you want to start using Rule with your existing order history, previous orders can be synced to Rule.
Litium has a historical sync feature that sends all previous orders to Rule. The sync can be paused, resumed and monitored directly in Litium.
Note that if a historical sync is run more than once, duplicate order records may be created in Rule, since data that has already been synced is not removed automatically.
