Whimful
The fastest e-commerce analytics tag

One tag. Zero compromises.

A single lightweight script (< 15 KB) that captures everything your ad platforms need. Fires 27% faster than Google Analytics. Automatically optimizes your site for speed. Privacy-compliant out of the box.

PROVEN FASTER

Your first beacon ~270 ms sooner.

In real-world tests, Whimful's analytics tag starts sending pageview beacons ~270ms faster than Google Analytics. Faster signals mean more data captured before users bounce.

0ms402ms805ms1.21s1.61s
HTML
96ms
CSS
180ms
JS
312ms
Fonts
264ms
Images
432ms
Whimful
712ms
GA
982ms
↑ Whimful fires 270 ms earlier
More beacons fired

Faster init() means more events captured before users leave, especially on mobile where sessions are short.

Richer data from every visit

Dense pageview info, site clicks, performance data, and custom events. Just describe what you want to track, and the tag does the rest.

Lightweight & purpose-built

No bloated legacy code. Engineered from scratch for modern e-commerce.

A Google/Deloitte study found that just a 100 ms site speed improvement increased retail conversions by 8.4%.

AUTOMATIC OPTIMIZATIONS

Your site, automatically faster.

The Whimful tag does more than collect data. It optimizes your site's performance and user experience with built-in features that work out of the box.

Speculation Rules

Prefetches and prerenders the pages your visitors are most likely to visit next. Based on real traffic patterns, analyzed weekly. Uses the browser-native Speculation Rules API so navigations feel instant. Unsupported browsers ignore the rules.

Webview Breakout

When a social media app loads your site in an embedded webview, the tag detects it and breaks the user out to their default browser. This preserves cookies, identity, and the full browsing experience, instead of a sandboxed session that loses everything.

Device Stamping

Creates privacy-safe device identifiers using non-personal hardware characteristics. Helps recognize returning users across sessions, even when cookies are cleared or unavailable. Works alongside your first-party identity, not instead of it.

AUTOMATIC PIXEL FIRING

Every platform's pixel. One tag.

Connect your ad platforms once. The Whimful tag fires their pixels alongside its own beacons, both server-side and client-side. No extra scripts. No tag manager bloat.

Meta Pixel
Google Ads
TikTok Pixel
GA4
Snap Pixel
Pinterest Tag
Whimful Tag
Fired
Fired
Fired
Fired
Fired
Fired
Zero extra scripts

No need to load each platform's pixel script separately. The Whimful tag handles all pixel firing natively, reducing page weight and load time.

Server-side + client-side

Events are forwarded both client-side and via Conversion APIs (CAPI). If a browser blocks the client pixel, the server-side event still reaches the platform.

Configure in your dashboard

Connect Meta, Google Ads, TikTok, GA4, Snapchat, Pinterest, and more. Toggle pixels on or off per platform. No code changes needed.

BROWSER COMPATIBLE

Works with bfcache, not against it.

Most analytics tags break the browser's back/forward cache (bfcache), making navigations slower for your visitors. The Whimful tag is engineered to be fully bfcache-compatible.

Traditional Tags
Uses beforeunload (blocks bfcache)
Misses back-button pageviews
Stale metrics after restore
Fires during prerender (inflated data)
Whimful Tag
No bfcache-blocking listeners
Detects bfcache restores automatically
Resets metrics and fires fresh pageview
Defers tracking until page is activated

This means faster back/forward navigations and more accurate analytics for every visitor.

PRIVACY BY DEFAULT

Compliant everywhere your customers are.

The Whimful tag ships with jurisdiction-aware defaults for 24+ privacy regulations worldwide. No configuration needed. It applies the right consent model based on where your visitor is.

Jurisdiction-aware defaults

GDPR, CCPA, LGPD, PIPEDA, POPIA, APPI, and 18+ more. Each jurisdiction gets the correct opt-in or opt-out default. US states like California, Virginia, and Colorado each have their own rules. The tag handles them all.

TCF v2 & Shopify consent

Reads IAB TCF v2 consent strings from any compliant CMP. On Shopify, it integrates with the Customer Privacy API. Also supports Google Consent Mode and IAB GPP.

Built-in consent UI

Don't have a CMP? The tag includes one. Consent modal for opt-in jurisdictions, "Do not sell my data" footer for opt-out. Colors, text, and positioning are all customizable.

Privacy consent uses OR logic. If any connected consent framework (TCF, Shopify, Google Consent Mode, GPP) grants permission, the tag respects it. This maximizes data capture while staying fully compliant.

COMPREHENSIVE DATA

Everything your ad platforms need. Nothing they don't.

Every beacon includes rich context that powers better optimization across Google, Meta, TikTok, and more.

Pageviews & navigation

Full URL, referrer, UTM parameters, and SPA route changes. Every page visit captured, including bfcache restores.

Site clicks & interactions

Element selectors, link targets, and click coordinates. Know exactly what users engage with on every page.

Scroll depth & time on page

Max scroll percentage and active time spent on page. Understand content engagement beyond just pageviews.

Web Vitals

LCP, CLS, FID, and INP captured automatically. Monitor real-user performance without separate tooling.

Natural language custom events

Describe what you want to track in plain English ("add to cart button", "cart open", "product image click") and the tag fires automatically. No selectors, no code changes.

Device & geo context

Browser, OS, screen size, viewport dimensions, and visitor location. Every beacon carries the full picture.

Privacy consent state

Every beacon includes the current consent state (analytics, marketing, sale of data) and TCF string if available. Full audit trail.

Server-side enrichment

IP-based geo, request headers, and first-party cookies are captured server-side. No data lost to ad blockers or browser restrictions.

One tag to replace your entire tracking stack.

Install in 5 minutes. See faster beacons, automatic optimizations, and privacy compliance from day one.