Why we use shortcodes
We use the below shortcodes for 2 main reasons, easy updates, and translations.
Easy Updates
Privacy Laws, especially those still in draft, are susceptible to change. We provide legal updates for our plugin users. When updating a legal document in our plugin, the easiest way is to add the new strings or updated articles in the plugin. The shortcode will update the Cookie Policy, or Privacy Statement automatically.
This is the same for updating the policies because you added a new plugin, cookie, script or anything else that should be mentioned and therefore updated in your policies.
A shortcode will take care of this!
Translation
We ship 6 different languages in our plugin. The Cookie Banner is linked with the shortcode, meaning the German version of the Cookie Banner will link to the German policy etc. This all done by our shortcode. Together with the easy updates, the legal documents remain updated without user interference.
Want to know which shortcodes we use or need one for a different configuration? See our shortcodes below:
Gutenberg Blocks
Besides a shortcode, we have also implemented Gutenberg blocks. Whichever you might prefer!
The shortcodes
// Shortcodes used with Complianz.io | |
// Privacy Statement | |
[cmplz-document type="privacy-statement" region="us"] | |
[cmplz-document type="privacy-statement" region="ca"] | |
[cmplz-document type="privacy-statement" region="eu"] | |
[cmplz-document type="privacy-statement" region="br"] | |
[cmplz-document type="privacy-statement" region="uk"] | |
[cmplz-document type="privacy-statement" region="za"] | |
[cmplz-document type="privacy-statement" region="au"] | |
// Privacy Statement for Children | |
[cmplz-document type="privacy-statement-children-us"] | |
[cmplz-document type="privacy-statement-children-uk"] | |
[cmplz-document type="privacy-statement-children-ca"] | |
[cmplz-document type="privacy-statement-children-br"] | |
// Cookie Policies | |
[cmplz-document type="cookie-statement" region="us"] | |
[cmplz-document type="cookie-statement" region="ca"] | |
[cmplz-document type="cookie-statement" region="eu"] | |
[cmplz-document type="cookie-statement" region="uk"] | |
[cmplz-document type="cookie-statement" region="au"] | |
[cmplz-document type="cookie-statement" region="br"] | |
[cmplz-document type="cookie-statement" region="za"] | |
// Do Not Sell My Personal Information | |
// Will migrate to Opt-out Preferences for upcoming US States | |
[cmplz-document type="cookie-statement" region="us"] | |
// Disclaimer | |
[cmplz-document type="disclaimer" region="all"] | |
// Imprint | |
[cmplz-document type="impressum" region="all"] | |
// Terms & Conditions | |
[cmplz-terms-conditions type="terms-conditions"] | |
// Cookies Overview | |
[cmplz-cookies] | |
// Data Requests Form | |
[cmplz-data-request region='us'] | |
[cmplz-data-request region='ca'] | |
[cmplz-data-request region='eu'] | |
[cmplz-data-request region='br'] | |
[cmplz-data-request region='uk'] | |
[cmplz-data-request region='za'] | |
[cmplz-data-request region='au'] | |
// Opt-out Preferences Form (Do Not Sell My Personal Information) | |
[cmplz-dnsmpi-request] | |
// Consent | |
[cmplz-accept-link text="You'll need to accept our cookies."] | |
[cmplz-revoke-link text="Revoke your settings!"] | |
[cmplz-manage-consent] | |
// Consent Area Category | |
[cmplz-consent-area category="marketing"] | |
Your content | |
[/cmplz-consent-area] | |
// Consent Area Service | |
[cmplz-consent-area service="facebook"] | |
Your content | |
[/cmplz-consent-area] |