Skip to content

Cross-device tracking

Track logged-in customers across multiple devices in GA4

Use with AI

Use with AI

Ready-made prompts Connect your AI to Pasilobus Install the CLI

This page

View as MarkdownPlain text of this page Open in ClaudeAsk about this page Open in ChatGPTAsk about this page

Ready-made prompts

Fill in the parts in angle brackets, then paste into any assistant.

Step by step on your store

Read https://help.pasilobus.com/google-analytics/cross-device-tracking.md. Walk me through cross-device tracking in GA4 Tracking for my store, step by step. My theme is <theme name> and I want <what you want to happen>.

Ask your own question

Read https://help.pasilobus.com/google-analytics/cross-device-tracking.md. Answer this about GA4 Tracking on my store: <your question>.

Ask Shopify Sidekick

In your Shopify admin, ask Sidekick about GA4 Tracking. It searches these guides.

Connect your AI to Pasilobus Beta

Our MCP server lets Claude, ChatGPT, OpenClaw and other MCP clients use your Pasilobus apps. It is in beta and open to every Pasilobus account: you sign in with it when your assistant asks. Tools that change your store are marked as changes, so your assistant asks you first.

https://cloud.pasilobus.com/mcp

In Claude Code, add it, then run /mcp to sign in:

claude mcp add --transport http pasilobus https://cloud.pasilobus.com/mcp

In Claude on the web or desktop, go to Customize › Connectors › Add custom connector and paste the address. In ChatGPT, OpenClaw or another client, add it as a custom connector (MCP) with the same address.

Install the CLI

npm install -g pasilobus

Run your apps from the terminal or a coding agent. These only read, so they are safe to try:

pasilobus google-analytics conversions

Purchases sent to Google Analytics, revenue, and orders GA4 could not see

pasilobus google-analytics tracking

GA4 measurement ID, tracked events, Google tags, custom events and tracking features

pasilobus apps lists your apps on the store; pasilobus <app> help lists what each app can do. How it works

On this page
  1. What is Cross-Device Tracking?
  2. How It Works
  3. Enabling Cross-Device Tracking
  4. Verifying in GA4
  5. Requirements

What is Cross-Device Tracking?

By default, GA4 treats each device as a separate user. A customer who browses on their phone and buys on their laptop looks like two different visitors in your reports. This inflates your user count and breaks the customer journey in your analytics.

Cross-device tracking solves this by sending a unique identifier (the Shopify customer ID) to GA4 when a customer is logged in. GA4 uses this to connect sessions from the same person across different devices, giving you a single, accurate view of each customer's journey.

How It Works

When a logged-in customer triggers any event on your store (add to cart, checkout, purchase, etc.), the app sends their Shopify customer ID to GA4 as a user_id. GA4 then links all sessions with the same user_id together, regardless of which device or browser was used.

This only works for logged-in customers. Anonymous visitors are still tracked by device as usual.

Enabling Cross-Device Tracking

  1. Open the Pasilobus Google Analytics app
  2. Find the Cross-Device Tracking section
  3. Click Enable

Once enabled, all events from logged-in customers will include their user ID.

Verifying in GA4

To confirm cross-device tracking is working:

  1. In GA4, go to Admin › Reporting Identity
  2. Set reporting identity to Blended (recommended) or Observed
  3. Go to Explore › User Explorer to see users identified by their Shopify customer ID

With Blended reporting identity, GA4 uses the user ID to deduplicate users across devices, giving you a more accurate user count.

Requirements

  • Pro plan required
  • Customers must be logged in to their account on your store
  • Works for all events tracked by the app (add to cart, checkout, purchase, etc.)

Talk to a person.

The people who build our apps answer support themselves. Send us a message or email us, and a person replies, usually within one business day. There's no chat.