Skip to content

ignore_dnt option and sendBeacon/GET request fix

Compare
Choose a tag to compare
@tdumitrescu tdumitrescu released this 28 Jan 00:40
· 683 commits to master since this release

New config option ignore_dnt allows you to override the browser's Do Not Track setting and always send tracking requests. Set it with:

mixpanel.init('my token', {ignore_dnt: true});

This release also contains a fix for the SDK's automatic /decide GET requests when the lib is initially configured with option {api_transport: 'sendBeacon'}.