Conversion Tracking for Have2Have.it

Track sales on your website coming from Have2Have.it directly on your dashboard with our new beta feature.  If conversion tracking is enabled, you'll now see a new metric field displayed on the Overview tab of your dashboard.  

To start seeing real time sales generated by traffic coming from Have2Have.it--all you need to do is turn on Conversion Tracking by going to Settings-->General and install one line of code on your e-commerce platform's checkout section.  

For Shopify

Log in to your Shopify admin and go to Settings-->Checkout and paste the following script with YOUR-STORE-ID in the field: Additional content and scripts. 

<script type="text/javascript" src="https://api.have2have.it/events/conversion?store-id=YOUR-STORE-ID&order-id={{ order_number }}&total={{ subtotal_price | money_without_currency }}&currency={{ shop.currency }}"></script>

You can find YOUR-STORE-ID while logged in to your Have2Have.it dashboard.  It's the number in the URL once you're logged in.  In the example below, 1 is the Store ID. 

Here's where to paste the code in Shopify: 

Big Commerce

Log in to your Big Commerce admin and go to Settings-->Advanced Settings-->Affiliate conversion Tracking and paste the following script with YOUR-STORE-ID in the field: Conversion Tracking Code. 

<script src="https://api.have2have.it/events/conversion?store-id=YOUR-STORE-ID&order-id=%%ORDER_ID%%&total=%%ORDER_SUBTOTAL%%"></script>

Magento

Insert the following script with YOUR-STORE-ID in to your confirmation/success template (the page a customer is taken to when they complete a successful transaction).  

<?php
$orderId = Mage::getSingleton('checkout/session')->getLastOrderId();
$order = Mage::getModel('sales/order')->load($orderId);
$total = number_format($order->getSubtotal(),2,'.','');
?><script src="https://api.have2have.it/events/conversion?store-id=YOUR-STORE-ID&order-id=<?php echo $orderId ?>&total=<?php echo $total ?>"></script>

Volusion

Insert the following script with YOUR-STORE-ID in to your confirmation/success template (the page a customer is taken to when they complete a successful transaction).  You can find Volusion's instructions to install this code here.    

<script>if (typeof Order != 'undefined') {
(function(){
var src = "https://api.have2have.it/events/conversion?store-id=YOUR-STORE-ID";
src += "&order-id=" + Order[0];
src += "&total=" + Order[2];
var s = document.createElement('script');
s.type = 'text/javascript';
s.async = true;
s.src = src;
var x = document.getElementsByTagName('script')[0];
x.parentNode.insertBefore(s,x);
})();
}</script>

All Other E-Commerce Platforms

Please use the following code, but replace the variables in between {{ }} to accommodate the relevant variables on your e-commerce platform.  Once you replace these variables, insert the snippet in to your confirmation/success template (the page a customer is taken to when they complete a successful transaction).  

<script type="text/javascript" src="https://api.have2have.it/events/conversion?store-id=YOUR-STORE-ID&order-id={{ order_number }}&total={{ subtotal_price | money_without_currency }}&currency={{ shop.currency }}"></script>

Have questions about this beta feature?  Email support@soldsie.com

Have more questions? Submit a request

Comments

Powered by Zendesk