If you’re also wondering how to improve your cart abandonment rate as fast as possible without harming your visitors’ onsite experience, look no further. Using Cart Rules in campaign targeting can help you reduce cart abandonment rate, improve your checkout page and increase sales.
In this article, you’ll learn:
- What Cart rules are and why use them
- Automatic cart content detection for Shopify, WordPress, WooCommerce, Magento, and Shoprenter stores
- How can I use Cart rules if I have a different website than the above?
- How to add a new Cart rule
- Conditions for Cart rules
- How to check what information is forwarded to OptiMonk about a specific product
- Combining more Cart rules
1. What Cart rules are and why use them
Taking the time to create a well-timed popup that appears when a visitor is about to leave your site allows you to save lost customers and their carts. So, how can you make sure your timing is right when it comes to cart abandonment? OptiMonk’s cart rules. They ensure that only visitors with specific cart content will see your campaign. And here are some actionable campaign ideas to start improving your cart abandonment rate today!
🆓 Provide discounts or free shipping to encourage your customers to finish the checkout process:
🏃♂️ Increase the sense of urgency in buyers by using a countdown timer:
👔 Use proactive product recommendations that match the style of the item added to the cart to upsell:
2. Automatic cart content detection for Shopify, WordPress, WooCommerce, Magento, and Shoprenter stores
If you have a Shopify, WordPress, WooCommerce, Magento, or Shoprenter site, OptiMonk can automatically detect the content of the visitor’s cart and use this information for the display rules of the messages once the OptiMonk application is installed. This way you can display campaigns based on the conditions detailed below.
3. How can I use Cart rules if I have a different website than the above?
4. How to add a new cart rule?
1) Log in to your OptiMonk account at https://app.optimonk.com/
2) Click on Campaigns on the left and select the Campaign you wish to edit.
3) Select Edit settings on the right.
4) Click on Select who should see the popup and then click on Add new rule.
5) Scroll down and select Cart rules:
6) You will see the available conditions on the next screen.
5. Conditions for Cart Rules
If you have a Shopify or Shoprenter store, you can display campaigns based on the following conditions:
If you have a WordPress, WooCommerce, Magento, or custom store, you can display campaigns based on the following conditions:
Now let’s check each condition one by one!
The cart value is
Use this rule when you would like to target your visitors based on the total value of the products added to the cart. Example: Display the popup for visitors with a cart value between $20 and $50.
The total number of products are
This rule allows you to configure the popup to appear based on the number of items a visitor has added to their cart. Example: Display the popup for only those visitors who have at least two products in their cart.
The number of product types is
When you wish to set the popup to appear when different products are added to the cart, you need to add this rule to your campaign. For example, the popup should appear when there are at least 3 different products in the visitor's cart:
Conditions based on specific products in the cart
If you want to define that the popup should appear when specific products are added to the cart, you can use the following conditions:
1) For Shopify and ShopRenter stores:
You just need to select the product(s) by clicking on the ‘+ Select products’ button - from the product catalog where you can find a list of the products you have already uploaded to your Shopify or Shoprenter store. For example, display the popup for those visitors who do not have specific products in their shopping cart:
2) For WordPress, WooCommerce, Magento, or other stores:
You can set rules based on Product Name, Product ID, or SKU. This information is forwarded to OptiMonk about your product and is listed in the source code of your website. Don’t worry, it sounds more difficult to find it than it really is. :) To find the above information about your product, please follow the steps mentioned here.
6. How to check what information is forwarded to OptiMonk about a specific product
When a visitor adds a product to the cart, a bunch of information is forwarded to OptiMonk automatically. This looks something like this:
Of course, this information is unique to each of your products.
If you want to check what information is forwarded to OptiMonk for a specific product, you can do so with the following steps using the Google Chrome browser. In this example, we will check the Product ID of a product to demonstrate the setup process:
1) Go to your store as a visitor, and add the product to your cart.
2) Once the product is added to the cart, you will see the information forwarded by pressing F12 on your keyboard (or fn + F12 on Mac).
3) Select the Application tab in the new window, and select your own website under Session Storage.
4) Click on OptiMonkVisitorCart, then on the dropdown, arrow to see the available information.
5) You could use any of this information for the Cart rules. Let's use the product_id for this example.
6) As you can see above, the product_id is 4587144773676, so the rule would look like this:
💡 Please also pay attention to upper and lower case letters when defining these values.
💡 Please note that this information is unique to each of your products.
💡 If any of the values are empty, it is because you need to set them up on your website's admin page first before you can use them for the Cart rules.
7. Combining more cart rules
You’ll be able to combine multiple rules together. This gives you tons of flexibility. To add more cart rules to your popup, click on the "+ Add another rule" button on the left.
The relationship between these conditions is ”AND” as indicated.
These relationships can't be modified, they are a default setting in the system.
✉️ If you need any further help or have any questions, please let us know at firstname.lastname@example.org, and we would be happy to assist you :)