Javascript SDK Overview

In a bid to increase user privacy and improve web experiences, the digital landscape is constantly evolving. Browsers and companies are making client-side tracking increasingly difficult by limiting the efficacy of cookies and redirects.

The preferred method for navigating these roadblocks has been to use server-side postback tracking. While powerful, you may prefer to track conversions entirely within your website and your user’s browser, without needing to set up a server-side integration.

In an effort to provide the best options for your program, TUNE is happy to provide an ITP-compliant Javascript SDK.

Why use the Javascript SDK?

Compliance with Intelligent Tracking Prevention

User privacy on the internet is a growing issue with policymakers and companies across the globe. In September 2018, Apple launched the Intelligent Tracking Prevention (ITP) 2.0 update for Safari browsers in attempt to crackdown on unsecured, client-side cookie based tracking. Mozilla and Chrome have announced and released similar initiatives. On compliant browsers, your tracking cookies will be blocked.

To learn more about the ITP and it’s various releases, you can visit the links below:

Tracking Channels Where Cookies and Tracking Links are Unavailable

Increasingly, influencers on social media platforms are becoming a large source of traffic. Many of these platforms have begun implementing features that disable the traditional tracking link, either by removing them entirely if they detect redirects, or “unpacking” the redirect chain and displaying just the final destination. Both of these approaches are effective at circumventing the tracking server and the cookies they create.

Cookieless Client-Side Tracking

The ITP-compliant Javascript SDK provides a cookieless tracking solution which allows for the accuracy of server-side tracking with the setup effort of client-side tracking. To accomplish this, the Javascript SDK allows three major features:

  1. For traffic to be redirected to the advertiser’s landing page through standard redirection and the session to be stored without cookies.
  2. For traffic to be sent to the advertiser’s landing page via a direct link and a session to be stored without cookies.
  3. Conversions to be triggered based on cookie-less stored sessions for both default and goal conversion points.

In addition, the Javascript SDK allows for other useful features, such as providing support for eCommerce cart management and “organic” traffic.

Direct Links

Direct links enable advertisers to link directly to their site without redirecting through the TUNE tracking servers. Advertisers would provide direct links decorated with offer and partner ID values to their landing page.

The Javascript SDK fully supports direct links. When passed an offer and partner ID, the Javascript SDK will generate and store the session.

To learn more about getting started with direct links with the Javascript SDK, please visit our SDK method reference page.

Organic Traffic

In order to get a clear picture of where their traffic is coming from, sometimes advertisers also want to capture “organic” traffic – that is, traffic that has not been directed from a partner. The Javascript SDK provides options for generating and storing sessions for users that are coming by their own accord.

To learn more about getting started with organic links with the Javascript SDK, please visit our SDK method reference page.

Additional Information

For more information on how you can start using the Javascript SDK, please see our developer documentation.