You need your widget's install code to follow this guide. To find this code snippet, navigate to "Widgets" and click on "Install" for the widget, you wish to use.
This is the code you'll need in this guide. We will refer to it as your "Legal monster code snippet".
Before following these steps, please be sure that you have:
A Google Tag Manager account
Your legal monster code snippet
First you must create a tag for your cookie widget. Go to your Google Tag Manager dashboard and select "Add new tag". Choose Custom HTML for your tag type:
Now you must paste your cookie code snippet in your tag:
Lastly, you must setup a trigger for the Legalmonster tag.
The trigger for Legal Monster must be of the type "Page view - DOM Ready", which means that the widget will load after all other content on your site.
Press "Choose a trigger" and create a new trigger with the type "DOM ready":
When you press save, you'll see that this trigger is now associated with your Legal monster tag:
Congratulations on completing your first step towards collecting compliant cookie consent. Pat your self on the back and know that our privacy mascot Sven is proud of you.