Embed Events

While Embed Events will continue to work, we recommend setting up Navattic JS instead.

Overview

Your Navattic demo may use one of these Visitor or Account identification methods, although it is not required.

Event-based analytics platforms are used to analyze how users interact with your website, and may receive Navattic events similar to how they receive other website events.

Navattic demos emit events about user interaction - which step they're on, if they complete a form, if they click a CTA button, etc. When your demo is embedded on a page, our universal event integration allows you to easily send those events to any third-party service that can accept them like Amplitude, PostHog, and Mixpanel.

Use events-based platforms to answer questions like:

  • How many users or sessions engage with my Navattic demo?
  • Where in my website flow do users engage with my Navattic demos?
  • Which of my Navattic demos lead to the most conversions?

Note: If you're not sure what counts as an event-based platform, they usually:

  • Ask you to install a script on your website
  • Track or analyze actions taken by your users

Navattic Events

Event data for each Navattic Product Demo includes:

Navattic Event Name

Example

Description

View Step

(VIEW_STEP)

Example

A Flow step is viewed.

Start Flow

(START_FLOW)

Example

A user starts a Flow.

Complete Flow

(COMPLETE_FLOW)

Example

A user reached the last step of a flow OR completed a "Complete flow" step

Start Checklist

(START_CHECKLIST)

Example

A user loads a Checklist for the first time.

Open Checklist

(OPEN_CHECKLIST)

Example

A user expands a Checklist.

Close Checklist

(CLOSE_CHECKLIST)

Example

A user clicks "x" to close a Checklist or starts a flow.

Complete Task

(COMPLETE_TASK)

Example

A user completed a Task in a Checklist.

Converted

(CONVERTED)

Example

A user completed a step tagged "Mark as converted".

Navigate

(NAVIGATE)

Example

A user clicked a button with the click action "Navigate to URL".

Identify

(IDENTIFY_USER)

Example

A form has been filled out in the demo that can identify the user.

Engage

(ENGAGE)

Example

A user makes it past the first step of a flow.

The exact event shape is as follows:

JS


Installation

Copy the below snippet and add it below the header of your website. This JS snippet should be installed after your existing third-party script tags.

JS


Implementations

Send Navattic events to third-party systems

The installed script has some tools to help your website communicate bi-directionally with the embedded demo. To send Navattic event data to other tools such as PostHog, Amplitude, Mixpanel, or Segment, add a script like the following.

JS


Once the JS snippet is installed on your website, you should now see a new event named "navattic_event" in your third-party platform.

Be sure to follow the best practices provided by your third-party platform for analyzing and organizing your events.

Tip: For the most helpful tracking, give each Demo and Flow an informative name. This will help organize your data in third-party platforms.

Pass identification information into Navattic

If you're generating identification information from another source like a third party form, reveal API, or internally, you can pass that data into an embedded Navattic iframe to identify each visitor.

After installing the embed events JavaScript snippet, use our navattic.identify function to pass information into Navattic.

JS


Go to Navattic Docs

Did this page help you?