Overview
The Hitprobe tag is a client-side JavaScript agent that you need to add to all the pages of your website.
When a visitor lands on your site, the agent collects data about the visit and sends it to Hitprobe to enable the session to be recorded and analyzed. Actions can then be taken by the agent if needed, such as adding the visitor to an ad network audience for exclusion.
Other blocking actions, such as IP exclusion, may also take place out-of-band of the agent (i.e. handled server to server).
Tag options
The tag's init
method accepts a config object that allows you to set options for the tag. Most notably, you can use the mode
setting to tell the tag which types of visits/clicks to send to Hitprobe.
See the configure your tag section for details.
Events & callbacks
The tag has an API for triggering events (such as sending a conversion event on the client-side), as well as registering callbacks for events (for example, there is an onBlock
callback that fires when the visit is blocked).
Jump to the triggering events and subscribe to callbacks sections for details.