Developer docs/Bundled addons
Google Analytics 4
Google Analytics 4 (server-side Measurement Protocol)
| Field | Value |
|---|---|
| Addon id | integration-google-analytics |
| Kind | integration |
| Provides | google_analytics |
| Engine | wasm |
| ABI | 0.2.0 |
| Version | 0.1.0 |
| Author | MythicalSystems |
| Source | extensions/addons/google-analytics |
| Permissions (shown at install) | network.outbound |
#Capabilities
| Capability | Value |
|---|---|
events | order.created, invoice.paid, user.registered |
http | www.google-analytics.com |
secrets | api_secret |
#Events and hooks
| What | Value |
|---|---|
Listens to (events) | order.created, invoice.paid, user.registered |
| Hooks | none |
| Emits | none |
| Mixins | none |
| Scheduled jobs | none |
#Settings and secrets
| Setting | Type | Required |
|---|---|---|
measurement_id | text | yes |
api_secret | secret | yes |
Secrets (stored encrypted, never returned by the API): api_secret.
Outbound HTTP allowed to: www.google-analytics.com. $server is the hostname of the server configured for the product, $setting:<key> the host of that setting.
#addon.json