multiplytix-landen
v0.0.7
Published
Drop in analytics for Landen pages
Downloads
8
Readme
Multiplytix 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 initMultiplytix() {
new MultiplytixLanden({
google_analytics: <GOOGLE_ID>,
facebook_pixel: <FACEBOOK_PIXEL_ID>,
mixpanel: <MIXPANEL_ID>,
})
}
window.addEventListener('load', initMultiplytix)
</script>
You're done 🎉
Check the example for reference.
Landen Events 🎭
Check out the Multiplytix Landen tracking plan, to see which kinds of conversion events are supported out of the box.
Custom events api 🛂
If you wish to implement additional conversion events yourself, use the window.multiplytix instance to dispatch events and pageviews, like so:
window.multiplytix && window.multiplytix.event(
'CustomConversionEvent', // event
{ progress: '95%' } // properties
})
License
MIT, (c) Cofab 2018