Standard Code version differences

Introduction
As of July 21st, all new ClickTale projects created in the system will get the new tracking code type - Balkan.

The Balkan type tracking code is designed to enable SMB customers to change their Recording Ratio for all pages on the site without coding. This is done easily and quickly from a visual control (Slider) in the account.

This requires a connection between the code deployed on the pages and the ClickTale back-office system. Balkan code is the solution. The core of the code parameters are now injected into the page from the ClickTale server, making it easier to change from the user interface.

Adding Custom Code to the Balkan type tracking code
In this new configuration, functions that were added to the bottom code to interact with ClickTale APIs are now to be inserted in a demarcated section called a Hook.

For example, in Atlas type code you would write the extra code within the tracking code (ClickTaleFetchFrom, in this example):

In the Balkan code type, you insert the extra code into the appropriate Hook (A function at the top section of the code). The common hook to use is ClickTalePreRecordingHook, which executes after the ClickTale code loads and before recording starts.

Example:

Transitioning from Atlas code to Balkan code
At this time, the correct way to transition a project from Atlas code to Balkan code is to create a new project and replace the existing code on the pages with the new code.

In the future, we may offer a conversion mechanism to allow changing a project from Atlas to Balkan code.