-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backup the client ID in local storage #29484
Comments
The 24 hours limit was introduced by ITP2.2 I'm not sure about switching to local storage though due to a few reasons
|
Re (2) , the stated policy is 7 days without a visit, so for a site a user uses frequently it should be a big improvement? |
@zhouyx I was wondering if this worked not as an alternative, but just as a backup. E.g. |
AMP also update the cookie expiration time on user revisit if the value is created by AMP (with I can see us using localStorage as an opt-in backup method on non proxy origin with individual analytics vendor opt-in. |
Wouldn't any analytics vendor want to have the right data? |
: ) Not sure about that. |
Thanks for looping me in. I agree that analytics would benefit from using localstorage as a backup, and we'd definitely change our code to accommodate it were the option available. |
I like this strategy |
@zhouyx Should we take this to the design review? |
Looks like a well received feature : ) Definitely! Let me work on the design proposal. I think all we need is to provide the current |
an additional opt-in param works from gtag/googleanalytics perspective. Would need to go through a review before starting the use of localstorage. |
Fwiw we're receiving a growing number of user complaints about getting logged out frequently. Please let us know if we can help accelerate a fix. |
Here's the proposed design
When the AMP will write the client id value to provided storage entry name in the following cases
Open question: Since localStorage value never expire, does AMP needs to clean up expired cid value. |
I think that AMP should ideally clean up expired values. When analytics companies (at least us) talk about cookie expiration policies, we generally think we're guaranteeing a user that we won't persist their ID for longer than N days. If the ID is persisting in local storage as a backup for longer, that violates the spirit of that policy, albeit not the letter of a cookie expiration policy. |
Could AMP limit the use of localstorage to platforms known to limit the
duration of LocalStorage?
…On Thu, Aug 13, 2020 at 3:38 PM Josh Schwartz ***@***.***> wrote:
I think that AMP should ideally clean up expired values. When analytics
companies (at least us) talk about cookie expiration policies, we generally
think we're guaranteeing a user that we won't persist their ID for longer
than N days. If the ID is persisting in local storage as a backup for
longer, that violates the spirit of that policy, albeit not the letter of a
cookie expiration policy.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#29484 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA2XNH2Z4G4MZOIV2HMUCDSARTMTANCNFSM4PGG7FAA>
.
|
I agree, AMP should clean up expired value in localStorage. I see the AMP created CID cookie has an expiration time of 1 year, wonder if we can put the same expiration time to CID backup in localStorage. |
@zhouyx expiration aside, I'm still wondering why we want an API change. I see this more of a "preserving the existing" API feature. |
I prefer opt-in for two reasons
|
Can we at least default the name to the
I'm not sure this is a critical part, tbh, if we were to restore a cookie from the local storage's "backup" - things would be fairly transparent then. |
Using
True. @avimehta @zikas @cory-work @joshschwartz What's your thought here? Is opt-in required or preferred? Or can AMP store/retrieve CID value from storage by default as an internal implementation detail? Thanks |
Bump. FWIW, agree with @dvoytenko that if services want to match this behavior on the non-AMP side, that's easily done, no need for AMP to worry about it. |
Bump as well. |
@micajuine-ho is working on the design. We'll bring the topic to the next design review. Meanwhile, feedback I get is: Is fine for AMP to set the default behavior to opt-in or opt-out, but it is preferred to have a way to disable the feature. |
Hi all, here is the design doc for this feature: https://docs.google.com/document/d/1INLsmzjgj_ehCXW2kadq_mU1WcWgydpxof9abXqsdik/edit?usp=sharing I will be taking this to design review on Wednesday. Please feel free to join the conversation at that time, or here on this thread. |
Sweep experiments last flipped globally up to 2021-05-04: - (2021-03-05, 77127c7) `disable-a4a-non-sd`: 1 - (2021-03-23, 1115f6c) `amp-cid-backup`: 1 --- ### Cleanup issues Close these once they've been addressed and this PR has been merged: - [ ] `amp-cid-backup`: #29484 --- ###⚠️ Javascript source files require intervention The following may contain errors and/or require intervention to remove superfluous conditionals: - [ ] `extensions/amp-a4a/0.1/amp-a4a.js` - [ ] `extensions/amp-a4a/0.1/test/test-amp-a4a.js` - [ ] `src/service/cid-impl.js` Refer to the removal guide for [suggestions on handling these modified Javascript files.](https://github.com/ampproject/amphtml/blob/main/build-system/tasks/sweep-experiments/README.md#followup)
Sweep experiments last flipped globally up to 2021-06-03: - (2021-03-05, 77127c7) `disable-a4a-non-sd`: 1 - (2021-03-23, 1115f6c) `amp-cid-backup`: 1 --- ### Cleanup issues Close these once they've been addressed and this PR has been merged: - [ ] `amp-cid-backup`: #29484 --- ###⚠️ Javascript source files require intervention The following may contain errors and/or require intervention to remove superfluous conditionals: - [ ] `extensions/amp-a4a/0.1/amp-a4a.js` - [ ] `extensions/amp-a4a/0.1/test/test-amp-a4a.js` - [ ] `src/service/cid-impl.js` Refer to the removal guide for [suggestions on handling these modified Javascript files.](https://github.com/ampproject/amphtml/blob/main/build-system/tasks/sweep-experiments/README.md#followup)
Sweep experiments last flipped globally up to 2021-07-04: - (2021-03-05, 77127c7) `disable-a4a-non-sd`: 1 - (2021-03-23, 1115f6c) `amp-cid-backup`: 1 --- ### Cleanup issues Close these once they've been addressed and this PR has been merged: - [ ] `amp-cid-backup`: #29484 --- ###⚠️ Javascript source files require intervention The following may contain errors and/or require intervention to remove superfluous conditionals: - [ ] `extensions/amp-a4a/0.1/amp-a4a.js` - [ ] `extensions/amp-a4a/0.1/test/test-amp-a4a.js` - [ ] `src/service/cid-impl.js` Refer to the removal guide for [suggestions on handling these modified Javascript files.](https://github.com/ampproject/amphtml/blob/main/build-system/tasks/sweep-experiments/README.md#followup)
Sweep experiments last flipped globally up to 2021-08-04: - (2021-03-05, 77127c7) `disable-a4a-non-sd`: 1 - (2021-03-23, 1115f6c) `amp-cid-backup`: 1 - (2021-07-22, 7b1df94) `amp-story-page-attachment-ui-v2`: 1 --- ### Cleanup issues Close these once they've been addressed and this PR has been merged: - [ ] `amp-cid-backup`: #29484 --- ###⚠️ Javascript source files require intervention The following may contain errors and/or require intervention to remove superfluous conditionals: - [ ] `extensions/amp-a4a/0.1/amp-a4a.js` - [ ] `extensions/amp-a4a/0.1/test/test-amp-a4a.js` - [ ] `src/service/cid-impl.js` Refer to the removal guide for [suggestions on handling these modified Javascript files.](https://github.com/ampproject/amphtml/blob/main/build-system/tasks/sweep-experiments/README.md#followup)
Sweep experiments last flipped globally up to 2021-08-10: - (2021-03-05, 77127c7) `disable-a4a-non-sd`: 1 - (2021-03-23, 1115f6c) `amp-cid-backup`: 1 - (2021-07-22, 7b1df94) `amp-story-page-attachment-ui-v2`: 1 --- ### Cleanup issues Close these once they've been addressed and this PR has been merged: - [ ] `amp-cid-backup`: #29484 --- ###⚠️ Javascript source files require intervention The following may contain errors and/or require intervention to remove superfluous conditionals: - [ ] `extensions/amp-a4a/0.1/amp-a4a.js` - [ ] `extensions/amp-a4a/0.1/test/test-amp-a4a.js` - [ ] `src/service/cid-impl.js` Refer to the removal guide for [suggestions on handling these modified Javascript files.](https://github.com/ampproject/amphtml/blob/main/build-system/tasks/sweep-experiments/README.md#followup)
Sweep experiments last flipped globally up to 2021-08-25: - (2021-03-05, 77127c7) `disable-a4a-non-sd`: 1 - (2021-03-23, 1115f6c) `amp-cid-backup`: 1 - (2021-08-19, 81ead05) `story-load-inactive-outside-viewport`: 1 - (2021-07-22, 7b1df94) `amp-story-page-attachment-ui-v2`: 1 --- ### Cleanup issues Close these once they've been addressed and this PR has been merged: - [ ] `amp-cid-backup`: #29484 --- ###⚠️ Javascript source files require intervention The following may contain errors and/or require intervention to remove superfluous conditionals: - [ ] `extensions/amp-a4a/0.1/amp-a4a.js` - [ ] `extensions/amp-a4a/0.1/test/test-amp-a4a.js` - [ ] `extensions/amp-story/1.0/amp-story.js` - [ ] `src/service/cid-impl.js` Refer to the removal guide for [suggestions on handling these modified Javascript files.](https://github.com/ampproject/amphtml/blob/main/build-system/tasks/sweep-experiments/README.md#followup) --- ###⚠️ HTML files may still contain references The following HTML files contain references to experiment names which may be stale and should be manually removed: - [ ] `examples/amp-story/performance/visibility.html` Refer to the removal guide for [suggestions on handling these HTML files.](https://github.com/ampproject/amphtml/blob/main/build-system/tasks/sweep-experiments/README.md#followup:html)
Sweep experiments last flipped globally up to 2023-03-01: - (2021-01-20, a9e2778) `adsense-ad-size-optimization`: 1 - (2020-11-19, cac0248) `amp-accordion-display-locking`: 1 - (2020-08-14, 77ced1d) `expand-json-targeting`: 1 - (2021-01-27, b738789) `visibility-trigger-improvements`: 1 - (2021-03-05, 77127c7) `disable-a4a-non-sd`: 1 - (2021-03-12, 1b7583d) `tcf-post-message-proxy-api`: 1 - (2021-03-17, db781bd) `amp-consent-granular-consent`: 1 - (2021-03-23, 1115f6c) `amp-cid-backup`: 1 --- ### Cleanup issues Close these once they've been addressed and this PR has been merged: - [ ] `adsense-ad-size-optimization`: ampproject#24165 - [ ] `visibility-trigger-improvements`: ampproject#26823 - [ ] `amp-cid-backup`: ampproject#29484 --- ###⚠️ Javascript source files require intervention The following may contain errors and/or require intervention to remove superfluous conditionals: - [ ] `extensions/amp-a4a/0.1/amp-a4a.js` - [ ] `extensions/amp-a4a/0.1/test/test-amp-a4a.js` - [ ] `extensions/amp-accordion/0.1/amp-accordion.js` - [ ] `extensions/amp-accordion/0.1/test/test-amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/test/test-amp-accordion.js` - [ ] `extensions/amp-analytics/0.1/analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-events.js` - [ ] `extensions/amp-consent/0.1/amp-consent.js` - [ ] `extensions/amp-consent/0.1/consent-ui.js` - [ ] `extensions/amp-consent/0.1/test/test-amp-consent.js` - [ ] `extensions/amp-consent/0.1/test/test-consent-ui.js` - [ ] `src/custom-element.js` - [ ] `src/service/cid-impl.js` - [ ] `test/unit/test-custom-element.js` Refer to the removal guide for [suggestions on handling these modified Javascript files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup) --- ###⚠️ HTML files may still contain references The following HTML files contain references to experiment names which may be stale and should be manually removed: - [ ] `examples/accordion.amp.html` - [ ] `examples/amp-consent/amp-consent-3p-postmessage.html` - [ ] `test/manual/amp-analytics/amp-analytics-multi-selector.html` - [ ] `test/manual/amp-consent/amp-consent-granular-consent.html` Refer to the removal guide for [suggestions on handling these HTML files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup:html)
Sweep experiments last flipped globally up to 2023-04-01: - (2021-01-20, a9e2778) `adsense-ad-size-optimization`: 1 - (2020-11-19, cac0248) `amp-accordion-display-locking`: 1 - (2020-08-14, 77ced1d) `expand-json-targeting`: 1 - (2021-01-27, b738789) `visibility-trigger-improvements`: 1 - (2021-03-05, 77127c7) `disable-a4a-non-sd`: 1 - (2021-03-12, 1b7583d) `tcf-post-message-proxy-api`: 1 - (2021-03-17, db781bd) `amp-consent-granular-consent`: 1 - (2021-03-23, 1115f6c) `amp-cid-backup`: 1 --- ### Cleanup issues Close these once they've been addressed and this PR has been merged: - [ ] `adsense-ad-size-optimization`: ampproject#24165 - [ ] `visibility-trigger-improvements`: ampproject#26823 - [ ] `amp-cid-backup`: ampproject#29484 --- ###⚠️ Javascript source files require intervention The following may contain errors and/or require intervention to remove superfluous conditionals: - [ ] `extensions/amp-a4a/0.1/amp-a4a.js` - [ ] `extensions/amp-a4a/0.1/test/test-amp-a4a.js` - [ ] `extensions/amp-accordion/0.1/amp-accordion.js` - [ ] `extensions/amp-accordion/0.1/test/test-amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/test/test-amp-accordion.js` - [ ] `extensions/amp-analytics/0.1/analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-events.js` - [ ] `extensions/amp-consent/0.1/amp-consent.js` - [ ] `extensions/amp-consent/0.1/consent-ui.js` - [ ] `extensions/amp-consent/0.1/test/test-amp-consent.js` - [ ] `extensions/amp-consent/0.1/test/test-consent-ui.js` - [ ] `src/custom-element.js` - [ ] `src/service/cid-impl.js` - [ ] `test/unit/test-custom-element.js` Refer to the removal guide for [suggestions on handling these modified Javascript files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup) --- ###⚠️ HTML files may still contain references The following HTML files contain references to experiment names which may be stale and should be manually removed: - [ ] `examples/accordion.amp.html` - [ ] `examples/amp-consent/amp-consent-3p-postmessage.html` - [ ] `test/manual/amp-analytics/amp-analytics-multi-selector.html` - [ ] `test/manual/amp-consent/amp-consent-granular-consent.html` Refer to the removal guide for [suggestions on handling these HTML files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup:html)
Sweep experiments last flipped globally up to 2023-05-01: - (2021-01-20, a9e2778) `adsense-ad-size-optimization`: 1 - (2020-11-19, cac0248) `amp-accordion-display-locking`: 1 - (2020-08-14, 77ced1d) `expand-json-targeting`: 1 - (2021-01-27, b738789) `visibility-trigger-improvements`: 1 - (2021-03-05, 77127c7) `disable-a4a-non-sd`: 1 - (2021-03-12, 1b7583d) `tcf-post-message-proxy-api`: 1 - (2021-03-17, db781bd) `amp-consent-granular-consent`: 1 - (2021-03-23, 1115f6c) `amp-cid-backup`: 1 --- ### Cleanup issues Close these once they've been addressed and this PR has been merged: - [ ] `adsense-ad-size-optimization`: ampproject#24165 - [ ] `visibility-trigger-improvements`: ampproject#26823 - [ ] `amp-cid-backup`: ampproject#29484 --- ###⚠️ Javascript source files require intervention The following may contain errors and/or require intervention to remove superfluous conditionals: - [ ] `extensions/amp-a4a/0.1/amp-a4a.js` - [ ] `extensions/amp-a4a/0.1/test/test-amp-a4a.js` - [ ] `extensions/amp-accordion/0.1/amp-accordion.js` - [ ] `extensions/amp-accordion/0.1/test/test-amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/test/test-amp-accordion.js` - [ ] `extensions/amp-analytics/0.1/analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-events.js` - [ ] `extensions/amp-consent/0.1/amp-consent.js` - [ ] `extensions/amp-consent/0.1/consent-ui.js` - [ ] `extensions/amp-consent/0.1/test/test-amp-consent.js` - [ ] `extensions/amp-consent/0.1/test/test-consent-ui.js` - [ ] `src/custom-element.js` - [ ] `src/service/cid-impl.js` - [ ] `test/unit/test-custom-element.js` Refer to the removal guide for [suggestions on handling these modified Javascript files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup) --- ###⚠️ HTML files may still contain references The following HTML files contain references to experiment names which may be stale and should be manually removed: - [ ] `examples/accordion.amp.html` - [ ] `examples/amp-consent/amp-consent-3p-postmessage.html` - [ ] `test/manual/amp-analytics/amp-analytics-multi-selector.html` - [ ] `test/manual/amp-consent/amp-consent-granular-consent.html` Refer to the removal guide for [suggestions on handling these HTML files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup:html)
Sweep experiments last flipped globally up to 2023-06-01: - (2021-01-20, a9e2778) `adsense-ad-size-optimization`: 1 - (2020-11-19, cac0248) `amp-accordion-display-locking`: 1 - (2020-08-14, 77ced1d) `expand-json-targeting`: 1 - (2021-01-27, b738789) `visibility-trigger-improvements`: 1 - (2021-03-05, 77127c7) `disable-a4a-non-sd`: 1 - (2021-03-12, 1b7583d) `tcf-post-message-proxy-api`: 1 - (2021-03-17, db781bd) `amp-consent-granular-consent`: 1 - (2021-03-23, 1115f6c) `amp-cid-backup`: 1 --- ### Cleanup issues Close these once they've been addressed and this PR has been merged: - [ ] `adsense-ad-size-optimization`: ampproject#24165 - [ ] `visibility-trigger-improvements`: ampproject#26823 - [ ] `amp-cid-backup`: ampproject#29484 --- ###⚠️ Javascript source files require intervention The following may contain errors and/or require intervention to remove superfluous conditionals: - [ ] `extensions/amp-a4a/0.1/amp-a4a.js` - [ ] `extensions/amp-a4a/0.1/test/test-amp-a4a.js` - [ ] `extensions/amp-accordion/0.1/amp-accordion.js` - [ ] `extensions/amp-accordion/0.1/test/test-amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/test/test-amp-accordion.js` - [ ] `extensions/amp-analytics/0.1/analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-events.js` - [ ] `extensions/amp-consent/0.1/amp-consent.js` - [ ] `extensions/amp-consent/0.1/consent-ui.js` - [ ] `extensions/amp-consent/0.1/test/test-amp-consent.js` - [ ] `extensions/amp-consent/0.1/test/test-consent-ui.js` - [ ] `src/custom-element.js` - [ ] `src/service/cid-impl.js` - [ ] `test/unit/test-custom-element.js` Refer to the removal guide for [suggestions on handling these modified Javascript files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup) --- ###⚠️ HTML files may still contain references The following HTML files contain references to experiment names which may be stale and should be manually removed: - [ ] `examples/accordion.amp.html` - [ ] `examples/amp-consent/amp-consent-3p-postmessage.html` - [ ] `test/manual/amp-analytics/amp-analytics-multi-selector.html` - [ ] `test/manual/amp-consent/amp-consent-granular-consent.html` Refer to the removal guide for [suggestions on handling these HTML files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup:html)
Sweep experiments last flipped globally up to 2023-07-01: - (2021-01-20, a9e2778) `adsense-ad-size-optimization`: 1 - (2020-11-19, cac0248) `amp-accordion-display-locking`: 1 - (2020-08-14, 77ced1d) `expand-json-targeting`: 1 - (2021-01-27, b738789) `visibility-trigger-improvements`: 1 - (2021-03-05, 77127c7) `disable-a4a-non-sd`: 1 - (2021-03-12, 1b7583d) `tcf-post-message-proxy-api`: 1 - (2021-03-17, db781bd) `amp-consent-granular-consent`: 1 - (2021-03-23, 1115f6c) `amp-cid-backup`: 1 --- ### Cleanup issues Close these once they've been addressed and this PR has been merged: - [ ] `adsense-ad-size-optimization`: ampproject#24165 - [ ] `visibility-trigger-improvements`: ampproject#26823 - [ ] `amp-cid-backup`: ampproject#29484 --- ###⚠️ Javascript source files require intervention The following may contain errors and/or require intervention to remove superfluous conditionals: - [ ] `extensions/amp-a4a/0.1/amp-a4a.js` - [ ] `extensions/amp-a4a/0.1/test/test-amp-a4a.js` - [ ] `extensions/amp-accordion/0.1/amp-accordion.js` - [ ] `extensions/amp-accordion/0.1/test/test-amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/test/test-amp-accordion.js` - [ ] `extensions/amp-analytics/0.1/analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-events.js` - [ ] `extensions/amp-consent/0.1/amp-consent.js` - [ ] `extensions/amp-consent/0.1/consent-ui.js` - [ ] `extensions/amp-consent/0.1/test/test-amp-consent.js` - [ ] `extensions/amp-consent/0.1/test/test-consent-ui.js` - [ ] `src/custom-element.js` - [ ] `src/service/cid-impl.js` - [ ] `test/unit/test-custom-element.js` Refer to the removal guide for [suggestions on handling these modified Javascript files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup) --- ###⚠️ HTML files may still contain references The following HTML files contain references to experiment names which may be stale and should be manually removed: - [ ] `examples/accordion.amp.html` - [ ] `examples/amp-consent/amp-consent-3p-postmessage.html` - [ ] `test/manual/amp-analytics/amp-analytics-multi-selector.html` - [ ] `test/manual/amp-consent/amp-consent-granular-consent.html` Refer to the removal guide for [suggestions on handling these HTML files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup:html)
Sweep experiments last flipped globally up to 2023-08-01: - (2021-01-20, a9e2778) `adsense-ad-size-optimization`: 1 - (2020-11-19, cac0248) `amp-accordion-display-locking`: 1 - (2020-08-14, 77ced1d) `expand-json-targeting`: 1 - (2021-01-27, b738789) `visibility-trigger-improvements`: 1 - (2021-03-05, 77127c7) `disable-a4a-non-sd`: 1 - (2021-03-12, 1b7583d) `tcf-post-message-proxy-api`: 1 - (2021-03-17, db781bd) `amp-consent-granular-consent`: 1 - (2021-03-23, 1115f6c) `amp-cid-backup`: 1 --- ### Cleanup issues Close these once they've been addressed and this PR has been merged: - [ ] `adsense-ad-size-optimization`: ampproject#24165 - [ ] `visibility-trigger-improvements`: ampproject#26823 - [ ] `amp-cid-backup`: ampproject#29484 --- ###⚠️ Javascript source files require intervention The following may contain errors and/or require intervention to remove superfluous conditionals: - [ ] `extensions/amp-a4a/0.1/amp-a4a.js` - [ ] `extensions/amp-a4a/0.1/test/test-amp-a4a.js` - [ ] `extensions/amp-accordion/0.1/amp-accordion.js` - [ ] `extensions/amp-accordion/0.1/test/test-amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/test/test-amp-accordion.js` - [ ] `extensions/amp-analytics/0.1/analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-events.js` - [ ] `extensions/amp-consent/0.1/amp-consent.js` - [ ] `extensions/amp-consent/0.1/consent-ui.js` - [ ] `extensions/amp-consent/0.1/test/test-amp-consent.js` - [ ] `extensions/amp-consent/0.1/test/test-consent-ui.js` - [ ] `src/custom-element.js` - [ ] `src/service/cid-impl.js` - [ ] `test/unit/test-custom-element.js` Refer to the removal guide for [suggestions on handling these modified Javascript files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup) --- ###⚠️ HTML files may still contain references The following HTML files contain references to experiment names which may be stale and should be manually removed: - [ ] `examples/accordion.amp.html` - [ ] `examples/amp-consent/amp-consent-3p-postmessage.html` - [ ] `test/manual/amp-analytics/amp-analytics-multi-selector.html` - [ ] `test/manual/amp-consent/amp-consent-granular-consent.html` Refer to the removal guide for [suggestions on handling these HTML files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup:html)
Sweep experiments last flipped globally up to 2023-09-01: - (2021-01-20, a9e2778) `adsense-ad-size-optimization`: 1 - (2020-11-19, cac0248) `amp-accordion-display-locking`: 1 - (2020-08-14, 77ced1d) `expand-json-targeting`: 1 - (2021-01-27, b738789) `visibility-trigger-improvements`: 1 - (2021-03-05, 77127c7) `disable-a4a-non-sd`: 1 - (2021-03-12, 1b7583d) `tcf-post-message-proxy-api`: 1 - (2021-03-17, db781bd) `amp-consent-granular-consent`: 1 - (2021-03-23, 1115f6c) `amp-cid-backup`: 1 --- ### Cleanup issues Close these once they've been addressed and this PR has been merged: - [ ] `adsense-ad-size-optimization`: ampproject#24165 - [ ] `visibility-trigger-improvements`: ampproject#26823 - [ ] `amp-cid-backup`: ampproject#29484 --- ###⚠️ Javascript source files require intervention The following may contain errors and/or require intervention to remove superfluous conditionals: - [ ] `extensions/amp-a4a/0.1/amp-a4a.js` - [ ] `extensions/amp-a4a/0.1/test/test-amp-a4a.js` - [ ] `extensions/amp-accordion/0.1/amp-accordion.js` - [ ] `extensions/amp-accordion/0.1/test/test-amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/test/test-amp-accordion.js` - [ ] `extensions/amp-analytics/0.1/analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-events.js` - [ ] `extensions/amp-consent/0.1/amp-consent.js` - [ ] `extensions/amp-consent/0.1/consent-ui.js` - [ ] `extensions/amp-consent/0.1/test/test-amp-consent.js` - [ ] `extensions/amp-consent/0.1/test/test-consent-ui.js` - [ ] `src/custom-element.js` - [ ] `src/service/cid-impl.js` - [ ] `test/unit/test-custom-element.js` Refer to the removal guide for [suggestions on handling these modified Javascript files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup) --- ###⚠️ HTML files may still contain references The following HTML files contain references to experiment names which may be stale and should be manually removed: - [ ] `examples/accordion.amp.html` - [ ] `examples/amp-consent/amp-consent-3p-postmessage.html` - [ ] `test/manual/amp-analytics/amp-analytics-multi-selector.html` - [ ] `test/manual/amp-consent/amp-consent-granular-consent.html` Refer to the removal guide for [suggestions on handling these HTML files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup:html)
Sweep experiments last flipped globally up to 2023-10-01: - (2021-01-20, a9e2778) `adsense-ad-size-optimization`: 1 - (2020-11-19, cac0248) `amp-accordion-display-locking`: 1 - (2020-08-14, 77ced1d) `expand-json-targeting`: 1 - (2021-01-27, b738789) `visibility-trigger-improvements`: 1 - (2021-03-05, 77127c7) `disable-a4a-non-sd`: 1 - (2021-03-12, 1b7583d) `tcf-post-message-proxy-api`: 1 - (2021-03-17, db781bd) `amp-consent-granular-consent`: 1 - (2021-03-23, 1115f6c) `amp-cid-backup`: 1 --- ### Cleanup issues Close these once they've been addressed and this PR has been merged: - [ ] `adsense-ad-size-optimization`: ampproject#24165 - [ ] `visibility-trigger-improvements`: ampproject#26823 - [ ] `amp-cid-backup`: ampproject#29484 --- ###⚠️ Javascript source files require intervention The following may contain errors and/or require intervention to remove superfluous conditionals: - [ ] `extensions/amp-a4a/0.1/amp-a4a.js` - [ ] `extensions/amp-a4a/0.1/test/test-amp-a4a.js` - [ ] `extensions/amp-accordion/0.1/amp-accordion.js` - [ ] `extensions/amp-accordion/0.1/test/test-amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/test/test-amp-accordion.js` - [ ] `extensions/amp-analytics/0.1/analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-events.js` - [ ] `extensions/amp-consent/0.1/amp-consent.js` - [ ] `extensions/amp-consent/0.1/consent-ui.js` - [ ] `extensions/amp-consent/0.1/test/test-amp-consent.js` - [ ] `extensions/amp-consent/0.1/test/test-consent-ui.js` - [ ] `src/custom-element.js` - [ ] `src/service/cid-impl.js` - [ ] `test/unit/test-custom-element.js` Refer to the removal guide for [suggestions on handling these modified Javascript files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup) --- ###⚠️ HTML files may still contain references The following HTML files contain references to experiment names which may be stale and should be manually removed: - [ ] `examples/accordion.amp.html` - [ ] `examples/amp-consent/amp-consent-3p-postmessage.html` - [ ] `test/manual/amp-analytics/amp-analytics-multi-selector.html` - [ ] `test/manual/amp-consent/amp-consent-granular-consent.html` Refer to the removal guide for [suggestions on handling these HTML files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup:html)
Sweep experiments last flipped globally up to 2023-11-01: - (2021-01-20, a9e2778) `adsense-ad-size-optimization`: 1 - (2020-11-19, cac0248) `amp-accordion-display-locking`: 1 - (2020-08-14, 77ced1d) `expand-json-targeting`: 1 - (2021-01-27, b738789) `visibility-trigger-improvements`: 1 - (2021-03-05, 77127c7) `disable-a4a-non-sd`: 1 - (2021-03-12, 1b7583d) `tcf-post-message-proxy-api`: 1 - (2021-03-17, db781bd) `amp-consent-granular-consent`: 1 - (2021-03-23, 1115f6c) `amp-cid-backup`: 1 --- ### Cleanup issues Close these once they've been addressed and this PR has been merged: - [ ] `adsense-ad-size-optimization`: ampproject#24165 - [ ] `visibility-trigger-improvements`: ampproject#26823 - [ ] `amp-cid-backup`: ampproject#29484 --- ###⚠️ Javascript source files require intervention The following may contain errors and/or require intervention to remove superfluous conditionals: - [ ] `extensions/amp-a4a/0.1/amp-a4a.js` - [ ] `extensions/amp-a4a/0.1/test/test-amp-a4a.js` - [ ] `extensions/amp-accordion/0.1/amp-accordion.js` - [ ] `extensions/amp-accordion/0.1/test/test-amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/amp-accordion.js` - [ ] `extensions/amp-accordion/1.0/test/test-amp-accordion.js` - [ ] `extensions/amp-analytics/0.1/analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-analytics-root.js` - [ ] `extensions/amp-analytics/0.1/test/test-events.js` - [ ] `extensions/amp-consent/0.1/amp-consent.js` - [ ] `extensions/amp-consent/0.1/consent-ui.js` - [ ] `extensions/amp-consent/0.1/test/test-amp-consent.js` - [ ] `extensions/amp-consent/0.1/test/test-consent-ui.js` - [ ] `src/custom-element.js` - [ ] `src/service/cid-impl.js` - [ ] `test/unit/test-custom-element.js` Refer to the removal guide for [suggestions on handling these modified Javascript files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup) --- ###⚠️ HTML files may still contain references The following HTML files contain references to experiment names which may be stale and should be manually removed: - [ ] `examples/accordion.amp.html` - [ ] `examples/amp-consent/amp-consent-3p-postmessage.html` - [ ] `test/manual/amp-analytics/amp-analytics-multi-selector.html` - [ ] `test/manual/amp-consent/amp-consent-granular-consent.html` Refer to the removal guide for [suggestions on handling these HTML files.](https://github.com/ampproject/amphtml/blob/master/build-system/tasks/sweep-experiments/README.md#followup:html)
It looks like we're using a client side cookie for a CID we create on the origin site. It appears that the client-side cookie is fragile and could be removed after 24 hours. Since the intention of client ID is to last longer than that, we could back it up by the local storage. Here's the related thread of cookie-vs-localstorage, which clarifies that the local storage is a more appropriate storage mechanism in some cases.
The text was updated successfully, but these errors were encountered: