Class: BuildManager

BuildManager

Hits builder.

new BuildManager(parent)

Name Type Description
parent object Instance of the Tag used

Methods

send(customParams, filters, callback, forcedDomain, withOptions)

Send at least one hit, more if it's too long (multihits).
Name Type Description
customParams object Object which contains some hit parameters that you would like to send specifically (they are given priority over the current buffer)
filters Array List of buffer filters
callback function Callback to execute
forcedDomain String Force the domain of the base URL
withOptions boolean true if custom params contain options

sendUrl(hit, callback)

Send single hit from complete url.
An event will be sent ATInternet.Tracker.TriggersManager :
- "Tracker:Hit:Sent:Ok" with hit data if succeed
- "Tracker:Hit:Sent:Error" with error data otherwise
Name Type Description
hit string Url to send
callback function Callback to execute