// momentum

tracking since W49

// why it's here

  • Active: last commit today
  • Health 65/100 with only 6 stars

// how to help

// readme

Consent Parser Variable for Google Tag Manager Server Container

Returns the consent state of a request in the server container. It decodes the Google Consent Mode gcd or gcs string, or reads the consent_state sent by the Data Tag. Decoding runs in the template, with no external requests.

Pick the source in the Consent Source field:

  • Google Consent Mode gcd (default): reads the gcd or x-ga-gcd Event Data, or the gcd query parameter. Returns the default and update state of ad_storage, analytics_storage, ad_user_data and ad_personalization (granted, denied or - when not set), plus allow_ad_personalization_signals (true, false or null) and global_privacy_control (opted-out or null). An invalid gcd returns {"code": 400, "type": "error", "message": "invalid consent mode string"}, and no gcd returns an empty object.
  • Data Tag consent_state: reads the consent_state Event Data sent by the Data Tag with the Add consent state option on. Returns an object with each consent type as granted, denied, or - when not set.
Read the full README on GitHub โ†—

Health score

Is the project alive and maintained right now? A 0โ€“100 pulse recomputed nightly from commit recency, rhythm, how fast issues close, and how quickly PRs get merged.

How it's calculated

Undervalued score

Activity relative to attention (stars + watchers). Above 50 means a lot of activity for a project its size. Recomputed nightly from commit velocity, contributor effort, issue resolution, fork utility, release cadence, and project maturity โ€” divided by a logarithmic reach factor.

How it's calculated

Tags

Tags are independent behavioral signals computed nightly. A project can hold multiple at once. They drive the home page sections.

How it's calculated