Upgrade your v3 Widgets to v4
Update your liveblog tags
Replace your existing code with the new v4 widget code
<!-- v3 Code -->
<script>
(function(e,t,n,r,i,s,o){e[i]=e[i]||function(){(e[i].q=e[i].q||[]).push(arguments)},
e[i].l=1*new Date;s=t.createElement(n),o=t.getElementsByTagName(n)[0];s.async=1;
s.src=r;o.parentNode.insertBefore(s,o)})(window,document,"script",
'//cdn.tickaroo.com/embedjs/tik3.js',"_tik");
_tik("embedLiveblog", {
container: "#tickaroo-liveblog",
clientId: "CLIENT_ID",
id: "LIVEBLOG_ID"
});
</script>
<!-- v4 Code -->
<script async src="https://cdn.tickaroo.com/webng/embedjs/tik4.js"></script>
<tickaroo-liveblog liveblogId="LIVEBLOG_ID" clientId="CLIENT_ID"></tickaroo-liveblog>
All options that are currently supported can be found here.
Custom tracking (e.g. IVW)
We replaced the trackingCallback
option with tag events.
Showing a “X new messages” Link the User has to click
This is now our default behavior.
Consent Handling
Our new default behavior for consent handling is the former option "showWebEmbed": "consent_handling"
(Integrated consent handling). If you want to change this behavior you can find more information here.
Deprecated or replaced options
container
: not needed anymore, just use the tickaroo-liveblog tageventId
: TODOshowHighlights
: hide with css if not wantedloadMoreLimit
: we do not distinguish between limit and loadMoreLimit anymorehandleScoreboard
: sport templates are not yet supportedrefreshInterval
: not supported anymorecoalesceRepeatedMeta
: not supported anymoreshowLineup
: sport templates are not yet supportedtrackingCallback
: replaced by new tag eventscustomAdCallback
: not supported anymorewebEmbedConsentCallback
: replaced bywebEmbedDefaultConstraint
andwebEmbedConstraints
webEmbedConsentUpdateCallback
: replaced bywebEmbedDefaultConstraint
andwebEmbedConstraints
itemDOMPostProcessor
: not supported anymoreimageWidth
: replaced with img srcsetrooverlay
: TODOshowTeamIcons
: sport templates are not yet supportedwhitelistedScoreboardAffiliations
: sport templates are not yet supportedblacklistedScoreboardAffiliations
: sport templates are not yet supported
Update your styles
We have created the HTML structure for our new Embed V4 widgets from scratch. If you have customized your liveblogs with custom CSS, it needs to be updated.
The good news is that the new widgets already bring a lot of styles like card layout, timeline and masonry layout.
You can learn more here:
Update your seo/prefetch integration
For the new widget version there are new prefetch endpoints, the details can be found at the following link: SEO and Server Side Fetch