This package provides <median-viewer> and <median-connected-site-visitors>
npm install @median/viewerjs
Median.identify('')
`
The identifer token can be anything - as long as it's unique to a particular user. You can use an internal User ID, the user's email, or a unique internal User Hash. We recommend using their email.
Next, add this script to your head
- Put a script tag similar to this in the head of your index.html
- On your customers page, add this:
`Median.startSession(''); ``