What is Autotrack, and how do I get started using it?

Autotrack makes it easy to get started with analytics without a developer by automatically collecting all interactions on your website. Access that data by creating events in a visual Point & Click Editor. Once enabled, Autotrack gives full access to all historical data; if you forget to track an event, you can go back later and add that event without worrying about losing data.

Autotrack is only available for web, but Codeless Mobile is available to help set up analytics without a developer on mobile. Note: Events captured using Autotrack cannot be exported using the Data Export API or with JQL. See here for a full list of features that support Autotrack events.

To get started with Autotrack:

Install the Mixpanel JavaScript library

Before enabling Autotrack, install the Mixpanel JavaScript library on your site if you haven’t already done so. Be sure to insert your project’s token in the snippet to replace “YOUR_TOKEN.”

Enable Autotrack

Enable Autotrack for your project by clicking your name in the upper righthand corner of your Mixpanel project and selecting Project settings from the dropdown. Once the JavaScript snippet is installed on your website and Autotrack is enabled in your project, Mixpanel starts collecting all interactions on your website automatically:

Create an event

To start analyzing data collected by Autotrack, choose an event to track:

  • Launch the Autotrack Point & Click Editor by clicking your name in the upper righthand corner of your Mixpanel project and selecting Set up tracking from the dropdown.

  • Select web, and enter the URL of your website.

  • Click CREATE EVENT in the upper righthand corner.

  • Click any element on your website that you would like to analyze.

  • Name your event, and click SAVE.

TIP: Get a sense for what actions users have performed in the last seven days with the summary statistic:

alt text

Look at your report

Once you save your event, you can see and use that event throughout your Mixpanel reports. Reports will include all historical data for your event from the very first day you added the Mixpanel JavaScript snippet to your website and enabled Autotrack.