{"id":25192,"date":"2023-08-31T07:41:56","date_gmt":"2023-08-31T07:41:56","guid":{"rendered":"https:\/\/refiner.io\/docs\/?post_type=knowledgebase&#038;p=25192"},"modified":"2026-03-07T12:02:40","modified_gmt":"2026-03-07T12:02:40","slug":"mixpanel","status":"publish","type":"knowledgebase","link":"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/","title":{"rendered":"Mixpanel Integration"},"content":{"rendered":"\n\n\n<h2 class=\"wp-block-heading\">Introduction<\/h2>\n\n\n\n<p><a href=\"https:\/\/mixpanel.com\" target=\"_blank\" rel=\"noreferrer noopener\">Mixpanel<\/a> is a popular product analytics and customer data platform for SaaS and Mobile app businesses. Our Mixpanel integration makes it easy to send survey response data from Refiner to your Mixpanel account, as well syncing user cohorts from Mixpanel to Refiner.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Prerequisites<\/h2>\n\n\n\n<p>Before setting up this integration, please make sure that you are identifying your users in Refiner and Mixpanel with the same identifier (userId). If your user identifiers don&#8217;t match up, Mixpanel and Refiner won&#8217;t be able match and merge user profiles correctly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"send-survey-data\">Send survey response data to Mixpanel<\/h2>\n\n\n\n<p>If you want to enrich user profiles in Mixpanel with survey response data, follow the steps below.<\/p>\n\n\n\n<p>In your Refiner dashboard, go to &#8220;Integrations &gt; Mixpanel&#8221;.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"534\" src=\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.36.41-1024x534.png\" alt=\"\" class=\"wp-image-25195\" srcset=\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.36.41-1024x534.png 1024w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.36.41-800x417.png 800w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.36.41-768x401.png 768w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.36.41-1536x801.png 1536w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.36.41-2048x1068.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p>Go to your Mixpanel account and grab your Mixpanel Project ID, as well as your Mixpanel API key. Paste both in the Refiner integration screen.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"465\" src=\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.38.43-1024x465.png\" alt=\"\" class=\"wp-image-25196\" srcset=\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.38.43-1024x465.png 1024w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.38.43-800x363.png 800w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.38.43-768x349.png 768w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.38.43-1536x698.png 1536w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.38.43-2048x930.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p>Choose which surveys events you want to receive. The events &#8220;Survey Seen&#8221; and &#8220;Survey Dismissed&#8221; contain the name and id of the survey. The event &#8220;Survey Completed&#8221; also contains all survey response data. <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"453\" src=\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.39.06-1024x453.png\" alt=\"\" class=\"wp-image-25197\" srcset=\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.39.06-1024x453.png 1024w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.39.06-800x354.png 800w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.39.06-768x340.png 768w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.39.06-1536x679.png 1536w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.39.06-2048x906.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p>You can also change the name of the events to match your current naming convention in Mixpanel.<\/p>\n\n\n\n<p>You can choose whether to include only the data linked to the survey response in the request, or to include additional user traits as well.<\/p>\n\n\n\n<p>Choose which surveys events you want to receive. By default, Refiner will send data to Mixpanel for all your surveys.<\/p>\n\n\n\n<p>Hit &#8220;save&#8221; and you are done.<\/p>\n\n\n\n<p>From this moment on, survey response data will automatically flow to your Mixpanel account. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"sync-cohorts\">Sync user cohorts from Mixpanel<\/h2>\n\n\n\n<p>Besides pushing survey data to your Mixpanel account, you can also sync user cohorts that you created in Mixpanel to Refiner. Synced user cohorts can then be used as a <a href=\"https:\/\/refiner.io\/docs\/kb\/in-product-surveys\/target-audience\/\">Target Audience<\/a> for in-product surveys.<\/p>\n\n\n\n<p>To set up this integration, you&#8217;ll first need to create a <a href=\"https:\/\/refiner.io\/docs\/kb\/segmentation\/manual-segments\/\">Manual Segment<\/a> in Refiner that will accomodate all user profiles from your Mixpanel cohort. <\/p>\n\n\n\n<p>Once done, you&#8217;ll create a webhook in Mixpanel pointing to your newly created user segment. You can find a detailed guide on how to create a webhook in Mixpanel in their <a href=\"https:\/\/docs.mixpanel.com\/docs\/cohort-sync\/webhooks\">documentation<\/a>.<\/p>\n\n\n\n<p>When creating a webhook in Mixpanel, you&#8217;ll be asked to provide a target URL. You can grab the URL pointing to your newly created user segment under &#8220;Integrations &gt; Mixpanel&#8221; in the tab &#8220;Import cohorts from Mixpanel&#8221;.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"469\" src=\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-04-at-21.48.51-1024x469.png\" alt=\"\" class=\"wp-image-26121\" srcset=\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-04-at-21.48.51-1024x469.png 1024w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-04-at-21.48.51-800x366.png 800w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-04-at-21.48.51-768x352.png 768w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-04-at-21.48.51-1536x703.png 1536w, https:\/\/refiner.io\/docs\/wp-content\/uploads\/2024\/06\/Screenshot-2024-06-04-at-21.48.51.png 2022w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n<p>To authenticate data coming from Mixpanel, you&#8217;ll also need to provide your Refiner API key in the &#8220;Basic Auth&#8221; section of the webhook. The Refiner API key needs to be put in the &#8220;Username&#8221; field. The &#8220;Password&#8221; field can have an arbitrary value. You can also leave the Basic Auth section empty and append &#8220;?api_key=&lt;your_api_key&gt;&#8221; to the webhook URL. <\/p>\n\n\n\n<p>Once you entered the target URL and your Refiner API key, all cohort members will get synced form Mixpanel to your manual segment in Refiner in real-time.<\/p>\n\n\n\n<p>Mixpanel user profiles are mapped to records in Refiner using the &#8220;<a href=\"https:\/\/docs.mixpanel.com\/docs\/tracking-methods\/id-management\/identifying-users\">Distinct Id<\/a>&#8221; and the identifier you used when you <a href=\"https:\/\/refiner.io\/docs\/kb\/javascript-client\/anonymous-vs-identified-users-mode\/\">identify your users<\/a> in Refiner. If a user profiles does not yet exist in your Refiner account it will be created automatically when the cohort is synced.<\/p>\n\n\n\n<p>If you have any questions about this integration, please don\u2019t hesitate to reach out to our support team.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Mixpanel is a popular product analytics and customer data platform for SaaS and Mobile app businesses. Our Mixpanel integration makes it easy to send survey response data from Refiner to your Mixpanel account, as well syncing user cohorts from Mixpanel to Refiner. Prerequisites Before setting up this integration, please make sure that you are [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","template":"","knowledgebase_tag":[],"class_list":["post-25192","knowledgebase","type-knowledgebase","status-publish","hentry","knowledgebase_cat-integrations"],"featured_image_urls_v2":{"full":"","thumbnail":"","medium":"","medium_large":"","large":"","1536x1536":"","2048x2048":"","ab-block-post-grid-landscape":"","ab-block-post-grid-square":"","gb-block-post-grid-landscape":"","gb-block-post-grid-square":""},"post_excerpt_stackable_v2":"<p>Introduction Mixpanel is a popular product analytics and customer data platform for SaaS and Mobile app businesses. Our Mixpanel integration makes it easy to send survey response data from Refiner to your Mixpanel account, as well syncing user cohorts from Mixpanel to Refiner. Prerequisites Before setting up this integration, please make sure that you are identifying your users in Refiner and Mixpanel with the same identifier (userId). If your user identifiers don&#8217;t match up, Mixpanel and Refiner won&#8217;t be able match and merge user profiles correctly. Send survey response data to Mixpanel If you want to enrich user profiles in&hellip;<\/p>\n","category_list_v2":"","author_info_v2":{"name":"Moritz Dausinger","url":"https:\/\/refiner.io\/docs\/author\/user\/"},"comments_num_v2":"0 comments","acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Mixpanel Integration<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mixpanel Integration\" \/>\n<meta property=\"og:description\" content=\"Introduction Mixpanel is a popular product analytics and customer data platform for SaaS and Mobile app businesses. Our Mixpanel integration makes it easy to send survey response data from Refiner to your Mixpanel account, as well syncing user cohorts from Mixpanel to Refiner. Prerequisites Before setting up this integration, please make sure that you are [...]Read More...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Refiner Documentation\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-07T12:02:40+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.36.41-1024x534.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/\",\"url\":\"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/\",\"name\":\"Mixpanel Integration\",\"isPartOf\":{\"@id\":\"https:\/\/refiner.io\/docs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.36.41-1024x534.png\",\"datePublished\":\"2023-08-31T07:41:56+00:00\",\"dateModified\":\"2026-03-07T12:02:40+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/#primaryimage\",\"url\":\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.36.41.png\",\"contentUrl\":\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.36.41.png\",\"width\":2872,\"height\":1498},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/refiner.io\/docs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mixpanel Integration\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/refiner.io\/docs\/#website\",\"url\":\"https:\/\/refiner.io\/docs\/\",\"name\":\"Refiner Documentation\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/refiner.io\/docs\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/refiner.io\/docs\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/refiner.io\/docs\/#organization\",\"name\":\"Refiner Documentation\",\"url\":\"https:\/\/refiner.io\/docs\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/refiner.io\/docs\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2022\/11\/cropped-Group-8.png\",\"contentUrl\":\"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2022\/11\/cropped-Group-8.png\",\"width\":400,\"height\":61,\"caption\":\"Refiner Documentation\"},\"image\":{\"@id\":\"https:\/\/refiner.io\/docs\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mixpanel Integration","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/","og_locale":"en_US","og_type":"article","og_title":"Mixpanel Integration","og_description":"Introduction Mixpanel is a popular product analytics and customer data platform for SaaS and Mobile app businesses. Our Mixpanel integration makes it easy to send survey response data from Refiner to your Mixpanel account, as well syncing user cohorts from Mixpanel to Refiner. Prerequisites Before setting up this integration, please make sure that you are [...]Read More...","og_url":"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/","og_site_name":"Refiner Documentation","article_modified_time":"2026-03-07T12:02:40+00:00","og_image":[{"url":"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.36.41-1024x534.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/","url":"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/","name":"Mixpanel Integration","isPartOf":{"@id":"https:\/\/refiner.io\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/#primaryimage"},"image":{"@id":"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.36.41-1024x534.png","datePublished":"2023-08-31T07:41:56+00:00","dateModified":"2026-03-07T12:02:40+00:00","breadcrumb":{"@id":"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/#primaryimage","url":"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.36.41.png","contentUrl":"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-31-at-09.36.41.png","width":2872,"height":1498},{"@type":"BreadcrumbList","@id":"https:\/\/refiner.io\/docs\/kb\/integrations\/mixpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/refiner.io\/docs\/"},{"@type":"ListItem","position":2,"name":"Mixpanel Integration"}]},{"@type":"WebSite","@id":"https:\/\/refiner.io\/docs\/#website","url":"https:\/\/refiner.io\/docs\/","name":"Refiner Documentation","description":"","publisher":{"@id":"https:\/\/refiner.io\/docs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/refiner.io\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/refiner.io\/docs\/#organization","name":"Refiner Documentation","url":"https:\/\/refiner.io\/docs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/refiner.io\/docs\/#\/schema\/logo\/image\/","url":"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2022\/11\/cropped-Group-8.png","contentUrl":"https:\/\/refiner.io\/docs\/wp-content\/uploads\/2022\/11\/cropped-Group-8.png","width":400,"height":61,"caption":"Refiner Documentation"},"image":{"@id":"https:\/\/refiner.io\/docs\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/knowledgebase\/25192","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/comments?post=25192"}],"version-history":[{"count":10,"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/knowledgebase\/25192\/revisions"}],"predecessor-version":[{"id":28241,"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/knowledgebase\/25192\/revisions\/28241"}],"wp:attachment":[{"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/media?parent=25192"}],"wp:term":[{"taxonomy":"knowledgebase_tag","embeddable":true,"href":"https:\/\/refiner.io\/docs\/wp-json\/wp\/v2\/knowledgebase_tag?post=25192"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}