Home
What is June?
Quick start

SDK Guides

Browser
React
Node.js
Python
Ruby
HTTP API
Log in

Quick Start

Integrate your app with June in minutes

What we'll cover

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:

  • Adding June to your app · 1 minute
  • Telling us who your users are · 1 minute
  • Telling us what your users are doing · 1 minute

Install June

Add June to your app.

You need to be logged in to begin!

Log in

Identify your users

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.

1
window.analytics.identify('USER_ID', {
2
email: 'test@example.com'
3
});

💡 Quick tips

  • Make sure you call identify before you call track. If you call track before identify, the events will be sent without the user's information.
  • Call identify in both your signup or login components.

Track when your users sign in

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.

1
window.analytics.track('Signed In', {
2
browser: 'chrome'
3
});

Next steps

Once you've integrated June with your app, you can start using reports to understand your users' behavior.