Overview

This article will teach you how to track conversions from Zipify back to Everflow if the end order confirmation page is hosted by Zipify.

If you are still using the regular Shopify order confirmation page, then you do not need to do this process and you can simply just do the Shopify integration instead.

*Please note you MUST have the Conversion method set to anything EXCEPT "Server Postback". This setting is found in Offers > Manage > click the Offer > edit (the general tab) > Tracking & controls under Conversion Method drop down. *

*Please note that you will need to place the EF.click script on your store using the Shopify integration: https://helpdesk.everflow.io/en/articles/3754468-how-to-connect-set-up-shopify-accounts *

_________________________________________________________________

Step 1

You will need to format this script:

<script>
var orderId = '{{order_name}}'.replace('#','');
var checkoutDiscount = '{{checkout.discounts}}';
var discountCode = '{{discount.code}}';
var email = '{{email}}';
var subtotalPrice = '{{checkout.subtotal_price}}'
try {
var amountValue = window.document.getElementsByClassName('totals__value')[0].innerHTML.replace('$','');
}
catch(err) {
var amountValue = 'Invalid Element Selector';
}
(function() {
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "https://INSERT_TRACKING_DOMAIN_HERE/scripts/sdk/everflow.js";
script.onload = function() {
// Call desired functions
EF.conversion({
aid: 1,
amount: amountValue,
order_id: orderId,
adv2: email,
adv1: checkoutDiscount,
coupon_code: discountCode,
parameters: {
'email': email
}
});
};
document.getElementsByTagName("head")[0].appendChild(script);
}
)();
</script>

Replace INSERT_TRACKING_DOMAIN_HERE with your tracking domain from Offers > manage > click the Offer > Conversion Method box from here:

_________________________________________________________________

Step 2

After you have adjusted that script please go to the Zipify app within Shopify and navigate to the "Additional Scripts" section then click on "Thank You Page Scripts" here:

_________________________________________________________________

Step 3

Then place the script in that section like this and then click "Save Code":

_________________________________________________________________

NEED HELP? OUR CUSTOMER SUCCESS TEAM IS HERE FOR YOU!

If you have any issues or questions, we've assembled a superstar team of industry veterans that are available around the clock to make sure that your issues and questions get personally resolved. You can reach out to them at any time in-platform via Chat or by emailing support@everflow.io.

Did this answer your question?