consent_dashboard_embed_snippet_get
Returns the consent banner embed <script> tag and public edge URL for the current product.
Returns the consent banner embed <script> tag and public edge URL for the current product. Read-only. Insert script_tag VERBATIM, including its leading HTML comment, as the FIRST script in <head> — before any tracker, tag manager or inline loader. Never add async or defer: banner.js must execute before the parser reaches the first tracker, otherwise trackers run before consent is known.
Behavior
- HTTP
GET /consent/consent/dashboard/embed-snippet
Arguments
No arguments.
Response
| Field | Type | Always | Description |
|---|---|---|---|
| script_tag | string | • | |
| public_edge_url | string | • |
Try it
Returns the consent banner embed <script> tag and public edge URL for the current product.