@walkeros/transformer-ga4
v4.3.0
Published
Decodes GA4 Measurement Protocol v2 (gtag /g/collect) into walkerOS events
Maintainers
Readme
@walkeros/transformer-ga4
Decode Google Analytics 4 Measurement Protocol v2 hits into walkerOS events.
Documentation • NPM Package • Source Code
Installation
npm install @walkeros/transformer-ga4Quick start
Drop the transformer into a server source's before chain:
{
"version": 4,
"flows": {
"default": {
"config": { "platform": "server" },
"sources": {
"http": {
"package": "@walkeros/server-source-express",
"config": {
"ingest": {
"map": {
"url": { "key": "url" },
"path": { "key": "path" },
"method": { "key": "method" },
"body": { "key": "body" }
}
}
},
"before": "ga4"
}
},
"transformers": {
"ga4": { "package": "@walkeros/transformer-ga4" }
},
"destinations": {
"log": { "package": "@walkeros/destination-demo" }
}
}
}
}Documentation
Full configuration, mapping, and examples live in the docs: https://www.walkeros.io/docs/transformers/ga4
Contribute
Feel free to contribute by submitting an issue, starting a discussion, or getting in contact.
License
MIT
