mixpanel-browser 2.60.0 → 2.61.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -19,7 +19,7 @@ You can then import the lib:
19
19
  ```javascript
20
20
  import mixpanel from 'mixpanel-browser';
21
21
 
22
- mixpanel.init("YOUR_TOKEN");
22
+ mixpanel.init("YOUR_TOKEN", {autocapture: true});
23
23
  mixpanel.track("An event");
24
24
  ```
25
25
 
@@ -56,7 +56,7 @@ Then you are free to import `mixpanel-browser` in your javascript modules.
56
56
  // main.js
57
57
  import mixpanel from 'mixpanel-browser';
58
58
 
59
- mixpanel.init('YOUR_TOKEN', {debug: true, track_pageview: true, persistence: 'localStorage'});
59
+ mixpanel.init('YOUR_TOKEN', {autocapture: true, debug: true, persistence: 'localStorage'});
60
60
  ```
61
61
 
62
62
  ## Building bundles for release