Integrating Curebit on Your Site
BigCommerce Store Integration
Curebit is easily integrated into your BigCommerce store.
- Login to your store's control panel.
-
Click on Settings and then select Conversions from the drop down menu.
-
In the Conversion Tracking Code box, enter the code below:
Sample code: To get your personal integration code, YOUR-CUREBIT-SITE-ID needs to be replaced with your curebit store ID. To get your personalized Curebit Store ID, access integration instructions from inside your Curebit account.
<!-- Begin Curebit integration code --> <script type="text/javascript"> //<![CDATA[ (function(){function load_js(){var s=document.createElement('script');s.type='text/javascript';s.async=true; s.src='//d2jjzw81hqbuqv.cloudfront.net/assets/api/all-0.5-dcad92e5ec5c443c58622dd10eb6fe89.js'; var x=document.getElementsByTagName('script')[0];x.parentNode.insertBefore(s,x)} if(window.attachEvent)window.attachEvent('onload',load_js);else window.addEventListener('load',load_js,false)})(); var _curebitq = _curebitq || []; _curebitq.push(['init', { site_id: 'YOUR-CUREBIT-SITE-ID' }]); /* REQUIRED - Curebit Site ID */ var _curebit_order_details = { order_number: '%%ORDER_ID%%', /* REQUIRED - Order number */ email: '%%ORDER_EMAIL%%', /* REQUIRED - Customer Email Address */ subtotal: '%%ORDER_SUBTOTAL_DISCOUNTED%%', /* REQUIRED - Purchase Subtotal */ }; _curebitq.push(['register_purchase', _curebit_order_details]); //]]> </script> <!-- End Curebit integration code -->
- Click Save
-
You will see the popup below:
- Click OK
Verifying your integration
After installing Curebit, you should verify that the integration is working. All you have to do is check out from your store using the special email integration@curebit.com.
- Do a test checkout on your online store and use integration@curebit.com as the customer email address.
-
After checking out, you should see an integration success page that looks like this:
(Don't worry. This image is only shown when you use the special integration@curebit.com email address. No one else is seeing that image)
If you can't complete checkout with integration@curebit.com, we'll also verify your integration whenever someone completes checkout on your store (but they won't see anything).
Note for merchants who accept PayPal as a payment method
You must turn on auto-redirection to your thank you page for Curebit to work. Learn How
You must turn on auto-redirection to your thank you page for Curebit to work. Learn How
Optional features
Curebit offers many optional features you can include with your documentation, to find out more browse the Optional Features section of the documentation.