amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

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

Open sayamalvi opened this issue 10 months ago • 2 comments

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

sayamalvi avatar Apr 05 '24 18:04 sayamalvi