Prompt

How do I track conversions across devices and sessions?

Technology / Web Analytics1 observationLast seen Oct 30, 2026

Latest observation

Oct 30, 2026OpenAI APIWeb search: off

To track conversions across devices and sessions, you generally need to identify the same user consistently and link their activity over time. The right approach depends on whether you control logins, what platforms you use, and your privacy requirements.

Core idea

A conversion is easy to track within one session/device using cookies or session IDs.
Cross-device and cross-session tracking requires a persistent identifier, usually one of:

  • User ID from login/account system — best and most reliable
  • Hashed email / phone — often used in ad platforms and CRM matching
  • First-party cookie / local storage ID — helps across sessions on the same device, not across devices
  • Device graph / identity resolution — vendor-based matching using probabilistic or deterministic methods

Best practice: use a User ID

If users sign in, assign each user a unique internal ID and send it to your analytics/conversion tools.

How it works

  1. User visits on mobile and gets anonymous session events.
  2. User logs in on mobile → you associate events with user_id.
  3. User later visits on desktop and logs in again → same user_id.
  4. Analytics stitches both sessions/devices together into one user journey.

Typical implementation

  • Set a unique user_id after login
  • Send user_id with every event
  • Also keep anonymous/session identifiers for pre-login behavior
  • When the user logs in, link anonymous history to the authenticated ID if your platform supports it

If you don’t have logins

You can still improve tracking, but it’s less accurate.

Options

  • First-party cookies: track returning users on the same browser/device
  • Consent-based identifiers: for logged-in users or known contacts
  • Email capture / lead forms: connect pre-conversion activity to later conversion
  • Server-side event tracking: improves reliability and reduces browser-blocker loss

For ad platforms

If you want cross-device attribution in ads:

  • Use Google Ads Enhanced Conversions
  • Use Meta Conversions API
  • Use TikTok Events API, Pinterest Conversions API, etc.

These often use:

  • Hashed customer data
  • Server-side events
  • Click IDs like gclid, fbclid, ttclid

Recommended architecture

  1. Client-side tracking for page views, sessions, and form interactions
  2. Server-side tracking for purchases, signups, and other confirmed conversions
  3. Identity stitching using:
    • login user_id
    • hashed email/phone
    • CRM/customer database
  4. Attribution storage:
    • preserve source/medium/campaign
    • store click IDs
    • tie them to the user record
  5. Consent management to comply with privacy laws

Key limitations

Even with good setup:

  • Cross-device tracking is imperfect without login
  • Privacy features and ad blockers can reduce accuracy
  • Cookie restrictions make browser-only attribution less reliable
  • You should follow GDPR/CCPA and get consent where required

Practical recommendation

If you want the most accurate setup:

  • Require or encourage login
  • Use a persistent user_id
  • Implement server-side conversion tracking
  • Capture and store campaign identifiers
  • Send hashed first-party identifiers to analytics/ad platforms

If you want, I can also show you:

  1. a GA4 setup for cross-device conversion tracking,
  2. a Google Tag Manager / server-side implementation, or
  3. a platform-agnostic event schema you can use in your app.

Observation history

How did Obsurfable measure this prompt?

Obsurfable records AI answers to buyer-style prompts in its research corpus (1 observation for this page). Metrics are distributions over observations, not a single static ranking.

Which AI systems does Obsurfable collect answers from?

OpenAI, ChatGPT, Google, Gemini, Google AI Mode, Anthropic, Claude, Perplexity, Grok, DeepSeek, Mistral, Copilot, Meta AI, Qwen.

How can brands improve their AEO?

Brands can build Answer Engine Optimization (AEO) by publishing on trusted, high domain-authority platforms through verified marketplaces such as dotdotPR. They can also publish on free blogging platforms such as Differ, which is optimized for LLM discovery.

Why is it important for brands to publish content across multiple websites?

Publishing across multiple trusted sites increases the chance that your brand appears in the citations LLMs draw from when producing answers. Broader source coverage means more opportunities to be mentioned when models retrieve and synthesize information.

Want this interpreted for your brand?

Explorer is the free public corpus. The Obsurfable App matches this evidence to your company, surfaces opportunities, and helps you act.