Overview
This article will teach you how to track conversions from Zipify back to Everflow, for both the Native and Legacy OneClickUpsell app versions.
How do I know if I am using the Native or Legacy OCU app?
If the app was installed from the Shopify App Store and has a blue/orange color scheme, and your store is using the regular Shopify order confirmation, you’re using the Native version. For Native App Setup Guide - [Click Here]
If your order confirmation page is still hosted by Zipify, you are on the Legacy version. For the Legacy App Setup Guide - [Click Here]
**Please note for both app versions, the Conversion Method can be set to anything EXCEPT Server Postback. This setting is found in Offers > Manage > click the Offer > Edit (General tab) > Tracking & Controls.
Setup Guide for the Native App
The Native app uses the regular Shopify order confirmation and only requires you to integrate with your store via our Shopify app integration.
Please follow the steps in this setup guide, making sure to enable "Reconciliation" under the integration.
Testing and conversion reporting in Everflow
To test the integration, pull a tracking link from the Offer > Tracking Links tab in Everflow and go through the purchase like a real user. If the test is successful, you will see the conversion under Reporting - Conversion.
When an order is made, the entire order (base product and upsell) is recorded as a single base conversion with the combined sale amount.
If the base product is purchased but the page is abandoned at the post purchase upsell, the conversion may be delayed up to 12 hours.
Setup Guide for the Legacy App
Step #1
Place the EF.click script on your store using the Shopify integration.
Step #2
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}} / 100;
(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: INSERT_ADVERTISER_ID,
amount: subtotalPrice,
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 found on the Tracking card (Offers - Manage > Click the Offer > Tracking):
Replace INSERT_ADVERTISER_ID with the Advertiser ID found on the General card (Offers - Manage > Click the Offer > General):
In this case it would be 80.
Step #3
Go to the Zipify app within Shopify and navigate to the Additional Scripts section, then click Thank You Page Scripts:
**Please note that per Zipify: "Discount variables can only return data about the initial checkout. So scripts that contain discount variables should be inserted in the 'First Upsell Page Scripts' field." Please contact the Customer Success team with questions.
Step #4
Paste the script from Step #1 and click Save Code:
Step #5
To test the integration, pull a tracking link from the Offer > Tracking Links in the Everflow dashboard and go through the purchase like a real user. If the test is successful, you will see the conversion under Reporting - Conversion.