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.
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.
Faster init() means more events captured before users leave, especially on mobile
where sessions are short.
Dense pageview info, site clicks, performance data, and custom events. Just describe what you want to track, and the tag does the rest.
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%.
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.
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.
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.
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.
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.
No need to load each platform's pixel script separately. The Whimful tag handles all pixel firing natively, reducing page weight and load time.
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.
Connect Meta, Google Ads, TikTok, GA4, Snapchat, Pinterest, and more. Toggle pixels on or off per platform. No code changes needed.
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.
beforeunload (blocks bfcache)This means faster back/forward navigations and more accurate analytics for every visitor.
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.
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.
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.
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.
Every beacon includes rich context that powers better optimization across Google, Meta, TikTok, and more.
Full URL, referrer, UTM parameters, and SPA route changes. Every page visit captured, including bfcache restores.
Element selectors, link targets, and click coordinates. Know exactly what users engage with on every page.
Max scroll percentage and active time spent on page. Understand content engagement beyond just pageviews.
LCP, CLS, FID, and INP captured automatically. Monitor real-user performance without separate tooling.
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.
Browser, OS, screen size, viewport dimensions, and visitor location. Every beacon carries the full picture.
Every beacon includes the current consent state (analytics, marketing, sale of data) and TCF string if available. Full audit trail.
IP-based geo, request headers, and first-party cookies are captured server-side. No data lost to ad blockers or browser restrictions.
Install in 5 minutes. See faster beacons, automatic optimizations, and privacy compliance from day one.