Setting up Your Events

Setting up your events is the most important part of setting up Freshpaint. Once you've setup your events, you can then send those events into any of the destinations you have enabled. We recommend creating a spreadsheet of all the events you and your team will need. Once you've created this list, go through and define each of them.

If you are on a paid Freshpaint account, send over an email to support@freshpaint.io and we will find and define the core events on your website for you.

There are several ways to define events in Freshpaint:

When possible, we recommend defining events with either the visual editor or with Live View. Here is a table of which ways to define events are supported by each SDK:

Web

React Native

The Visual Editor

YES

no

The Live View

YES

no

The Event Schema Dashboard

YES

YES

With Precision Tracking

YES

YES

The Visual Editor

The visual editor is the recommended way to setup events for non-technical users. The visual editor provides a point and click interface for creating events. For more information on how to use the visual editor, see our guide to the Visual Editor:

Liveview

Defining events through Liveview is the other way we recommend defining events. If you want to define an action, you can perform it on your website, then click Create Event in Liveview next to the action you just performed. This will take you to the events schema page with the definition for your event pre-populated. For more information, see our guide to the Liveview:

The Event Schema Dashboard

The event schema editor is a more advanced way to define events. The schema editor is more expressive than either liveview or the visual editor, but you do need to be a bit technical to understand how to use it. If you are technical and want to create an event definition that you can't easily express in the visual editor, the event schema editor may be the best option available. See our guide to the Event Schema Dashboard for more information:

Precision Tracking

freshpaint.track("login");

If you want to track events that aren't automatically captured by Autotrack, you can use the traditional approach of writing code to collect that data. See the docs on the Precision Tracking source for more information: