ampproject / ampproject/amphtml

Add a custom parameter in header request in ampanalitycs

Open
#40,232 2 comments 0 reactions 1 assignee Claimed by @erwinmombay View on GitHub
Type: Feature Request
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

### Description

We are reaching out to request the addition of a feature to the amp-analytics component. Specifically, we would like to inquire if it would be possible to include support for adding a custom Authorization parameter in the request headers originating from amp-analytics.

This feature is particularly important for our internal tracking system, which relies on authorization tokens to ensure secure and authenticated data collection. Adding this functionality would allow us to seamlessly integrate amp-analytics with our existing infrastructure.

If this functionality is not currently supported, would it be possible to consider implementing it in a future release? We believe it would greatly enhance the flexibility of amp-analytics for developers working with secured data sources.

Thank you for considering this request. Please let us know if additional details or use cases would be helpful.

### Alternatives Considered

If the feature request will be refused can you give us any advice to reach our goal without adding the header param? we are trying to do this without the definition of a proxy that add the authorization param

### Additional Context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.