ampproject / ampproject/amphtml

🍱 [amp-gpt:1.0] Bento tracking issue

Open
#36,684 2 comments 0 reactions 0 assignees View on GitHub
Stale WG: bento
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

### High-Level Requirements

_To be updated as information becomes available._

| Consideration | Ready When | Status |
| ----------------------- | ------------------------------------------ | ------- |
| Component Compatibility | Feature checklist is covered | 🚧 |
| Testing | Unit tests and pre-existing e2e tests pass | 🚧 |
| Internationalization | | ✖️ |
| Analytics | | ✖️ |
| Accessibility | Audit performed | ✖️ |
| Page Experience | Audit performed | ✖️ |
| Documentation | Written | 🚧 |
| Storybook | Samples written in Preact and AMP | 🚧 |

### Feature Checklist

_To be updated as information becomes available._

### Features
- [x] Fallback DIV
- [x] Intersection Observer
- [x] Loader Animation

### Existing attributes
- [x] `ad-unit-path`
- [x] `disable-initial-load`
- [x] `slot-targeting`
- [ ] `page-targeting`
- [x] `size`
- [x] `opt-div`

### Actions
- [ ] `setTarget`
- [ ] `setPageTarget`
- [ ] `getTarget`
- [ ] `getPageTarget`
- [ ] `clearTarget`
- [ ] `clearPageTarget`
- [ ] `display`
- [ ] `refresh`

### Events
_To be updated as information becomes available._

### Analytics Events
_To be updated as information becomes available._

### Migration Notes

Migration does not apply to this component.

### Open Tasks

_To be updated as information becomes available._

- [ ] Action Implementation
- [ ] Complete Storybook
- [ ] Cleanup, `lint`, `prettify`
- [ ] Code commenting

### Notifications

/cc @ampproject/wg-bento

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the high-level requirements and feature checklist in this issue, then identify the existing component entry point and related tests for the AMP feature. The issue names no source files or tests, so its scope needs clarification before work begins. Done would require the remaining attributes and actions, Storybook samples, tests, documentation, accessibility and page-experience audits, and cleanup tasks to be completed.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.