whitebox-pro-adnetworks-google
v0.1.0
Published
WhiteBox ad-network: Google GA4 (Measurement Protocol server-side + gtag client-side). Self-contained — event map, signals, server adapter, browser pixel.
Readme
whitebox-pro-adnetworks-google
Google GA4 as a self-contained WhiteBox ad-network: the canonical→GA4 event map + signals (spec.js), the Measurement Protocol server adapter (index.js), and the gtag client mapper (client.js).
import { google } from 'whitebox-pro-adnetworks-google' // server MP
import { google } from 'whitebox-pro-adnetworks-google/client' // client gtagGA4 has no pixel↔MP
event_iddedup. Fire GA4 on ONE side — clientgtagOR server MP, not both for the same events (purchases dedupe viatransaction_id). The MP adapter REQUIRES the_gaclient_id, which the clientcollect()reads.
