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 milestonet_hlt
User clicked on highlightt_sgs
User clicked game summary item
The following events give information about user actions
a_sfb
Share on facebooka_sxx
Share on Xa_scp
Copy share linka_sem
Emaila_sna
Share using native share sheeta_vot
Vote in a polla_con
Consent toggler clickeds_wem
User clicked on a web embedc_opn
Comments overlay openedc_mor
Comments overlay more clicka_cwr
Comment writtens_opn
User opened the slidehsows_mvd
User clicked/swiped through slidehsowa_ebp
Event break point clickeda_ehl
Event height limit clicked
More events might be added in the future. Implementers should ignore unknown event types.