Send Zaraz logs to an external storage provider like R2 or S3.
This is an Enterprise only feature.
Follow these steps to configure Logpush support for Zaraz:
-
In the Cloudflare dashboard, go to the Logpush page.
Go to Logpush ↗ -
Select Create a Logpush Job and follow the steps described in the Logpush documentation.
When selecting a dataset, make sure you select Zaraz Events.
-
In the Cloudflare dashboard ↗, go to Delivery & Performance > Web tag management > Tag setup > select your domain > Settings.
Alternatively, navigate directly to Zaraz settings ↗
-
Enable Export Zaraz Logs.
Logs will have the following fields:
| Field | Type | Description |
|---|---|---|
| RequestHeaders | JSON |
The headers that were sent with the request. |
| URL | String |
The Zaraz URL to which the request was made. |
| IP | String |
The originating IP. |
| Body | JSON |
The body that was sent along with the request. |
| Event Type | String |
Can be one of the following: server_request, server_response, action_triggered, ecommerce_triggered, client_request, component_error. |
| Event Details | JSON |
Details about the event. |
| TimestampStart | String |
The time at which the event occurred. |