Table Of Contents
Overview
Ontraport is a powerful CRM and automation platform designed to streamline your marketing, sales, and business operations within one unified system.
Step 1. Place The Click Script
In order to capture and pass Everflow transaction ID in Ontraport, you need to use the script below:
<script type="text/javascript" src="https://www.trackingdomain.com/scripts/sdk/everflow.js"</script>>
<script type="text/javascript">
window.onload = function() {
if (!EF.getAdvertiserTransactionId(1)) {
EF.click({
offer_id: EF.urlParameter('oid'),
affiliate_id: EF.urlParameter('affid'),
sub1: EF.urlParameter('sub1'),
sub2: EF.urlParameter('sub2'),
sub3: EF.urlParameter('sub3'),
sub4: EF.urlParameter('sub4'),
sub5: EF.urlParameter('sub5'),
uid: EF.urlParameter('uid'),
source_id: EF.urlParameter('source_id'),
transaction_id: EF.urlParameter('_ef_transaction_id'),
}).then(function(transactionId) {
var elems = document.getElementsByName("ontraport hidden field");
for (var i = 0; i < elems.length; i++) {
elems[i].value = transactionId;
}
});
} else {
var elems = document.getElementsByName("ontraport hidden field");
for (var i = 0; i < elems.length; i++) {
elems[i].value = EF.getAdvertiserTransactionId(1);
};
}
}
</script>
Please replace the bolded parts of the script with your Everflow tracking domain, Advertiser ID, and your custom Ontraport Hidden field.
You will need to create a hidden form field in Ontraport , then find the ID of that field to use here.
You can follow the steps the article linked below to create a hidden form field in Ontraport.
Step 2. Add Postback
In Ontraport, go to Automations > Rules > Create a new Rule to add a postback for an Event that you would like to track in Everflow.
Watch this video below for a detailed step-by-step: