Shopify does not expose server logs or let you run code in the request path from the theme. Rankly connects through a Cloudflare edge layer on your own domain, so it counts every agent, including crawlers that never run JavaScript, without touching your theme.

Follow the Shopify onboarding guide

Full step-by-step setup, from Cloudflare account to your first agent.

In short

1

Put your domain on Cloudflare

Create a free Cloudflare account, add your domain, and switch your nameservers to Cloudflare. This is the one required step for a Shopify apex domain.
2

Connect Cloudflare to Rankly

Use Connect with Cloudflare (OAuth) or paste a scoped API token. Rankly points your domain at your Shopify store and deploys the edge worker for you.
3

Set your primary domain in Shopify

In Settings -> Domains, make your custom domain the primary domain.
4

Confirm your first agent

curl -A "GPTBot/1.2" https://www.yourstore.com/
Your store keeps working exactly as before. Cookies and checkout are unaffected because your domain stays the host. Rankly only measures traffic; it never blocks it.
Rankly is the only agent analytics platform that connects directly to Shopify this way. If you run a headless storefront instead, use the matching integration for your host.