Class: BuildManager

BuildManager

Hits builder.

new BuildManager(tag)

Name Type Description
tag object Instance of the Tag used

Methods

getCollectDomain(){string}

Get collect domain depending on configuration

send(customParams, filters, callback, requestMethod, elementType)

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
requestMethod string Overloading the global method of sending hits (GET|POST)
elementType string Element type (mailto, form, redirection)

sendUrl(hit, callback, requestMethod, elementType)

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
requestMethod string Overloading the global method of sending hits (GET|POST)
elementType string Element type (mailto, form, redirection)