Troubleshooting server-side tagging using server GTM logs

Written by

Ira Holubovska

Updated Aug 21, 2026 comments

Server GTM logs

Logs tab in the Stape admin
"Outgoing request logging" toggle
Export logs toggle

Server GTM logs use cases

Set up Logger tag in sGTM

Import Tag Template
Logger tag in the Template Gallery

Console as Logs Destination

Tag config
Log during debug

Stape Store as Logs Destination

Stape Store as the logs destination

Set up BigQuery logging for Stape's GTM templates

Log during debug
[     {         "name": "timestamp",         "type": "INTEGER",         "mode": "REQUIRED",         "description": "Unix epoch timestamp (milliseconds)."     },     {         "name": "type",         "type": "STRING",         "mode": "REQUIRED",         "description": "Log type: `Request`, `Response` or `Message`."     },     {         "name": "trace_id",         "type": "STRING",         "mode": "REQUIRED",         "description": "Unique identifier for the request (from the `trace-id` header)."     },     {         "name": "tag_name",         "type": "STRING",         "mode": "REQUIRED",         "description": "Name of the GTM tag generating the log."     },     {         "name": "request_method",         "type": "STRING",         "mode": "NULLABLE",         "description": "HTTP method (GET, POST, etc.)."     },     {         "name": "request_url",         "type": "STRING",         "mode": "NULLABLE",         "description": "URL of the API request."     },     {         "name": "request_body",         "type": "JSON",         "mode": "NULLABLE",         "description": "JSON string representation of request body."     },     {         "name": "response_status_code",         "type": "INTEGER",         "mode": "NULLABLE",         "description": "HTTP status code from API response."     },     {         "name": "response_body",         "type": "JSON",         "mode": "NULLABLE",         "description": "JSON string representation of API response body."     },     {         "name": "response_headers",         "type": "JSON",         "mode": "NULLABLE",         "description": "JSON string representation of API response headers."     },     {         "name": "event_name",         "type": "STRING",         "mode": "NULLABLE",         "description": "Name of the event being tracked."     },     {         "name": "message",         "type": "STRING",         "mode": "NULLABLE",         "description": "Additional log messages (for `Message` type)."     },     {         "name": "reason",         "type": "STRING",         "mode": "NULLABLE",         "description": "Reason for failure (for `Message` type)."     } ]
Table config
Partitioning settings

Conclusion

Need help with setting up server-side tagging?

All it takes is a few simple questions. Click Get A Quote, fill-up the form, and we will send you a quote.

Get a Quote

Written by

Ira Holubovska

Content writer

Ira has 10+ years of digital marketing experience, with the last 5 focused on server-side tracking. She understands how and when it works across various digital marketing scenarios.

Was this article helpful?

Comments

Recommended for you

Turn better tracking into better marketing performance

Try for free