{"title":"Analyze product behavior","description":"Analyze product behavior in Altertable with funnels, retention, segmentation, dashboards, and SQL over lakehouse data.","order":600,"askSuggestions":["When should I turn off sampling on an insight?","Should I use a funnel, retention, or segmentation insight?"],"navigation":true,"body":{"code":"var Component=(()=>{var p=Object.create;var r=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var f=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var b=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),y=(t,e)=>{for(var i in e)r(t,i,{get:e[i],enumerable:!0})},c=(t,e,i,o)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let s of m(e))!v.call(t,s)&&s!==i&&r(t,s,{get:()=>e[s],enumerable:!(o=g(e,s))||o.enumerable});return t};var x=(t,e,i)=>(i=t!=null?p(f(t)):{},c(e||!t||!t.__esModule?r(i,\"default\",{value:t,enumerable:!0}):i,t)),w=t=>c(r({},\"__esModule\",{value:!0}),t);var h=b((S,l)=>{l.exports=_jsx_runtime});var D={};y(D,{default:()=>u,frontmatter:()=>z});var n=x(h()),z={title:\"Analyze product behavior\",description:\"Analyze product behavior in Altertable with funnels, retention, segmentation, dashboards, and SQL over lakehouse data.\",order:600,askSuggestions:[\"When should I turn off sampling on an insight?\",\"Should I use a funnel, retention, or segmentation insight?\"]};function d(t){let e={h1:\"h1\",h2:\"h2\",li:\"li\",p:\"p\",strong:\"strong\",ul:\"ul\",...t.components},{DocsPreviewDocument:i,DocsPreviewSection:o,DocsSectionCards:s}=e;return i||a(\"DocsPreviewDocument\",!0),o||a(\"DocsPreviewSection\",!0),s||a(\"DocsSectionCards\",!0),(0,n.jsxs)(i,{anchors:\"analyze-product-behavior optimize-large-insights\",children:[(0,n.jsxs)(o,{sectionId:\"analyze-product-behavior\",sectionTitle:\"Analyze product behavior\",anchors:\"\",ancestors:\"\",index:\"0\",children:[(0,n.jsx)(e.h1,{id:\"analyze-product-behavior\",children:\"Analyze product behavior\"}),`\n`,(0,n.jsx)(e.p,{children:\"Product Analytics data is queryable as lakehouse tables and through specialized insight types for common behavioral questions. Use these views when you want to segment users, measure retention, or inspect conversion through a funnel.\"}),`\n`]}),(0,n.jsxs)(o,{sectionId:\"optimize-large-insights\",sectionTitle:\"Optimize large insights\",anchors:\"\",ancestors:\"\",index:\"1\",children:[(0,n.jsx)(e.h2,{id:\"optimize-large-insights\",children:\"Optimize large insights\"}),`\n`,(0,n.jsx)(e.p,{children:\"The insight builder can trade some precision for faster queries on large Product Analytics datasets:\"}),`\n`,(0,n.jsxs)(e.ul,{children:[`\n`,(0,n.jsxs)(e.li,{children:[(0,n.jsx)(e.strong,{children:\"Sampling\"}),\" reads a repeatable subset of data. \",(0,n.jsx)(e.strong,{children:\"Default\"}),\" samples up to 1,000,000 rows; \",(0,n.jsx)(e.strong,{children:\"Aggressive\"}),\" samples up to 100,000 rows. Keep sampling \",(0,n.jsx)(e.strong,{children:\"Off\"}),\" when exact results matter.\"]}),`\n`,(0,n.jsxs)(e.li,{children:[(0,n.jsx)(e.strong,{children:\"Approximate counts\"}),\" estimates distinct counts instead of calculating every unique value exactly.\"]}),`\n`]}),`\n`,(0,n.jsx)(e.p,{children:\"These settings are saved with the insight. Sampled or approximate results are labeled in charts and tables so viewers can see when the result is not exact.\"}),`\n`,(0,n.jsx)(s,{path:\"product-analytics/analyze\"})]})]})}function u(t={}){let{wrapper:e}=t.components||{};return e?(0,n.jsx)(e,{...t,children:(0,n.jsx)(d,{...t})}):d(t)}function a(t,e){throw new Error(\"Expected \"+(e?\"component\":\"object\")+\" `\"+t+\"` to be defined: you likely forgot to import, pass, or provide it.\")}return w(D);})();\n;return Component;"},"_id":"docs/product-analytics/analyze.mdx","_raw":{"sourceFilePath":"docs/product-analytics/analyze.mdx","sourceFileName":"analyze.mdx","sourceFileDir":"docs/product-analytics","contentType":"mdx","flattenedPath":"docs/product-analytics/analyze"},"type":"Docs","path":"/product-analytics/analyze","level":2,"parent":"product-analytics"}