0.7.4 gives the Ambient pack weather. A page names one feed URL on its own site, and the pack sets data-weather from it, uses its sunrise and sunset for dawn and dusk, and never shows a stale observation. Helpers for producing the feed from Open-Meteo are included. Ambient p…
Exclude an element (and everything inside it) from Vanilla Breeze analytics. No beacons fire from any descendant, regardless of data-vb-event or auto-wired VB events.
Overview
Put data-vb-no-track on any element to exclude it and all of its descendants from the Vanilla Breeze analytics pipeline. No click event fires, no outbound-link ping is wired, no custom VB event is forwarded — analytics treats the subtree as invisible.
Applies to: any element.
Value: boolean — presence is what matters; the attribute value is ignored.
Basic Usage
Wrap any section you don't want measured.
Whole subtree
<sectiondata-vb-no-track><h2>Internal tools</h2><button>Delete account</button><!-- click not tracked --><ahref="/admin/logs">View logs</a><!-- no ping, no beacon --></section>
The exclusion is recursive. Anything nested inside, at any depth, is opted out.
Single-Element Exclusion
You can also put the attribute on a single element.
If a descendant has data-vb-event or would otherwise fire an auto-wired VB event, the nearest data-vb-no-track ancestor suppresses it. This makes it safe to gate a whole page region without combing through its children.
Exclusion precedence
<sectiondata-vb-no-track><!-- None of these fire analytics: --><buttondata-vb-event="secret_action">Secret</button><tab-set><!-- tab-set:change normally fires ui.tab_change — suppressed here --><tab-panellabel="A">…</tab-panel><tab-panellabel="B">…</tab-panel></tab-set></section>
What Still Gets Tracked
The page-level page.view event fires once on page load from Analytics.init(), regardless of where data-vb-no-track is placed — it is a page-level signal, not element-scoped. To opt the entire page out of all analytics, put the attribute on <html> or <body>.
Whole-page exclusion
<!-- No page.view, no events, no beacons — the analytics runtime early-returns when documentElement has this attribute. --><htmldata-vb-no-track> …</html>
ping — native link-click tracking (not suppressed by data-vb-no-track on the link itself — the runtime removes ping wiring on excluded links, but an author-written pingattribute still fires)
referrerpolicy — control referrer information on any request