Query Parameters inside components

  • achivas-1350766627658137603

    A-Chivas

    1 month ago

    I will be using it as a web embed, it shows an error here, will it work with my shopify, where it will be part of the page with query parameter in the url string though?
    1350766628165390387-image.png
  • erikbeus-1350781404765749290

    Erik Beuschau

    1 month ago

    What does the error say?
  • achivas-1350834771609255967

    A-Chivas

    1 month ago

    @Erik Beuschau its inside a component
    1350834771348946994-image.png
  • erikbeus-1350867550786945125

    Erik Beuschau

    1 month ago

    Right. “Declared” query/path parameters are only available in pages atm. If you want to access the URL in a component that’s exported as s web component, you can either:
    - Pass the relevant info as a parameter from your existing application
    - Use the current URL formula to check the actual URL of the window