Get Started Guides & Resources Catalog Blog

Overview

Get started

Overview

Get started
Table of Contents

This documentation covers how to track your customer’s actions and how you can use our API to squeeze all the juice of the platform.

Tracking intro

There are two ways to track customers' actions. Using the Javascript library that we provide or using the REST API. Each of them has its advantages and we usually recommend mixing them to get the best of each use case.

The JS library for tracking is asynchronous by default so it doesn’t impact the performance of your site. On the other hand, it’s limited in the type of events you can send and also in the amount of data you can attach to them.

The REST API is more flexible and has support for all event types. You can also add more info to the events because there are less technical limitations. The possible downside is that if your technical team is not very proficient with asynchronous programming it can affect the performance of the site. You shouldn’t block the site rendering to wait for a third party service response.

We recommend you to have a look to both systems and decide which one is better for every event type.