Tracking with UTT: JavaScript Functions
Read more about tracking with UTT.
identify function
The identify function is used to identify users accurately across your site, particularly across devices. Supply identifiers so impact.com can map users to conversion events for attribution. You can learn more about installing the identify function here.
<script type="text/javascript">
ire('identify', {
customerId: 'Customer Id',
customerEmail: 'SHA1 Email Address',
customProfileId: 'UUID'
});
</script>generateClickId function (Direct Tracking)
The generateClickId function can be used to obtain the impact.com clickId value whenever accessing the clickId value from the landing page URL’s query string parameters is not possible.
<script type="text/javascript">
ire('generateClickId', function(clickId) {
// use clickId here
});
</script>trackCart function (Last to Cart crediting)
Last to Cart is similar to Last Click crediting in that one of the last steps a customer takes in the conversion path will determine which partner receives all the credit and payout for the conversion.
With Last to Cart crediting, the last time a customer adds an item to their cart will determine the winning partner. Implementing the trackCart function is required to support usage of the Last to Cart credit policy. See Last to Cart Credit Policy Explained for more details.
Add this function to the Add to Cart button.
Conversion Pixel
Last updated
Was this helpful?

