How do I hide my consent without deleting it?

If you want to hide a specific consent box on a page but do not want to delete the whole consent, you can if you add this short code widget=”false” to the [gdpr_consent_embed ids=”3,4″ so it ends up looking like this [gdpr_consent_embed ids=”3,4″ widget=”false”],
You can change the display text on the gdpr consent settings page.

how it looks on the front

How do I display a placeholder?

If you want to show a placeholder instead of the consent box on your page, place this short code [gdpr_consent_inactive_content] before the closing shortode [/gdpr_consent_embed] and between these two short codes place the content you would like to show when consent is not given.

 

How do I exclude content till consents are given?

Content that is embedded in your website should in certain cases not be shown untill a consent has been given. This concerns content like Iframes, YouTube movies or forms from HubSpot or LinkedIn. For these cases you can use a shortcode that will not display the content between the start and end tag unless a certain consent is given.

Use the following shortcode to exclude content;

[gdpr_consent_embed ids=’345′]  -content goes here- [/gdpr_consent_embed]

The above example will not show its content if consent with the id ‘345’ has not been given. Instead of the content, the shortcode will show the required consent and allow a visitor to agree to the consent on the spot. Once the consent has been given the page will reload and the embedded content will be shown.

How do I get the “ids” in this shortcode
The ID in the shortcode can be acquired by opening the editscreen of the consent you wish to show and copying the ID from the bowser’s address bar. The number you need comes after “?post=”.

How do I display the consents dialog?

Your users will want to be able to choose between the different consents that your website provides. The plugin comes with a shortcode that you can place in a pages content. The shortcode will then display an overview of the available consents, which settings they have per consent and an option to ‘forget’ the consents.

Place the following shortcode in a page to display the consents dialog:
[gdpr_consent_settings]

Notes

  • Set up at least one consent, or the dialog will not show anything
  • Once you have made this page, be sure to add a link to your footer (or visibly anywhere else) so visitors can find the page again to change their consents.