Cookie Monster

Community tag by gtm-templates-simo-ahava

What is Cookie Monster?

Use this tag to set browser cookies in the HTTP response. You can also configure the cookie to fetch its value from an existing 1st party cookie (if available).

Cookie Monster tag is created by gtm-templates-simo-ahava. Once you set up server side tagging with MetricsGate, you can use this tag with Google Tag Manager to enhance your data analytics.

This tag template is part of an open-source community, with its source code accessible on Github, and its documentation can also be found online.

You can check its version history below:

  1. Allow empty value for expiration to set session cookies.
  2. Make it possible to delete the cookie or to set a session cookie.
  3. Add option for SameSite, and configure template to set SameSite=Lax by default.
  4. Add support for setting empty values. Add support for noEncode of cookie value.
  5. Fix HttpOnly values.
  6. Add HttpOnly option.
  7. Fix broken cookie expiration setting.
  8. Initial release.

More tags and variables supported

Tags

Variables

Join early adopters globally and leverage server-side tagging, GA4 custom events, and cookieless tracking to gain deeper insights and enhanced analytics data about your visitors!

Get Started now