ampproject / ampproject/amphtml

amp-consent: Pre-set consent string

Open
#33,517 4 comments 0 reactions 0 assignees View on GitHub
Component: amp-consent Stale Type: Feature Request WG: components
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

We need a mechanism to prefill the consent string for amp-consent on client side. The AMP page is loaded inside a Webview where the App already has a consent string stored. This consent string should be transfered to AMP.

How can this be achieved without going the way through the server (checkConsentHref)?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the amp-consent component and its client-side behavior in the Webview scenario described. Determine whether the stored consent string can be transferred without using checkConsentHref; the work is done when a supported mechanism and its expected behavior are defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.