Connecting events
Capturing events
How to inject event in the tag to allow for a better analysis and more detailed insights
Passing event strings or object
This function has to be added to the click handler callback to post information through the API. This function doesn't act as a callback.
Any event can be passed to the CONTXTFUL server through this API call.
var Param = {"Event":"Click"}; // any JSON object or string object Contxtful.Api.TriggerEvent(Param);
Other Examples:
Contxtful.Api.TriggerEvent({"Event":"Click"}); Contxtful.Api.TriggerEvent({"Event":"Video_12_Start", "Type":"Sport Video"}); Contxtful.Api.TriggerEvent("Start of Video xyz");