Organic Tracking
Tracking organic traffic using the Everflow SDK
The organic tracking feature can be used if you wish to track clicks and conversions that happened without an explicit offer/affiliate context. Here is a simple example of a click that attempts to gather the offer and affiliate ids from the URL.
In a normal scenario, if any of the parameters are not present, it would result in a failure to fire the click. However, since organic tracking is configured, it would instead end up using the offer and affiliate ids provided.
<script type="text/javascript"
src="https://www.TRACKING-DOMAIN.com/scripts/sdk/everflow.js"></script>
<script>
// Organic tracking settings are configured using the "organic" property.
EF.configure({
organic: {
offer_id: 1,
affiliate_id: 1
}
})
EF.click({
offer_id: EF.urlParameter('oid'),
affiliate_id: EF.urlParameter('affid')
});
</script>