You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To start tracking with the library you must first initialize with your project token. To initialize the library, first add `import 'package:mixpanel_flutter/mixpanel_flutter.dart';` and call `Mixpanel.init(token);` with your project token as it's argument.
51
+
To start tracking with the SDK you must first initialize with your project token. To initialize the SDK, first add `import 'package:mixpanel_flutter/mixpanel_flutter.dart';` and call `Mixpanel.init(token);` with your project token as it's argument.
@@ -68,7 +68,7 @@ class _YourClassState extends State<YourClass> {
68
68
```
69
69
Once you've called this method once, you can access `mixpanel` throughout the rest of your application.
70
70
### Tracking
71
-
Once you've initialized the library, Mixpanel will <ahref="https://mixpanel.com/help/questions/articles/which-common-mobile-events-can-mixpanel-collect-on-my-behalf-automatically"target="_blank">automatically collect common mobile events</a>. You can enable/ disable automatic collection through your <ahref="https://mixpanel.com/help/questions/articles/how-do-i-enable-common-mobile-events-if-i-have-already-implemented-mixpanel"target="_blank">project settings</a>.
71
+
Once you've initialized the SDK, Mixpanel will <ahref="https://mixpanel.com/help/questions/articles/which-common-mobile-events-can-mixpanel-collect-on-my-behalf-automatically"target="_blank">automatically collect common mobile events</a>. You can enable/ disable automatic collection through your <ahref="https://mixpanel.com/help/questions/articles/how-do-i-enable-common-mobile-events-if-i-have-already-implemented-mixpanel"target="_blank">project settings</a>.
72
72
With the `mixpanel` object created in [the last step](#integration) a call to `track` is all you need to send additional events to Mixpanel.
<h1id="table-of-contents">Table of Contents</h1><!-- MarkdownTOC -->
@@ -72,8 +72,8 @@ <h1 id="table-of-contents">Table of Contents</h1><!-- MarkdownTOC -->
72
72
<li><ahref="#i-want-to-know-more">I want to know more!</a></li>
73
73
</ul><!-- /MarkdownTOC -->
74
74
<h1id="introduction">Introduction</h1>
75
-
<p>Welcome to the official Mixpanel Flutter library.
76
-
The Mixpanel Flutter library is an open-source project, and we'd love to see your contributions!
75
+
<p>Welcome to the official Mixpanel Flutter SDK.
76
+
The Mixpanel Flutter SDK is an open-source project, and we'd love to see your contributions!
77
77
We'd also love for you to come and work with us! Check out <strong><ahref="https://mixpanel.com/jobs/#openings">Jobs</a></strong> for details</p>
78
78
<h1id="quick-start-guide">Quick Start Guide</h1>
79
79
<p>Check out our <strong><ahref="https://developer.mixpanel.com/docs/flutter">official documentation</a></strong> for more in depth information on installing and using Mixpanel on Flutter.</p>
<p>To start tracking with the library you must first initialize with your project token. To initialize the library, first add <code>import 'package:mixpanel_flutter/mixpanel_flutter.dart';</code> and call <code>Mixpanel.init(token);</code> with your project token as it's argument.</p>
108
+
<p>To start tracking with the SDK you must first initialize with your project token. To initialize the SDK, first add <code>import 'package:mixpanel_flutter/mixpanel_flutter.dart';</code> and call <code>Mixpanel.init(token);</code> with your project token as it's argument.</p>
<p>Once you've called this method once, you can access <code>mixpanel</code> throughout the rest of your application.</p>
128
126
<h3id="tracking">Tracking</h3>
129
-
<p>Once you've initialized the library, Mixpanel will <ahref="https://mixpanel.com/help/questions/articles/which-common-mobile-events-can-mixpanel-collect-on-my-behalf-automatically" target="_blank">automatically collect common mobile events</a>. You can enable/ disable automatic collection through your <ahref="https://mixpanel.com/help/questions/articles/how-do-i-enable-common-mobile-events-if-i-have-already-implemented-mixpanel" target="_blank">project settings</a>.
127
+
<p>Once you've initialized the SDK, Mixpanel will <ahref="https://mixpanel.com/help/questions/articles/which-common-mobile-events-can-mixpanel-collect-on-my-behalf-automatically" target="_blank">automatically collect common mobile events</a>. You can enable/ disable automatic collection through your <ahref="https://mixpanel.com/help/questions/articles/how-do-i-enable-common-mobile-events-if-i-have-already-implemented-mixpanel" target="_blank">project settings</a>.
130
128
With the <code>mixpanel</code> object created in <ahref="#integration">the last step</a> a call to <code>track</code> is all you need to send additional events to Mixpanel.</p>
131
129
<preclass="language-js"><codeclass="language-js">// Track with event-name
<p>You're done! You've successfully integrated the Mixpanel React Native SDK into your app. To stay up to speed on important SDK releases and updates, star or watch our repository on <ahref="https://github.com/mixpanel/mixpanel-flutter">Github</a>.</p>
134
+
<p>You're done! You've successfully integrated the Mixpanel Flutter SDK into your app. To stay up to speed on important SDK releases and updates, star or watch our repository on <ahref="https://github.com/mixpanel/mixpanel-flutter">Github</a>.</p>
137
135
<p><aname="i-want-to-know-more"></a></p>
138
136
<h1id="i-want-to-know-more">I want to know more!</h1>
139
137
<p>No worries, here are some links that you will find useful:</p>
<li><strong><ahref="https://developer.mixpanel.com/docs/flutter">Full API Reference</a></strong></li>
143
141
</ul>
144
142
<p>Have any questions? Reach out to Mixpanel <ahref="https://help.mixpanel.com/hc/en-us/requests/new">Support</a> to speak to someone smart, quickly.</p>
0 commit comments