Liveblog Tag Events
The embed fires custom DOM events.
Example:
<script async src="https://cdn.tickaroo.com/webng/embedjs/tik4.js"></script>
<tickaroo-liveblog id="my-liveblog" liveblogId="LIVEBLOG_ID" clientId="CLIENT_ID"></tickaroo-liveblog>
<script>
document.findElementById('my-liveblog').addEventListener('tickarooLiveblogTracking', function(event) {
console.log("Tracking Event " + event.detail.t);
})
</script>
Events are:
tickarooLiveblogInit
is fired when a liveblog component has been initialized
tickarooLiveblogTracking
is fired for various actions that can be used for analytics and tracking purposes
The event details will contain the type of event accessible via event.detail.t
. Currently the following types are supported:
The following events give information about data being loaded:
l_err
Error loading datal_ini
Data completely replacing the current liveblog page has been loadedl_mor
Data for a “load more” loadedl_rfs
Data for Autorefresh loaded
The following events give information about countable page views
t_ini
Liveblog has been initialized for the first timet_mor
User clicked moret_upd
User clicked apply updatest_tag
User clicked on a tag filtert_mil
User clicked a milestones_opn
User opened the slidehsows_mvd
User clicked/swiped through slidehsows_wem
User clicked on a web embed
More events might be added in the future. Implementers should ignore unknown event types.