LogoLogo
WebsiteBlog
  • Introduction
  • CDP Overview
  • Identity Resolution
  • CDP Guidelines for Data Sanity and Campaign Governance
  • Login and User Management
    • Login to the platform
    • Change Password / Retrieve your Account
    • Role Based Access Control
      • User Management
      • Roles
    • Single Sign-On (SSO)
  • Events
    • Events Overview
    • App Events
    • Track
    • Identify
    • Page
    • Screen
    • Event Dictionary
  • Sources
    • Sources Overview
    • Android SDK
    • iOS SDK
    • JavaScript SDK
    • React Native SDK
    • Flutter SDK
    • REST API
    • Adobe Analytics Exports
    • SFTP
    • Kafka
    • Offline File Ingestion
  • Destinations
    • Destinations Overview
    • Quora Pixel
    • Hotjar
    • Clevertap
    • Google Analytics 4 (GA4)
    • Meta Pixel
    • Meta Conversion API
    • LinkedIn Insight Tag
    • Adobe Target
    • AppsFlyer
    • AWS S3
    • Criteo
    • Kafka
  • Integrations
    • Rudderstack
    • Azure Blob
    • Adobe Launch Private Extension
    • Adobe Launch Extension
    • Salesforce CRM
    • Microsoft Dynamics 365
  • Customer One View
    • Introduction
    • Basic details, Attributes and Devices
    • Segment and Engagement
    • Activity
  • Segments
    • Getting Started
    • Create a Segment
  • Channels
    • Getting Started
    • A/B Testing
    • SMS
      • Set up an SSP
        • Netcore
        • Twilio
        • Adobe Campaign Classic
        • Gupshup
        • Unifonic
        • Infobip
        • Tubelight
      • Add an SSP
      • Create SMS campaign
      • FAQs
    • Email
      • Set up an ESP
        • SendGrid
        • SendInBlue
        • SparkPost
        • Taximail
        • Netcore
        • Adobe Campaign Classic
        • Mailchimp
        • Oracle Email Delivery
        • Infobip
        • Vision6
      • 🆕Add an ESP
      • Create Email campaign
      • Common use cases with Email Editor
      • Why Email Notification may not get delivered?
      • FAQs
    • App Push Notification
      • Create App Push Notification - Android
      • Create App Push Notification - iOS
      • Why App Push Notification may not get delivered?
      • FAQs
    • WhatsApp
      • Configure a WSP
        • Yellow Messenger
        • Infobip
        • Gupshup
        • BIK.ai
        • Vonage
        • Sinch
        • Tubelight
      • Create WhatsApp campaign
      • FAQs
    • RCS
      • Add an RCS API
      • Example: Netcore RCS API
      • Create an RCS campaign
      • FAQs
    • Web Push Notification
      • Create a Web Push Notification
      • Create a Default Web Push Notification
      • FAQs
    • On-site Notification
      • Create On-site Notifications.
      • Common use cases with On-site Notification.
      • Notification Templates
    • Banner Personalization
      • Create a Personalized Banner
      • Create a Default Banner
    • External API
      • Create Engagement
      • Test your API configuration
      • Example Use Cases of External APIs
        • Use case 1: HubSpot - Create Contacts API
        • Use case 2: Exotel's Make a call API
        • Use case 3: Mailmodo's Send Campaign Email API
  • Ramanujan AI
    • Lead scoring
    • Channel Orchestration
    • Content Generator
      • Generate Web Push Content
  • Journey Builder
    • Overview- Journey Builder
    • View all Journeys
    • Create a Journey
    • Journey Reports
    • FAQs
  • Audience Export
    • Facebook Export Channel
    • Google Ads Export Channel
  • Analytics
    • Dashboard
      • Guiding through the Dashboard
      • Unique Profile
      • Profile and Merge Trends
      • Campaign and Revenue Dashboard
    • Campaign Summary
    • Events Occurrence
    • Event Telemetry
    • App Installs and Uninstalls
    • Funnels
    • Paths
    • Traffic Analysis
    • Cohorts
    • Data sanity between Funnels, Paths and Events
    • FAQs
  • Developer APIs
    • User Profile API
    • WhatsApp Opt-in/Opt-out API
    • Subscription Management
  • Settings
    • Product Label
    • Frequency Caps
    • Contacts
Powered by GitBook
On this page
  • Use cases of Hotjar
  • Connection
  • Getting Started
  • Methods
  • Identify
  • Track
  1. Destinations

Hotjar

Getting Started with Hotjar and setting it up.

Hotjar is an integrated website analytics solution that provides heatmaps of user behaviour, session recordings, mouse tracking, conversion funnels, feedback polls, full surveys, and test user recruitment. It is basically an easy way to understand your users visually.

Destination Info

  • Accepts Identify, and Track calls

  • Refer to it as Hotjar in the Integrations object

Components

  • Browser

Use cases of Hotjar

Hotjar is a visual & direct way to understand and empathize with your users.

Hotjar helps you collect feedback that explains your behaviour.

Hotjar gives you fast product experience insights with no sleep-leaving curves.

Getting buy-in and demonstrating Hotjar's value is simple.

  1. Hotjar is a visual and direct way to understand and empathize with your users.

  2. With Hotjar, you can collect feedback that explains the behaviour of your users.

  3. Hotjar gives you fast product experience insights with no steep learning curve.

Connection

Connection
Web
Mobile
Server

📱Device Mode

✅

🚫

🚫

☁️Cloud Mode

🚫

​🚫

🚫

Getting Started

Before we get started, you will need the following parameters.

Parameter
Description

SiteID

​Your site ID for HotJar. It should be a whole number, for example 562496.

Methods

Identify

The method call will fail if the identify call is made after the Hotjar tracking code.

The user attributes are set in the first call that is made. These user attributes can’t be deleted and their data type cannot be modified. It is advised you ensure that the data type and property names are correct before you send it for the first time (even for testing purposes).

The userId that is received in identify event is passed as it is.

lmSMTObj.identify("", {
    "firstName": "John",
    "lastName": "Doe",
    "gender": "Male",
    "age": "27",
    "city": "Mumbai",
    "email": "john.doe@gmail.com",
    "phoneNo": "9848012345"
})

In this case, the email and phoneNo will be scraped off the payload, as it is part of PII data of the user. The final payload will be something like:

hj('identify', null,
{
    "firstName": "John",
    "lastName": "Doe",
    "gender": "Male",
    "age": "27",
    "city": "Mumbai"
});
hj('identify', null,
{
    "firstName": "John",
    "lastName": "Doe",
    "gender": "Male",
    "age": "27",
    "city": "Mumbai"
});

In this case, the email and phoneNo will not be scraped off the payload since userId is present. The final payload will be something like:

hj('identify', "viz_001", {
    "firstName": "John",
    "lastName": "Doe",
    "gender": "Male",
    "age": "27",
    "city": "Mumbai",
    "email": "john.doe@gmail.com",
    "phoneNo": "9848012345"
});
lmSMTObj.identify("", {
    "firstName": "John",
    "lastName": "Doe",
    "gender": "Male",
    "age": "27",
    "city": "Mumbai",
    "email": "john.doe@gmail.com",
    "phoneNo": "9848012345"
})

In this case, the email and phoneNo will be scraped off the payload, as it is part of PII data of the user. The final payload will be something like:

hj('identify', null,
{
    "firstName": "John",
    "lastName": "Doe",
    "gender": "Male",
    "age": "27",
    "city": "Mumbai"
});
lmSMTObj.identify("viz_001", {
    "firstName": "John",
    "lastName": "Doe",
    "gender": "Male",
    "age": "27",
    "city": "Mumbai",
    "email": "john.doe@gmail.com",
    "phoneNo": "9848012345"
})

In this case, the email and phoneNo will not be scraped off the payload since userId is present. The final payload will be something like:

hj('identify', "viz_001", {
    "firstName": "John",
    "lastName": "Doe",
    "gender": "Male",
    "age": "27",
    "city": "Mumbai",
    "email": "john.doe@gmail.com",
    "phoneNo": "9848012345"
});

Track

With track call, only event names can be sent to Hotjar. Event properties are not supported with Hotjar.

lmSMTObj.track("filterApplied", {
    "product_id": "1",
    "product_name": "ABC"
})
hj('event', 'filterApplied');
PreviousQuora PixelNextClevertap

Last updated 9 months ago

In order to make an identify call, the user must first enable the feature. The user properties will be shown once the identify call is made in Hotjar.

You can refer to the doc to know more.

To test if your event has been successfully sent to Hotjar, and follow the steps.

User Attributes
Hotjar Identify
click here
Demo: Setting up destination Hotjar