Skip to content

Commit 8b09012

Browse files
committed
update code snippet in comment
1 parent 6692834 commit 8b09012

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ export class Mixpanel {
7070
* @deprecated since version 1.3.0. To initialize Mixpanel, please use the instance method `init` instead. See the example below:
7171
*
7272
* <pre><code>
73-
* const mixpanel = new Mixpanel('your project token');
73+
* const trackAutomaticEvents = true;
74+
* const mixpanel = new Mixpanel('your project token', trackAutomaticEvents);
7475
* mixpanel.init();
7576
* </code></pre>
7677
*

0 commit comments

Comments
 (0)