Embed consents from Usercentrics directly into your website
Embed "Select all consents" toggle in a page
To display a "Select all" box on your website where users can opt in and out of all your consents (except for the essential ones) you can use the following code:
<div class="uc-embed" uc-layout="2" uc-isselectall="true" uc-data="categoryName, description, toggle, toggleLabel"></div>
Embed categories in a page
You can choose to display only your categories with a toggle, so users can opt in and out of every consent in the respective category. To display your categories, use the following code:
<div class="uc-embed" uc-layout="2" uc-data="categoryName, description, toggle, toggleLabel"></div>
Embed single consent with detailed information in a page
For a single consent with all available information use the following code:
<div class="uc-embed" uc-layout="1" uc-consent-name="Exact_Consent_Name" uc-data="processorNames, optInCheckboxWithLabel, optOutUrl, privacyPolicyUrl, description, history, dataPurposes, dataScopes, dataAttributes"></div>
Exact_Consent_Name with the Consentslug of your consent, e.g.
Google Analytics Statistics if you want to display the consent for Google Analytics Statistics. You can find the Consentslug in your settings dashboard at the respective consent.
Open Privacy Settings with custom link
If you don't want to have our Privacy Button visible on all pages, you can open the Privacy Settings via a custom link. Just link it to this anchor tag: