1window.analytics.identify('USER_ID', { 2email: 'test@example.com' 3});
In order to automatically generate some reports on your users' behavior, you need to integrate June with your app.
This will take less than five minutes and consist of three easy steps:
Add June to your app.
After installing the SDK, the next step is to identify your users when they sign up or log in.
Place a track call wherever a user signs up or logs in. Replace USER_ID with the unique identifier for the user in your database.
1window.analytics.identify('USER_ID', { 2email: 'test@example.com' 3});
💡 Quick tips
Place a track call wherever a user signs up or logs in. Replace USER_ID with the unique identifier for the user in your database.
1analytics.identify({ 2userId: 'USER_ID', 3traits: { 4email: 'test@example.com' 5} 6});
Place a track call wherever a user signs up or logs in. Replace USER_ID with the unique identifier for the user in your database.
1analytics.identify({ 2userId: 'USER_ID', 3traits: { 4email: 'test@example.com' 5} 6});
Place a track call wherever a user signs up or logs in. Replace USER_ID with the unique identifier for the user in your database.
1analytics.identify( 2user_id="USER_ID", 3traits={"email": "test@example.com"}, 4)
Place a track call wherever a user signs up or logs in. Replace USER_ID with the unique identifier for the user in your database.
1Analytics.identify( 2user_id: 'USER_ID', 3traits: { email: "test@example.com"} 4)
You might want to generate reports about what users do on your site, and how long they stick around. Add tracking events throughout your app to start tracking this data.
Place a track call wherever a user signs up or logs in. Replace USER_ID with the unique identifier for the user in your database.
1window.analytics.track('Signed In', { 2browser: 'chrome' 3});
Place a track call wherever a user signs up or logs in. Replace USER_ID with the unique identifier for the user in your database.
1analytics.track({ 2userId: 'USER_ID', 3event: 'Signed In', 4properties: { 5browser: 'chrome' 6} 7});
Place a track call wherever a user signs up or logs in. Replace USER_ID with the unique identifier for the user in your database.
1analytics.track({ 2userId: 'USER_ID', 3event: 'Signed In', 4properties: { 5browser: 'chrome' 6} 7});
Place a track call wherever a user signs up or logs in. Replace USER_ID with the unique identifier for the user in your database.
1analytics.track( 2user_id="USER_ID", 3event="Signed In", 4properties={"browser": "chrome"}, 5)
Place a track call wherever a user signs up or logs in. Replace USER_ID with the unique identifier for the user in your database.
1Analytics.track( 2user_id: 'USER_ID', 3event: 'Signed In', 4properties: { 5browser: 'chrome' 6} 7)
Once you've integrated June with your app, you can start using reports to understand your users' behavior.