Skip to content
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

amp-script: How to get search params in amp-script? #39948

Open
sayamalvi opened this issue Apr 5, 2024 · 2 comments
Open

amp-script: How to get search params in amp-script? #39948

sayamalvi opened this issue Apr 5, 2024 · 2 comments
Assignees

Comments

@sayamalvi
Copy link

sayamalvi commented Apr 5, 2024

I am using amp-script to populate data in amp-list, and want to get query parameter 'id'. I have tried URL Search Params but the console says URLSearchParams is not defined. Need help regarding this.
Screenshot 2024-04-06 000229

@erwinmombay
Copy link
Member

@powerivq do you happen to know the answer to this question at the top of your head?

@sayamalvi
Copy link
Author

I have come across a temporary solution for this. Check #26791 (comment)

@erwinmombay erwinmombay self-assigned this Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants