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_errError loading datal_iniData completely replacing the current liveblog page has been loadedl_morData for a “load more” loadedl_rfsData for Autorefresh loaded
The following events give information about countable page views
t_iniLiveblog has been initialized for the first timet_morUser clicked moret_updUser clicked apply updatest_tagUser clicked on a tag filtert_milUser clicked a milestonet_hltUser clicked on highlightt_sgsUser clicked game summary itemt_srtUser clicked on sort control (sort order changed)
The following events give information about user actions
a_sfbShare on facebooka_sxxShare on Xa_scpCopy share linka_semEmaila_snaShare using native share sheeta_votVote in a polla_rctReaction under an eventa_conConsent toggler clickeds_wemUser clicked on a web embedc_opnComments overlay openedc_morComments overlay more clicka_cwrComment writtens_opnUser opened the slidehsows_mvdUser clicked/swiped through slidehsowa_ebpEvent break point clickeda_ehlEvent height limit clicked
More events might be added in the future. Implementers should ignore unknown event types.