Amplitude Integration

How to set up and use Amplitude integration in UserGuiding.

Emrah Aydın avatar
Written by Emrah Aydın
Updated over a week ago

Overview

This article explains how UserGuiding integrates with Amplitude, a platform that helps you analyze user data in real-time to identify trends and understand user behavior.

When Amplitude Integration is activated, you can more deeply analyze and target the user onboarding experience you created with UserGuiding.

By setting up onboarding, activation, and retention funnels in Amplitude, you can also test and adjust your Guides for these metrics.

How To Activate Amplitude Integration

You can start by going to your Amplitude account. Navigate to 'Data' first from the top menu, then go to 'Sources' under 'Connections' from the menu on the left, then click 'Add Source' from the top right.

Search for 'UserGuiding' and click on the UserGuiding card.

On this page, you will find your 'API Key'. Copy this API Key.

Then sign in to your UserGuiding account, go to your Integrations Tab under Settings, and turn on the toggle for Amplitude.

On the opening popup, paste the Amplitude 'API Key' you copied. If your Amplitude project data is on EU servers, you should select the 'EU Data Residency' option. If not, use 'Standard Server', then click 'Complete Integration'.

You are all set! UserGuiding will immediately start sending onboarding material engagement data, for each user, to your Amplitude account.

Event Tracking

Once activated, you can find UserGuiding data as custom events in Amplitude, ready to be used as part of any Amplitude chart, report, or funnel.

To check how a particular user performs with your UserGuiding Onboarding material, go to User Look-Up and click on a user.

When you scroll down on the left-hand side, you will see the events performed by the user. If you click on an event on the right-hand side, you will see the details of the event. You can find UserGuiding event metadata under 'Event Properties' there.

UserGuiding sends the following events and metadata to Amplitude:

Guide Preview Start

It means that a user previews the first step of a Guide. To see which Guide it is, click on the guide started (userguiding).

You'll see the Guide's ID, name, and URL of the page on which the user has seen its first step.

Guide Preview Complete

It means that a user has gone through all steps of a Guide and seen its last step. To see which Guide it is, click on the guide completed (userguiding).

You'll see the Guide's ID, name, and URL of the page on which the user has seen its first step.

Survey Shown

It means that a user sees your Survey. To see the URL of the page where the user has seen the survey, click on the survey shown (userguiding).

{
"partner_id": "user_guiding",
"user_id": "USER-ID",
"event_type": "survey shown (userguiding)",
"event_properties": {
"surveyId": "1",
"surveyName": "Survey Name",
"pageUrl": "https://panel.userguiding.com/dashboard"
}

Survey Question Answer

It means that a user has given you a certain score or selected an emoji, option, or written feedback. To see the value, check under survey question answer (userguiding).

You'll see the survey question, the URL of the page on which the user has seen the survey, and the user ID.

Survey Question Answer (score)

{
"partner_id": "user_guiding",
"user_id": "USER-ID",
"event_type": "survey question answer (userguiding)",
"event_properties": {
"surveyId": "1",
"surveyName": "Survey Name",
"questionId": "f4411b5d-7544-477a-b605-5c8622cb5c8b",
"questionType": "Star Rating" | "Number Rating (5)" | "Number Rating (10)" | "NPS Rating",
"surveyQuestion": "How likely are you to recommend this product to a friend or colleague?",
"score": 5,
"pageUrl": "https://panel.userguiding.com/dashboard",
}

Survey Question Answer (emojiScore)

{
"partner_id": "user_guiding",
"user_id": "USER-ID",
"event_type": "survey question answer (userguiding)",
"event_properties": {
"surveyId": "1",
"surveyName": "Survey Name",
"questionId": "d82cf468-6dae-4813-a3e2-1ba740254aa1",
"questionType": "Emoji Rating" | "Thumbs Up/Down",
"surveyQuestion": "How would you describe your experience with our product using emojis?",
"emojiScore": "Positive" | "Neutral" | "Negative",
"pageUrl": "https://panel.userguiding.com/dashboard",
}

Survey Question Answer (choices)

{
"partner_id": "user_guiding",
"user_id": "USER-ID",
"event_type": "survey question answer (userguiding)",
"event_properties": {
"surveyId": "1",
"surveyName": "Survey Name",
"questionId": "23300f80-4002-461e-b179-559094c82496",
"questionType": "Multiple Choice",
"surveyQuestion": "Which of the following options best describes your role?",
"choices": "Choice 1,Choice 2",
"pageUrl": "https://panel.userguiding.com/dashboard",
}

Survey Question Answer (feedback)

{
"partner_id": "user_guiding",
"user_id": "USER-ID",
"event_type": "survey question answer (userguiding)",
"event_properties": {
"surveyId": "1",
"surveyName": "Survey Name",
"questionId": "81d6c621-d74c-4590-b35e-9d5abc3c49d5",
"questionType": "Written Feedback",
"surveyQuestion": "Please provide any comments or feedback regarding your experience with our service.",
"feedback": "User's feedback",
"pageUrl": "https://panel.userguiding.com/dashboard",
}

Hotspot Interaction

It means that a user interacted with a Hotspot group and saw Hotspot content. Remember, Hotspot groups can have multiple Hotspots as contents.

This event is sent once in one UserGuiding script load (page refresh).

To see which Hotspot it is, click on the hotspot interacted (userguiding).

You'll see the Hotspot group ID, interacted Hotspot's ID/title, the name of the Hotspot group, and the URL of the page on which the user interacted with the Hotspot.

Checklist Item Trigger

It means that a user triggers a Checklist item. To see which item is triggered from which Checklist, click on the checklist item triggered (userguiding).

You'll see the Checklist's name / ID, Guide name / ID, and the URL of the page on which the user has triggered the Guide from the Checklist.

Checklist Item URL Click

It means that the user clicks a URL item on a Checklist. To see which item is clicked from which Checklist, click on the checklist item url click (userguiding).

You'll see the Checklist's name / ID, the URL of the item, and the URL of the page on which the user has clicked on the item in the Checklist.

Checklist Complete

It means that the user completed a Checklist. To see which Checklist, click on the checklist completed (userguiding).

You'll see the Checklist's name / ID and the URL of the page on which the user has completed the Checklist.

Resource Center Guide Trigger

It means that the user triggers a Resource Center Guide. To see which Guide it is, click on the resource center guide triggered (userguiding).

You'll see the Resource Center's name / ID, Guide name / ID, and the URL of the page on which the user has triggered the Guide from the Resource Center.

Resource Center Checklist Guide Trigger

It means that a Guide in a checklist put in a Resource Center as a module is triggered by a user. To see which Guide it is, click on the resource center checklist guide triggered (userguiding).

You'll see the Resource Center's name / ID, Checklist's name / ID, Guide name / ID, and the URL of the page on which the user has triggered the Guide from the Checklist within the Resource Center.

Resource Center Checklist Item URL Click

It means that a URL item in a Checklist put in a Resource Center as a module is clicked by a user. To see the item information, click on the resource center checklist item url click (userguiding) inside recent events.

You'll see the Resource Center's name / ID, Checklist's name / ID, Item URL, and the URL of the page on which the user has clicked the item from the Checklist within the Resource Center.

Resource Center External URL Click

It means that a user clicks an external URL in a Resource Center. To see which external URL is clicked from which Resource Center, click on the resource center external url clicked (userguiding).

You'll see the Resource Center's name / ID, external URL, and the URL of the page on which the user has clicked on the external URL within the Resource Center.

Resource Center Article Link Click

It means that a user clicks a search article in a Resource Center. To see which search article is clicked from which Research Center, click on the resource center article link clicked (userguiding).

You'll see the Resource Center's name / ID, article link, and the URL of the page on which the user has clicked on the article link within the Resource Center.

Resource Center Survey Trigger

It means that a Survey in a Resource Center as a module is triggered by a user. To see which Survey is triggered from which Resource Center, check under resource center survey trigger (userguiding).

Example:

{
"partner_id": "user_guiding",
"user_id": "USER-ID",
"event_type": "resource center guide trigger (userguiding)",
"event_properties": {
"surveyId": "1",
"surveyName": "Survey Name",
"resourceCenterId": "1",
"resourceCenterName": "Resource Center Name",
"pageUrl": "https://panel.userguiding.com/dashboard",
}

💡Please note that the existing events associated with the now-deprecated Promoter Surveys will remain unchanged; however, they will be emitted in their new format.

Did this answer your question?