Sticky.io Integration

This article will explain how to build the integration between Sticky.io (Sticky) and Everflow

Teja Rao avatar
Written by Teja Rao
Updated over a week ago

Overview

This article will explain how the integration works with Sticky.io and Everflow. Please note: The setup for passing data to Sticky.io requires that your team complete an API integration using the Sticky.io API documentation.

Besides the one demonstrated in this article, there are other possible configurations for an integration between Sticky.io and Everflow that involve recurring orders, charge-backs and more. Feel free to reach out to support@everflow.io for any questions regarding a unique use case.


Step #1

  • When adding or editing an Offer for a Sticky.io integration, be sure of the following, choose either redirects(1a) or direct linking(1b):

Step #1a

Redirects

  • Pass the {transaction_id} macro to the Base Destination URL in the &click_id= spot.

Step #1b

Direct Linking

  • Use the code below to register a click

<script type="text/javascript" 
src="https://{insert_your_domain_here}/scripts/sdk/everflow.js"></script>

<script type="text/javascript">
EF.click({
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'),
transaction_id: EF.urlParameter('_ef_transaction_id'),
})
</script>

  • Then use the EF.getAdvertiserTransactionId(INSERT_AID) method to grab the ID from storage. Make sure to replace the INSERT_AID value with the advertiser's ID from the offer you are looking at. This can be found in the Offers > Manage > click the offer > General card:

  • Then make a call back to Sticky.io when an order happens using the new_order endpoint - [See Documentation]

  • Insert the value pulled from the EF.getAdvertiserTransactionId(INSERT_AID) method and insert it into the "click_id" spot here:

Step #2

  • In Everflow, navigate to Control Center - Platform Configurations > General and copy your Global Postback URL.

Step #3

  • Login to Sticky.io, and navigate to Settings > Postbacks.

Step #4

  • Then, click Actions > Create.

Step #5

  • Create your Postback. See below for an example.

Make sure to always use GET as the HTTP Method and replace TRANSACTION_ID with {click_id} inside Sticky.io

To test the integration, you can generate a tracking link by navigating to Offers - Manage > click on the offer > Tracking Links tab.
​
Other common macros to add to the end of the link include:
​&email={email}&order_id={order_id}&amount={total_no_shipping}
​


Did this answer your question?