Video by Loves Data on YouTube · 12 min. We did not make this video and we do not host it — watching it here still counts as a view for the creator.
Create a first‑party cookie variable in GTM that reads gdpr_consent. Then build a trigger that fires only when the variable equals accepted. Beginners often compare case‑sensitively and forget to handle the rejected state, causing tags to fire unintentionally.
Apply the trigger to a Google Analytics tag (or a dummy tag) and test with GTM's preview mode. This demonstrates how consent controls data collection in real projects.
Sign in with your email, Google or GitHub. No password to remember. The same account carries your progress, your certificates and anything else you do with Nexgino later.
Sign in to continueIt takes about fifteen seconds.