Format of JavaScript conversion tracking tags version 3

The following format is for sites that use HTTPS. For sites that use HTTP, the URLs should begin with “http.”

NOTE
For information about when to use Version 2 versus Version 3, see the FAQs on tracking tags.
<script type='text/javascript'>
    (function() {
        var f = function() {
              EF.init({ eventType: "transaction",
                        transactionProperties : "ev_property=<property name>&ev_transid=<transid>",
                        segment : "",
                        searchSegment : "",
                        sku : "",
                        userid : "ef-userid",
                        pixelHost : "pixel.everesttech.net"

                        , allow3rdPartyPixels: 1});
              EF.main();
        };
        window.id5PartnerId=<ID5_PartnerID>
        window.EF = window.EF || {};
        if (window.EF.main) {
            f();
            return;
        }
        window.EF.onloadCallbacks = window.EF.onloadCallbacks || [];
        window.EF.onloadCallbacks[window.EF.onloadCallbacks.length] = f;
        if (!window.EF.jsTagAdded) {
            var efjs = document.createElement('script'); efjs.type = 'text/javascript'; efjs.async = true;
            efjs.src = 'https://www.everestjs.net/static/st.v3.js';
            var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(efjs, s);
            window.EF.jsTagAdded=1;
        }
    })();
</script>
<noscript><img src="https://pixel.everesttech.net/<ef-userid>/t?ev_property=<property name>&ev_transid=<transid>" width="1" height="1"/></noscript>

where:

  • <ef-userid> is a unique, numeric user ID that Search, Social, & Commerce assigns to the advertiser.

  • <ID5_PartnerID> is the organization’s ID5 partner ID, which the organization receives after signing an agreement with ID5. Include this variable only when the organization uses DSP and has custom segments that track users associated with ID5 universal IDs.

  • <propertyname> is the conversion to track. For example, if you’re tracking a conversion called “registration,” then the tag would include the parameter ev_registration=<registration>, and you would need to pass the actual revenue for each transaction (such as ev_registration=1). When multiple properties are tracked, they’re joined by an ampersand (&), such as ev_registration=<registration>&ev_sale=<sale> (for example, ev_registration=1&ev_sale=12.99). Note: The property name may not include special characters.

  • <transid> is a unique transaction ID (such as an actual order ID) that the advertiser generates and passes to identify a transaction. It’s included only when the “Include unique transaction IDs” option is selected.

    Search, Social, & Commerce uses the transaction ID to eliminate duplicate transactions with the same transaction ID and property value. The transaction ID is included in the Transaction Report, which you can use to validate data within Adobe Advertising with the advertiser’s data. Note: If the advertiser’s data doesn’t include a unique ID per transaction, then Search, Social, & Commerce still generates one based on transaction time.

recommendation-more-help
bba95088-f653-468b-a1c0-bd1dbc81025c