Mixpanel Bower installation for pure JS.
$ bower install https://github.com/tanmaydesai89/mixpanel.git
<script type="text/javascript">/path/to/mixpanel.js</script>
<script type="text/javascript">/path/to/mixpanel-app.js</script>
Note: Keep both file in same directory.
In mixpanel-app.js file change 'mixpanelID' to your mixpanel app ID.