Skip to content

Consent

consent_dashboard_embed_snippet_get

Returns the consent banner embed <script> tag and public edge URL for the current product.

Tool

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.

HTTP
GET /consent/consent/dashboard/embed-snippet

Arguments

No arguments.

Response

FieldTypeAlwaysDescription
script_tagstring
public_edge_urlstring

Try it

Returns the consent banner embed <script> tag and public edge URL for the current product.

When to use

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.

Example

Ask your agent something like this:

Returns the consent banner embed <script> tag and public edge URL for the current product.

The agent will invoke consent_dashboard_embed_snippet_get with these arguments:

{}

Esc

Start typing to search the docs.

navigateselect