Skip to content

Analytics server which enables us to work around in-browser analytics blockers

License

Notifications You must be signed in to change notification settings

wearekickback/analytics-server

Repository files navigation

KickBack analytics server

Build Status

Because some browsers and ad-blockers prevent the Mixpanel client JS libary from working, we use this server to proxy requests from our app to Mixpanel.

Usage

First, deploy this server at a URL, e.g. mydomain.com.

Follow the standard Mixpanel instructions to include Mixpanel into your HTML file.

Then, put the following code before the Mixpanel code you just embedded:

<script type="text/javascript">
  window.MIXPANEL_CUSTOM_LIB_URL = "https://mydomain.com/client.js";
</script>

That's it! Now you can use all the normal Mixpanel APIs in your page and everything will get sent to Mixpanel despite ad blockers.

Deployment

The master branch is auto-deployed by Travis to the live URL.

License

AGPL v3

About

Analytics server which enables us to work around in-browser analytics blockers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published