If you have an online shop, you can do much more than just tracking your campaign performance. See the number of actual orders made by visitors who have converted on your Exit Bee campaigns.
- Wordpress (WooCommerce), click here for instructions: How to install the Wordpress plugin
- Shopify, click here for instructions: How to track Shopify orders
- OpenCart, click here for instructions: How to integrate with OpenCart
Custom Installation
<!--exitbee push orders--> <script type="text/javascript"> window.eb=window.eb||function(){(eb.q=eb.q||[]).push(arguments)}; var orderData = { "customer_last_name": "###CUSTOMER_LAST_NAME###", "customer_first_name": "###CUSTOMER_FIRST_NAME###", "customer_email": "###CUSTOMER_EMAIL###", "total": ###ORDER_TOTAL_PRICE###, "currency": "###ORDER_CURRENCY###", "oid": "###ORDER_ID###", "suid": "###CUSTOMER_ID###", "billing_address": "###BILLING_ADDRESS###", "products": [{ "name": "###PRODUCT_NAME###", "sku": "###PRODUCT_SKU###", "quantity": "###PRODUCT_QUANTITY###", "price": "###PRODUCT_PRICE###", "category":"###PRODUCT_CATEGORY###", "url": "###PRODUCT_URL###"" } ] }; eb('pushOrder', orderData); </script> <!--End exitbee push orders-->
NAME | TYPE | VALUE |
total | float, required | The order total amount |
currency | currency ISO code, required | The currency of the order. Should be a 3 letter ISO code as described here |
customer_email | email, optional | The customer’s email |
customer_last_name | string, optional | The customer’s last name |
customer_first_name | string, optional | The customer’s first name |
oid | string, optional | The order id |
suid | String, optional | The customer id |
billing_address | String, optional | The billing address |
products | Array, optional | Array of products bought |
products.name | String, required if products | The product bought name |
products.sku | String, required if products | The product bought sku |
products.quanity | Integer, required if products | The product bought quantity |
products.price | Float, required if products | The product bought price |
products.category | String, required if products | The product bought category |
products.url | String, required if products | The product bought url in the eshop |
<!--exitbee push orders--> <script type="text/javascript"> window.eb=window.eb||function(){(eb.q=eb.q||[]).push(arguments)}; var orderData = { "customer_last_name": "Doe", "customer_first_name": "Jane", "customer_email": "[email protected]", "total": 101, "currency": "EUR", "oid": "1523", "suid": "309814", "billing_address": "Belking Street 45371, London UK", "products": [{ "name": "iPhone", "sku": "A-88999", "quantity": 1, "price": 101, "category": "Smartphones", "url": "http://localhost/opencart/index.php?route=product/product&product_id=40" } ] }; eb('pushOrder', orderData); </script> <!--End exitbee push orders-->
Ajax success page
exitBeeModal.consumeEvents();