Skip to main content
All CollectionsHow To - Advanced Guides
Direct Linking Between Two Everflow Networks
Direct Linking Between Two Everflow Networks

How to set up the Direct Linking solution between two Everflow instances.

Dasha Shareyko avatar
Written by Dasha Shareyko
Updated over a week ago

For our developer documentation on this process - [Click Here]


Step #1 Configure Offer ID and Partner ID parameters.

Navigate to Advertisers > Manage > Select the Advertiser > Edit Additional Information Card.

**IMPORTANT: The parameters need to differ between each Everflow instance. For example, Network A (Advertiser/Brand) can use "oid" and "affid" and Network B (Partner/Affiliate) can use "oid2" and "affid2".

Step #2 Place the JS SDK Click and Conversion scripts.

Each network will have their unique Tracking Domain that will be used in the click and conversion scripts.

In the example below, the Tracking Domain of the Advertiser/Brand will need to replace ADVERTISER_TRACKING_DOMAIN and the Tracking Domain of the Partner/Affiliate will need to replace PARTNER_TRACKING_DOMAIN.

Example: Click Script

<script type="text/javascript" 
src="https://www.ADVERTISER_TRACKING_DOMAIN.com/scripts/sdk/everflow.js"></script>

<script type="text/javascript">
if (EF.urlParameter('affid2'))
{ EF.click({
tracking_domain: "https://www.PARTNER_TRACKING_DOMAIN.com",
offer_id: EF.urlParameter('oid2'),
affiliate_id: EF.urlParameter('affid2')
}).then((transaction_id) => {
EF.click({
tracking_domain: "https://www.ADVERTISER_TRACKING_DOMAIN.com",
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: transaction_id,
uid: EF.urlParameter('uid'),
source_id: EF.urlParameter('source_id'),
});
});
} else { EF.click({
tracking_domain: "https://www.ADVERTISER_TRACKING_DOMAIN.com",
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'),
});
}
</script>

*Conversion postbacks to the Partner can only be created by the Advertiser Conversion Script or the Advertiser themselves.

The Advertiser account requires a Partner Postback configuration. This postback should be set up to pass the Sub5 value as the Partner Transaction ID. Implementing this configuration enables the tracking of Conversions originating from the Advertiser account.


Example: Conversion Script

<script type="text/javascript" 
src="https://www.ADVERTISER_TRACKING_DOMAIN.com/scripts/sdk/everflow.js"></script>

<script type="text/javascript">
EF.conversion({
aid: ADVERTISER_ID,
});
</script>

Please note that the Tracking Domain of the Advertiser/Brand will need to replace ADVERTISER/BRAND_DOMAIN.

Step #3 Configure the Base Destination URL and Tracking Links.

Once the Offer is set up in Everflow, and the JS SDK click and conversions scripts are placed on the actual pages, the Advertiser/Brand can generate a tracking link for the Partner/Affiliate.

The tracking link will include the Offer and Partner parameters that are configured for the Advertiser/Brand. The Partner/Affiliate will use that tracking link as the Base Destination URL for their offer. For example:

https://OFFER_DOMAIN.com/?oid=X&affid=X

The tracking link generated by the network acting as the Partner/Affiliate will add the Offer and Affiliate parameters they have set. For example:

https://OFFER_DOMAIN.com/?oid=X&affid=X&oid2=X&affid2=X

💡Pro Tip💡

To avoid potential reporting discrepancies, targeting specifications for each Offer must match.

Did this answer your question?