search widget append query string parameter #14093
romanfain
announced in
Developers Community
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hey, I need to add a query string parameter to the Search Form.
I have two search bars on the page (one popup & one in a CTA) we need to track usability by passing a query string for example.
https://staging.domain.com/?s=search+for+something&lang=en&**source=popup**
https://staging.domain.com/?s=search+for+something&lang=en&**source=content**
Using Elementor Pro any advice on how to tap into the search event, maybe using add_query_arg.
TIA
Beta Was this translation helpful? Give feedback.
All reactions