Skip to content

Instantly share code, notes, and snippets.

@chavesm
Created March 13, 2021 09:09
Show Gist options
  • Save chavesm/983fcb16981fd72ff08579c431fe2fff to your computer and use it in GitHub Desktop.
Save chavesm/983fcb16981fd72ff08579c431fe2fff to your computer and use it in GitHub Desktop.
Disable Google Analytics tracking via MonsterInsights (gtag version) when cookie consent in Cookie Banner plugin is rejected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment