How can I track customer activity in my Shopify app?

Topic summary

A developer has built a Shopify app using Shopify CLI that includes:

Current functionality:

  • Configuration page in the admin dashboard after installation
  • Script tag injection to add a widget (similar to chat support) on the storefront
  • Reward system that merchants configure through the admin panel

Key challenge:

  • The developer needs to track which customer is signed into the store when they interact with the widget
  • They want to send this customer activity data to their Shopify app backend to display personalized UI based on the customer’s behavior
  • Authentication works by default for merchant admin access, but tracking individual customer activity on the storefront presents a technical hurdle

Status: The question remains unanswered with no solutions or guidance provided yet. One response appears to be spam/irrelevant content.

Summarized with AI on November 25. AI used: claude-sonnet-4-5-20250929.

I have made an app using Shopify CLI.

It is a simple app that after installation gives a configuration page on the admin dashboard and sends a script tag to the store and adds a small widget(something like chat support) which when clicked on by the customer, would provide a nice UI. This app would reward you with points for your orders.

My question here is when the merchant configures the rewards on the admin, the authentication works by default

But I also need to know which customer has signed in to the store, so I can send it to my Shopify app backend and display the UI based on that person’s activity.

med fokus på säkerhet och speciallösningar. Våra produkter är.

branddörrar