Tracking events using Javascript

Return to the docs


Abtz Analytics exposes its library, a series of functions, globally in the window object, and tracking events with Abtz Analytics library is piece of cake!

Events

An event can be tracked with the abtz.track() function. When called, this function automatically assigns the event to the current visitor.

abtz.track('Sign Up Click');

Passing payloads

Sometimes you just need to add more context to your event. For such a cases, you can pass a payload to your call which will be recorded along with the given event.

abtz.track("Subscribed", { report: "weekly" });

With the right combination of events and payloads, there are countless options for you to keep track of how people use your websites or web applications. 🚀

Ready to Ditch Complex Analytics?

Plans start at $5/month or $42/year. No credit card required.

Contact

Min 5 characters
Message is too short.
Please enter a valid email.

Thank you!

Your feedback has been sent.