What Is API Tracking in a Giveaway?
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.
Wondering what else Gleam offers developers? See whether Gleam has an API.
See Next Article
How Do I Install a Giveaway Popup on My Website?
Install a Gleam giveaway popup with one line of code from the Capture Installation Guide. Click to see how it works.