Updated in Feature Release 2.9.0 (October 20, 2020): JS SDK Script generator added to the conversion script



Overview

Recommended: Direct Linking enables you to track a user as a click when they reach your landing page without requiring a click on an Everflow Tracking Link. That click is still unique to the Partner and Offer. Direct Linking improves the User experience by removing the traditional redirect that comes with a tracking link and allows Partners to promote through channels that prohibit third-party links, like Facebook and Google.

For alternative Conversion Tracking options - [Click Here]


Step #1

Navigate to Offers - Manage, then click the desired Offer.

Step #2

Under the General tab, click to expand the Everflow JS SDK card to find the Direct Linking JavaScript codes for tracking Clicks and Conversions.

Step #2A

To set up Click tracking, be sure you are looking at the Click tab within the JS SDK card, as shown below.

  • Place the Click JavaScript on the landing page you will be using for Partner traffic. To track all Partner traffic across your entire website, place the Click JavaScript in your global footer.

Step #2B

To set up Conversion tracking, be sure you are looking at the Conversion tab within the JS SDK card, as shown below.

  • Select the Domain used for the conversion.
  • Select which Conversion to track. (i.e Base or Event)
  • Select either Offer ID, to build a script that will work for this specific Offer only, OR the Advertiser ID, which can track multiple offers associated with this Advertiser.
  • (Optional) Include additional parameters in the conversion code. (See adv1: 'example' below.)

Place the Conversion JavaScript on your Confirmation/Thank You Page to record Conversion data in your Everflow portal.


For the Everflow JS SDK Documentation - [Click Here]


**Advanced Guide**

Customized Parameters

If you would like to customize the parameters used for Direct Linking clicks, navigate to Advertisers - Manage > Select Advertiser > Edit > Select Additional Information Tab > Edit under Direct Linking.

Impression Tracking

Track impressions through Direct Linking.

Please note that we still attribute the conversion from the impression if there isn't a click fired, but the click will take precedence for attribution.

Advanced Direct Linking Conversion Setup

You can pass back additional parameters in of the Conversion JavaScript, including the following:

<script type="text/javascript" src="https://(Domain in your standard tracking links)/scripts/sdk/everflow.js"></script>

<script type="text/javascript">EF.conversion({

offer_id: [Your Offers ID], // ( Required if aid is not present).

aid: [Your Advertisers ID], // ( Required if offer_id is not present).

transaction_id: EF.urlParameter('tid'), // Optional. Returned from partners using an Everflow tracking link redirect.

amount: 0, // Optional. Purchase amount used for RPS offers - your Shopping Cart may be able to generate this dynamically.

coupon_code: '', // Optional. Coupon code used - your Shopping Cart may be able to generate this dynamically.

event_id: [Your Event's ID], // this is required if you are placing this for an offer level event .

adv_event_id: [Your advertiser Event's ID], // this is required if you are placing this for an advertiser event . })</script>

Using Direct Linking and Coupon Code Tracking URLs

To use this method with Direct Linking, you will need to do the following: Set Conversion Method to JavaScript, deactivate the Direct Linking toggle (it will still work), and under General add &tid={transaction_id} to the Base Destination URL.

You will then need to modify your existing JS SDK Click Script by adding the following inside the EF.click{[ section:

transaction_id: EF.urlParameter('tid'),

Once set up, your Coupon Code Tracking URL will re-direct traffic to your normal destination URL, which will include all of the necessary details for the JS SDK Script to track the user properly.

Campaigns with Multiple Points of Entrance

If you have several different ways users will reach the advertisers' websites, such as multiple landing pages that you're testing, then you will need to place the same Direct linking JavaScript on every single one of the landing pages.

Campaigns with Multiple Events

As mentioned above, you will need to place the conversion tag on the confirmation page for each successful Event's conversion, You can choose which event in the dropdown within the JS SDK conversion script and paste this code within the page that the conversion occurs.

Google Ad Buying

You can instead use Parallel Tracking for tracking this channel, if preferred- [See Parallel Tracking Guide].

Using Verification Token for added security

If you have verification token enabled for a specific advertiser, the verification token will be added automatically to the conversion JavaScript on all Offers under this Advertiser. Learn more about Verification tokens- [Here].

Using Direct Linking AND Redirect Links Together

You can use both Direct Linking and redirect links on the same offer if you do not turn on direct linking when setting up the offer and place the javascript click pixel like this (follow the instructions under transaction_id below and use &tid= in the Base Destination URL):

<script type="text/javascript" src="https://(Domain in your standard tracking links)/scripts/sdk/everflow.js"></script>

<script type="text/javascript" >EF.click({
offer_id: EF.urlParameter('oid'),
affiliate_id: EF.urlParameter('affid'),

transaction_id: EF.urlParameter('tid'), //make sure to use &tid={transaction_id} in the base destination url for an offer that uses redirects and direct linking at the same time. //

Optional. You can hard code additional information to be tracked with the click. EX: sub1: 'Facebook', (In order to pass, you need to move that section above the // Optional section) sub1: '', sub2: '',});</script>

Passing more data in the EF.click script

You can append more data to the destination URL string in order to pass that into the sub ID spots by adding more spots to the script like this:

<script type="text/javascript" src="https://(Domain in your standard tracking links)/scripts/sdk/everflow.js"></script>
<script type="text/javascript" >
EF.click({ offer_id: EF.urlParameter('oid'),
affiliate_id: EF.urlParameter('affid'),// Optional. You can hard code additional information to be tracked with the click. EX: sub1: 'Facebook', (In order to pass, you need to move that section above the // Optional section) sub1: EF.urlParameter('value1'), sub2: EF.urlParameter('fb_campaign_value'), sub3: EF.urlParameter('name'), sub4: EF.urlParameter('campaign_id'), sub5: EF.urlParameter('data_point2'),});
</script>

Please note that you have to add these parameters to the Base Destination URL following that example: https://destination-url.com?affid=5&oid=1&value1=INSERTDATA&fb_campaign_value=INSERTDATA&name=INSERTDATA&campaign_id=INSERTDATA&data_point2=INSERTDATA


ALTERNATIVE CONVERSION METHODS

There are seven different conversion methods in the Tracking & Controls section when editing or adding a new Offer:

Recommended for In-App Tracking: Server Postback

A Postback URL creates a server-to-server connection for recording conversions and events through generating a unique Transaction ID for each user's click and then returning the successful conversion data.

To see a step-by-step guide for setting up Postbacks with your Advertisers - [Click Here]

Here is a flowchart to illustrate how the flow works once a postback hits Everflow:

Cookie-Based

This form of tracking is based on a cookie and does not require a transaction ID/click ID to be passed back to us in order for a conversion to be recorded.

HTTP Iframe Pixel (with Transaction ID)

This non-secure Iframe does not require a transaction ID to be sent to us when the Iframe is fired in order for a conversion to be recorded, though we do recommend using the transaction ID when possible. If no transaction ID is found, we will use the cookie as a fallback.

HTTP Image Pixel (with Transaction ID)

This non-secure Image pixel does not require a transaction ID to be sent to us when the Iframe is fired in order for a conversion to be recorded, though we do recommend using the transaction ID when possible. If no transaction ID is found, we will use the cookie as a fallback.

HTTPS Iframe Pixel (with Transaction ID)

This secure Iframe does not require a transaction ID to be sent to us when the Iframe is fired in order for a conversion to be recorded, though we do recommend using the transaction ID when possible. If no transaction ID is found we will use the cookie as a fallback.

HTTPS Image Pixel (with Transaction ID)

This secure Image pixel does not require a transaction ID to be sent to us when the Iframe is fired in order for a conversion to be recorded, though we do recommend using the transaction ID when possible. If no transaction ID is found we will use the cookie as a fallback.

Javascript

This requires that the JavaScript code be fired with a transaction ID in order for the conversion to be recorded.

Coupon codes and alternative clickless tracking methods

If you need more information on this please [click here].

**Pro Tip - For the most accurate results with cookie-based tracking, make sure that the tracking domain and conversion domain are the same.


NEED HELP? OUR CUSTOMER SUCCESS TEAM IS HERE FOR YOU!

We've assembled a superstar team of industry veterans that are available around the clock to make sure that your issues are resolved and questions are answered. You can reach out any time in-platform via Chat or by emailing support@everflow.io.

,

Did this answer your question?