All Collections
How 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.

Genny avatar
Written by Genny
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 TRACKING-DOMAIN-A and the Tracking Domain of the Partner/Affiliate will need to replace TRACKING-DOMAIN-B.

Example: Click Script

<script type="text/javascript"

src="https://www.TRACKING-DOMAIN-A.com/scripts/sdk/everflow.js"></script>


​<script>

EF.click({

tracking_domain: "https://www.TRACKING-DOMAIN-A.com",

offer_id: EF.urlParameter('oid'),

affiliate_id: EF.urlParameter('affid')

});

EF.click({

tracking_domain: "https://www.TRACKING-DOMAIN-B.com",

offer_id: EF.urlParameter('oid2'),

affiliate_id: EF.urlParameter('affid2')

});

</script>

In the example below, the Advertiser/Brand will need to replace the first ADVERTISER_ID in the conversion script with the correct ID from the Advertiser in their platform. The Partner/Affiliate will need to replace the second ADVERTISER_ID_OF_PARTNER/AFFILIATE with the ID of the Advertiser in their platform.


​Example: Conversion Script

<script src="https://www.ADVERTISER/BRAND_DOMAIN.com/scripts/sdk/everflow.js"></script>


​<script>

EF.conversion({

aid: ADVERTISER_ID,

}).then(function(transactionId){

EF.configure({ tracking_domain: "https://www.PARTNER/AFFILIATE_DOMAIN.com",

})

EF.conversion({

aid: ADVERTISER_ID_OF_PARTNER/AFFILIATE,

});

});

</script>

Please note that the Tracking Domain of the Advertiser/Brand will need to replace ADVERTISER/BRAND_DOMAIN and the Tracking Domain of the Partner/Affiliate will need to replace PARTNER/AFFILIATE_DOMAIN in the conversion script, just like in the click script.

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?