Skip to content

mixpanel_heat_map (Resource)

Manages a Mixpanel Heat Map (mixpanel_heat_map) — a visual overlay showing where users click, scroll, and engage on a specific webpage. Heat maps help identify which page elements attract attention and which are ignored, informing design and UX decisions.

Example Usage

resource "mixpanel_heat_map" "landing_page" {
  project_id  = 1234567
  title       = "Homepage Heat Map"
  url         = "https://example.com/"
  description = "Click and scroll tracking for landing page"
}

Schema

Required

  • title (String)
  • url (String)

Optional

  • backdrop_replay_distinct_id (String)
  • backdrop_replay_id (String)
  • backdrop_replay_progress_ms (Number)
  • dashboard_id (Number)
  • description (String)
  • filters (String)
  • goal (String)
  • goal_weight (String)
  • heat_map_id (String)
  • project_id (Number)
  • time_filter (String)

Read-Only

  • allow_staff_override (Boolean)
  • can_pin (Boolean)
  • can_share (Boolean)
  • can_update_basic (Boolean)
  • can_view (Boolean)
  • id (String) The ID of this resource.
  • is_shared_with_project (Boolean)
  • is_superadmin (Boolean)
  • last_modified_by_email (String)
  • last_modified_by_id (Number)
  • last_modified_by_name (String)

Import

Import using the composite ID PROJECT_ID:ID:

import {
  to = mixpanel_heat_map.example
  id = "1234567:abc123def456"
}