Integration Tutorials /  

Privy

Privy

Track Leads captured using Privy forms and attribute future purchases to their sources.

Contents

Track Privy Lead Forms

Able supports tracking of Leads captured using Privy forms.

It allows Able CDP to record customer details early in the funnel and attribute future purchase conversions, sending them to Google AnalyticsGoogle Ads and Facebook Ads. This allows to use ad platforms and Google Analytics native reports to report on lead and purchase conversions, as well as to drastically improve audience optimization by letting ad platforms know what leads have converted into paying customers.

  1. Add Able Tracking Code to Privy

    To allow Able CDP to track Privy forms, insert the following tracking code to Business Information - Business Settings - Customisations - Conversion Pixels in Privy:

    <script>
    (function() {
    var el = document.createElement('script');
    el.src = 'https://app.ablecdp.com/ue.js';
    el.async = 'true';
    el.addEventListener('load', function() {
    uipe('init', '%%FUNNEL_MARK%%');
    uipe('track', 'Lead', {
    keys: { email: '{{ contact.email }}' },
    lead: { firstName: "{{ contact.first_name }}", lastName: "{{ contact.last_name }}", couponCode: "{{ signup.coupon_code }}" },
    });
    });
    document.head.appendChild(el);
    })();
    </script>

    Where %%FUNNEL_MARK%% is the unique identifier of the funnel.

    New leads will start appearing in the Customers tab immediately once the code installed.