multicat-landen
v0.0.18
Published
Drop in analytics for Landen pages
Downloads
15
Readme
Multicat Landen integration
Append this script tag and piece of code before you close the <body>
tag
<script src='https://unpkg.com/[email protected]/build/index.js' async></script>
<script>
function initMulticat() {
new MulticatLanden({
google_analytics: <GOOGLE_ID>,
facebook_pixel: <FACEBOOK_PIXEL_ID>,
mixpanel: <MIXPANEL_ID>,
})
}
window.addEventListener('load', initMulticat)
</script>
You're done 🎉
Check the example for reference.
Landen Events 🎭
Check out the Multicat Landen tracking plan, to see which kinds of conversion events Multicat supports out of the box.
Custom events API 🛂
If you wish to implement additional conversion events yourself, use the window.multicat
instance to dispatch events and pageviews, like so:
window.multicat && window.multicat.event(
'CustomConversionEvent', // event
{ progress: '95%' } // properties
})
License & Contributors
MIT © Cofab