Skip to content
Use case · Online stores

Ecommerce analytics for online stores

Linqry shows an online store which channels, campaigns and countries bring buyers, not just visits, and where shoppers drop out between product page and purchase. It's cookieless analytics with revenue attribution, funnels and campaign links, at $5 per site per month.

Updated · 4 min read

What a store needs from its analytics

Traffic alone doesn't pay the bills. A store needs answers to four questions:

  • Which channels sell: revenue and conversion rate by referrer, UTM source and country, and what a visitor is worth.
  • Where shoppers drop out: how many go from product page to cart, checkout and purchase.
  • Which campaign links work: clicks for every newsletter, influencer and print placement.
  • What's happening during a sale: live visitors, pages and sources while a promotion runs.

Record purchases with their value

Linqry attributes revenue to the event that carries it. If your order confirmation page is a page on your own site where the snippet runs, send the purchase from there, once per order. It inherits the visit's referrer and UTM tags automatically:

// On the order confirmation page, once per order
window.linqry('purchase', { items: 3, coupon: 'SPRING10' }, 5499); // $54.99

Amounts are integers in the smallest currency unit, stored as sent with no currency conversion. Revenue sent from the browser is capped, and anyone can call window.linqry() from your page, so for the numbers you report to the business, send orders from your backend with the site's write key, as the revenue docs describe:

curl -X POST https://linqry.com/api/track \
  -H 'authorization: Bearer YOUR_WRITE_KEY' \
  -H 'content-type: application/json' \
  -d '{
    "siteId": "YOUR_SITE_ID",
    "event": "order-paid",
    "url": "https://shop.example.com/products/linen-shirt?utm_source=newsletter&utm_campaign=spring-drop",
    "referrer": "https://news.example.org/gift-guide",
    "properties": { "items": 3 },
    "revenue": 5499
  }'

Pass the landing URL and referrer if your store records them with the order; without them, the sale is reported under direct / (none). Orders sent this way count toward revenue totals and revenue by source, but they aren't linked to the shopper's browser visit, so they don't appear in funnels or visitor timelines.

Find where shoppers drop out

Funnel steps match one exact path or one event name. For a step that spans many URLs, such as any product page, send an event from the template instead of matching a path:

<!-- product page template -->
<script>window.linqry('product-viewed', { sku: 'LIN-042' })</script>
<button data-linqry-event="added-to-cart" data-linqry-event-sku="LIN-042">Add to cart</button>

Then build product-viewed → added-to-cart → /checkout → purchase. The funnel shows how many visitors reached each step in order and the drop-off between steps, for the dashboard's date range and filters, so you can compare mobile with desktop or one country with another. More on funnels.

See revenue by channel and country

The Insights page ranks referrers, UTM sources and countries by revenue and by conversion rate (the share of visitors who made a purchase), shows how revenue splits across devices, operating systems and browsers, and charts revenue per visitor over time. It also lists the custom events most often followed by a purchase, plus a day-of-week by hour grid of when purchases happen. On the dashboard, the channel donut splits visitors and revenue into Search, Social, Email, Referral, Paid and Direct. More in revenue attribution.

On the Campaigns page, set a campaign's UTM source, medium and campaign once, then create a short link for each placement: an influencer's bio, the newsletter, a flyer in the parcel. Each short link redirects with the campaign's UTM tags added and has a QR code for print. Clicks are counted per link by day, country, device and referrer, and the visits those clicks produce show up under the campaign's UTM source and campaign on the dashboard. The UTM parameters guide covers naming conventions.

Example: measuring a weekend sale

  1. Tag the email

    Create a weekend-sale campaign with utm_source=newsletter and utm_medium=email, then a short link for each button in the email, so you can see which one gets clicked.

  2. Watch it land

    When the email goes out, the Realtime view shows live visitors, the pages they're on and the sources sending them.

  3. Read the results

    After the weekend, set the dashboard to the sale dates and filter by UTM source newsletter: you see the email's visitors, revenue and funnel on their own, next to the whole store's.

  4. Compare the links

    On the campaign page, compare clicks per link to decide which placement earns its spot in the next email.

When Linqry isn't the right fit

  • Hosted checkouts you can't add code to. On Shopify, theme layouts apply only to non-checkout pages, and the older ways to add scripts to checkout and to the Thank you and Order status pages (checkout.liquid, additional scripts and script tags) have been retired. A snippet in your theme doesn't see the purchase, so you'd send orders from a small backend function, for example one that receives Shopify's orders/paid webhook and calls /api/track. See the Shopify install guide.
  • Revenue by product. Event properties such as a SKU are stored and shown in each visitor's timeline, but reports aren't broken down by property.
  • Ad spend and return on ad spend. There's no Google Ads integration or cost import.
  • Multi-day shopping journeys. A shopper who browses on Monday and buys on Thursday is two visitors, and the sale is credited to Thursday's source unless your backend passes the original landing URL.
  • Product-page experiments. There are no heatmaps, session replay or A/B tests.

Features you'll use

Frequently asked questions

Does Linqry work with Shopify?

Yes, on your storefront: add the snippet to your theme, and page views, product views and add-to-cart events work as on any site. Purchases happen on Shopify's checkout, where theme code doesn't run, so send paid orders from your backend if you want revenue in Linqry.

Which currency does Linqry report revenue in?

The currency you send. Linqry stores amounts as integers in the smallest unit and doesn't convert currencies, and the dashboard labels revenue with a dollar sign. Send every order in one currency so the totals add up.

Can I see revenue per product?

Not as a report. Event properties such as a SKU are stored and appear in each visitor's timeline on the Users page, but the dashboard doesn't break revenue down by property.

Sources

  1. Shopify Dev Docs: Layouts (general layouts apply to non-checkout pages) (checked Nov 9, 2026)
  2. Shopify Dev Docs: checkout.liquid (sunset of checkout.liquid, additional scripts and script tags) (checked Nov 9, 2026)
  3. Shopify GraphQL Admin API: WebhookSubscriptionTopic (orders/paid) (checked Nov 9, 2026)

See your own funnels and revenue by channel

No card required · 30-day trial · No cookies