Skip to Content
GuidesTracking setup

Tracking setup

Use the site key sendafrica-docs for the SendAfrica Developer Docs site at docs.sendafrica.online. Events are received by analytics.camelcreatives.com and grouped under docs.sendafrica.online.

The tracker is already installed across this documentation site. To add tracking to another application, include this snippet and keep the site key exactly as shown:

<script defer src="https://analytics.camelcreatives.com/tracker.js" data-site="sendafrica-docs"></script>

Connect application users

Call identify only after a user has authenticated in your application. Pass a stable, opaque account ID so tracked events can be associated with that account. The API links the browser’s anonymous history for up to 30 days.

// After sign-in window.camel?.identify(String(currentUser.id)); // On sign-out window.camel?.clearIdentity();

The users report includes only IDs that your application explicitly identifies. It does not reveal names or email addresses unless your application chooses to use those as the ID.

Last updated on