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 customParamsobject Object which contains some hit parameters that you would like to send specifically (they are given priority over the current buffer) filtersArray List of buffer filters callbackfunction Callback to execute requestMethodstring Overloading the global method of sending hits (GET|POST) elementTypestring 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 otherwiseName Type Description hitstring Url to send callbackfunction Callback to execute requestMethodstring Overloading the global method of sending hits (GET|POST) elementTypestring Element type (mailto, form, redirection)
