multicat-landen

0.0.18 • Public • Published

Multicat Landen integration

npm license

Append this script tag and piece of code before you close the <body> tag

<script src='https://unpkg.com/multicat-landen@0.0.17/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

Readme

Keywords

none

Package Sidebar

Install

npm i multicat-landen

Weekly Downloads

0

Version

0.0.18

License

MIT

Unpacked Size

100 kB

Total Files

13

Last publish

Collaborators

  • some1else