GTM Server
How to send events to your OneView Workspace from your server
Download the Template
Import the Template
Importing the Template and creating the Tag
Follow the steps below:
Verify the implementation
If your Tag Manager® Server Container receives events from your frontend, but your are serving it from different IP address (e.g. from a subdomain), you are not compliant with Apple Safari® Intelligent Tracking Prevention requirements. How to fix.
Consent
Check each method’s documentation to see how to handle consent
Introduction
Backend Events are used to send events from your server. You can use whichever method is most convenient for you.
Authenticating Requests
First you need to generate an API Key from Settings > API Key, then how you use it depends on the method you choose to send events:
API Key usage | |
---|---|
Server-side Tag Manager® | Use the appropriate field in the Tag |
Measurement Protocol | Use the api_secret query string parameter |
Idempotent Requests
The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. If the request fails, you can retry it with the same key to ensure that the operation is not performed twice.
Idempotency Key usage | |
---|---|
Server-side Tag Manager® | Use the appropriate field in the Tag |
Measurement Protocol | Use the Idempotency-Key header |
Was this page helpful?