load content after accepting

if you want to add contents that will only be visible if the consent hint is accepted You can also handle this part from an Content element if you want.

Your HTML markup for this is

<dp-content
    data-cookieconsent="statistics"
    class="dp--iframe"

    data-cookieconsent-notice="Cookie Notice"
    data-cookieconsent-description="Loading this...."
    data-cookieconsent-btn="allow cookies and load this ...."
>
    YOUR CONTENT
</dp-content>