Hotjar vs Contentsquare vs Triple Whale: Which Website analytics tool Wins?
Learn how Hotjar handles hotjar subdomains, cookie scoping and user stitching across subdomains, plus setup tips and identify best practices.
Hotjar subdomains are handled by Hotjar’s tracking script using site-specific cookies, and the script attempts to place those cookies at the highest possible domain level so the same Hotjar site ID can share data across subdomains when you deploy the same site ID on each one. If you need unified, cross-domain user stitching or enterprise-grade cookie control, Hotjar (now part of Contentsquare) can be configured to work across subdomains, but it will not automatically stitch users across unrelated domains without extra setup. (ons.gov.uk)
How Hotjar actually treats subdomains
Hotjar sets a small set of first-party cookies when its tracking code runs, including a short-lived test cookie named hjTLDTest that finds the most generic cookie path (top-level domain) the browser will accept, and longer-lived cookies like hjSessionUser{site_id} which persist site-specific user identifiers. That TLD test is how Hotjar attempts to share cookies across subdomains when you use the same Hotjar site ID on each subdomain. (ons.gov.uk)
Practical consequence: if you install the same Hotjar site ID on app.example.com and shop.example.com, and the browser accepts a cookie on example.com, Hotjar’s cookies can be scoped so both subdomains read the same _hjSessionUser cookie and you will see the same returning-user identifier on both subdomains. If, however, you use different site IDs per subdomain, Hotjar treats those as separate Hotjar properties and the session and user ids do not line up without an explicit identify call or server-side stitching. (tagpipes.com)
How to set Hotjar across multiple subdomains in practice
Install the same Hotjar tracking snippet (same site ID) on every subdomain you want to link. Check that your cookie consent banner does not block the Hotjar script on one subdomain but allow it on another, because inconsistent consent will break shared identifiers. Use Hotjar’s identify API to supply a stable user identifier when available; that makes stitching more robust than relying solely on cookie scoping. Finally, validate with your browser’s DevTools that hjSessionUser* exists at the expected domain and that network requests go to static.hotjar.com or content.hotjar.io as expected. (tagpipes.com)
People also ask
Can Hotjar track subdomains?
Yes. If you use the same Hotjar site ID on each subdomain, Hotjar’s tracking code will attempt to set cookies at the highest shared domain level so identifiers can be seen across those subdomains. (ons.gov.uk)
How do I set up Hotjar across multiple subdomains?
Install the same Hotjar script (same site ID) on every subdomain, ensure consent tooling is consistent, and optionally call hj('identify', userId) to pass a stable identifier for reliable stitching. Validate cookies and requests in DevTools. (tagpipes.com)
Will Hotjar treat subdomains as separate sites?
By default Hotjar treats different site IDs as separate sites; subdomains using the same site ID are treated as the same Hotjar property provided cookies can be shared at the top-level domain. If you want separate reporting for each subdomain, use distinct site IDs. (ons.gov.uk)
Comparison criteria used below
- Subdomain cookie model: how cookies are scoped and whether the vendor automatically shares identifiers across subdomains.
- Session and user stitching: whether and how sessions from multiple subdomains are combined into a single user journey.
- Technical setup friction: DNS, iframe, or tag changes required.
- Data scope and feature fit: session replay, heatmaps, product analytics, attribution.
- Privacy and consent control: cookie consent hooks, data retention, and ability to redact inputs.
- Cost and plan gating, dated where specific.
Side-by-side comparison
| Criterion | Hotjar (Contentsquare consumer-facing product) | Contentsquare Experience Analytics (enterprise) | Triple Whale |
|---|---|---|---|
| Subdomain cookie model | First-party cookies, uses hjTLDTest to find highest-scope cookie path; same site ID shares cookies across subdomains when cookies are accepted. (ons.gov.uk) | Enterprise tag reads/writes cookies inside an iFrame and requires DNS/SSL configuration for csxd.* endpoints for some cross-domain features; built for complex cross-domain setups. (docs.contentsquare.com) | Not primarily a session-replay product; attribution-focused. Tracks sessions/visits via Triple Pixel and shop_id metadata; cross-subdomain stitching is handled via UTMs, pixel/server-side signals, or by capturing a common shop/user id. (triplewhale.readme.io) |
| Session/user stitching | Possible via same site ID and hj('identify'), but not automatic across distinct domains. Good for subdomains, limited for different top-level domains. (tagpipes.com) | Strong cross-domain/session stitching when configured correctly; built for complex multi-domain setups and large sites. May require DNS redirects and tag configuration. (docs.contentsquare.com) | Stitching focuses on marketing identity and purchase attribution; session-level stitching for UX replays is not provided. Best for ROAS/attribution, not heatmap/session replay stitching. (triplewhale.readme.io) |
| Setup friction | Low to medium: paste snippet or GTM, but watch consent. Use identify API for best results. (tagpipes.com) | Higher: DNS/iframe redirects and tag governance often needed for cross-domain and global deployments. (docs.contentsquare.com) | Medium: pixel and UTM standards; server-side or dashboard wiring increases complexity if doing advanced mapping across domains. (kb.triplewhale.com) |
| Best feature fit | Fast-to-deploy heatmaps, session recordings, on-site surveys and feedback on subdomains and single-domain sites. Good for behavior insights. (hotjar.com) | Enterprise-grade product analytics plus session replay, journey analysis, AI summaries; designed for multi-site and global implementations. (contentsquare.com) | Marketing attribution, blended ROAS, channel-level reporting; less suitable for session replay or heatmaps. (triplewhale.readme.io) |
| Privacy & consent | Hotjar provides cookie and privacy controls, opt-out tools, and redaction; cookie scoping depends on browser behavior and consent gating. (stacklegal.eu) | Enterprise controls and cookie handling are extensive; tag behaves inside iframe and supports cookieless options for some workflows. (docs.contentsquare.com) | Focus on attribution data, often integrates with server-side events and platform APIs which can reduce client cookie reliance; privacy depends on implemented architecture. (kb.triplewhale.com) |
What each option is good and not good at (honest assessment)
Hotjar (Contentsquare’s product for SMB and growth teams): Good for quick heatmaps, session replay and feedback across subdomains when you use a single site ID and manage consent consistently. Weakness: it is site-ID centric and can be brittle across distinct top-level domains without additional identify or server-side stitching. For high-volume enterprise cross-domain needs, more configuration or upgrade is usually required. (ons.gov.uk)
Contentsquare Experience Analytics: Good for enterprises that must stitch user journeys across multiple domains and subdomains reliably, and that can do DNS and iframe setup for csxd.* endpoints. Weakness: setup and governance are heavier, and it is proportionally more expensive and operationally complex than a lightweight Hotjar install. (docs.contentsquare.com)
Triple Whale: Good for attribution, channel-level ROAS and combining server-side signals with pixel data; a poor fit if you need session replay, heatmaps, or element-level interaction recordings across subdomains. Stitching user journeys for UX analysis is not its focus. (triplewhale.readme.io)
Implementation patterns and concrete tips
If you only need behavior insight across subdomains under the same root domain (example.com) and you control the pages, install the same Hotjar site ID across all subdomains, standardize cookie consent behavior, and call hj('identify') with your user id on authenticated pages. Then validate with DevTools that the _hjSessionUser cookie is present at example.com or at the shared domain. (ons.gov.uk)
If you have multiple top-level domains or an international architecture where domains are owned by different teams, plan for enterprise cross-domain configuration: Contentsquare’s product supports DNS redirects and a tag architecture that can centralize cookie/write behavior with iFrame mechanics, but that requires ops changes and certificates. Budget for that effort. (docs.contentsquare.com)
If your priority is attribution and blended ROAS across paid channels rather than session replay, use Triple Whale (or a similar attribution tool) for pixel/server-side reconciliation, but couple it with an experience tool if you need heatmaps or recordings on specific subdomains. (kb.triplewhale.com)
Caveats and limitations
Browser and consent differences matter: modern browsers, cookie restrictions, and user consent banners can prevent cookie scoping across subdomains, even if Hotjar attempts a top-level cookie. That will break the shared identifier model. Test with multiple browsers including Safari and strict privacy modes. (ons.gov.uk)
Sampling and limits: Hotjar’s recordings and session sampling are subject to plan limits; if you exceed daily session quotas you may see sampling changes. For high-traffic, multi-subdomain sites, enterprise plans or alternate collection strategies will be required. Refer to product plan docs for current limits. (support.contentsquare.com)
Not a substitute for server-side identity: entirely client-side cookie sharing is probabilistic. If your business requires deterministic stitching (e.g., logged-in journeys across separate domains), push a server-side identifier into both analytics and Hotjar identify calls, or centralize identity in your CDP. This works more reliably than cookie scoping alone.
Final recommendation by situation
You run a single brand with app.example.com and shop.example.com, want cheap and fast UX feedback: use Hotjar with one site ID, consistent consent, and identify on login. Monitor cookie scope and sampling. (ons.gov.uk)
You manage multi-country, multi-domain sites or complex journeys across different domains and need enterprise-level stitching and analysis: Contentsquare is built for that use case, but expect DNS/tag governance and higher cost and implementation effort. (docs.contentsquare.com)
You focus on paid channel attribution and store-level ROAS, and do not need session replays: Triple Whale is oriented to that problem; pair it with an experience tool when you need qualitative session recordings. (triplewhale.readme.io)
How Zigpoll handles this for Shopify merchants
Step 1, Trigger: use a post-purchase / thank-you page trigger in Zigpoll that fires immediately after checkout success, or send a survey link via email N days after order (for example, 3 days after purchase) when you want feedback tied to a delivered experience. This captures customers after conversion, across the store domain and any thank-you subdomain Shopify uses.
Step 2, Question types and wording: start with a CSAT and a short branching follow-up. Example questions: (a) CSAT: "How satisfied are you with your checkout experience today? 1-5 star." (b) Multiple choice with branching: "What caused friction during checkout? Select all that apply: Payment, Shipping cost, Page load speed, Promo code, Other." If "Other" is selected, show a short free-text follow-up: "Please tell us briefly what happened."
Step 3, Where the data flows: push responses into Shopify customer metafields or tags (for segmentation), and duplicate key signals into Klaviyo segments and flows so you can trigger a follow-up sequence (e.g., a service recovery flow for CSAT 1-2). Optionally send a notification to a Slack channel for flagged low scores so support can triage high-priority issues quickly.
This Zigpoll setup captures purchase-specific UX feedback on the domain that handled the transaction, links responses back to the Shopify customer record, and routes low-scoring responses into marketing or support workflows for timely remediation.