What Is API Tracking in a Giveaway?
API tracking verifies custom user actions on your site—like signups or profile updates—using Gleam’s JavaScript API. Expand to learn how gleam.track() lets you track more than just link clicks.
API tracking lets you verify custom user actions using Gleam’s JavaScript API. Instead of using simple URL-based validations, Gleam can detect when users complete actions such as filling out a form, updating a profile, or triggering any frontend interaction.
This is done via the gleam.track('action_name') call, which sends confirmation to Gleam that a specific action has been completed. This unlocks the next step or rewards the user with a valid entry.
It is especially useful for SaaS platforms, web apps, and ecommerce setups that want to reward behaviour beyond the basics.
See Next Article
How Do I Use Gleam to Track Custom Actions With JavaScript?
Embed the Gleam script, then use gleam.track('your_action_name') on form submission or other behaviors. Expand this FAQ to see where and how to implement it properly.