1// Identify the signed-in user 2window.analytics.identify(user.id, { 3name: 'Enzo Avigo', 4email: 'enzo@example.com', 5});
In order to automatically generate some reports on your users' behavior, you need to install June to your app.
This will take less than thirty minutes and consist of three easy steps:
First, copy the tracking script inside the head tag of your website. The script is pre-filled with your secret June key, so we'll automagically start tracking your pageviews on install.
Technical Tasks
With that first step done, we're now tracking your pageviews. To improve your reports, you'll need to identify your users in critical parts of your site, like logging in, signing up, or purchasing an item.
Technical Tasks
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.
Technical Tasks
Check out the other guides, especially the "Sending Events" guide, to continue refining your integration and making sure you get the most out of June.