@a1motion/analytics

Use Google Analytics without the huge overhead

Usage no npm install needed!

<script type="module">
  import a1motionAnalytics from 'https://cdn.skypack.dev/@a1motion/analytics';
</script>

README

Analytics

FOSSA Status

Use Google Analytics without the huge overhead

Install

yarn add @a1motion/analytics

Usage

import analytics from '@a1motion/analytics`

# Only call once
analytics('UA-XXXXXXXXX-X')

# Send events
analytics.event('Videos', 'play', 'Fall Campaign')

License

FOSSA Status