Skip to content

Passing Quicksearch entries into URL Hash filter #1673

@ksascomm

Description

@ksascomm

Is it possible the pass the keywords entered into the quicksearch into the url hash, so we can track in GA etc what terms users are entering?

We are filtering content with a search field and button filters, and passing the button filters to create a URL hash. However, I cannot figure if its even possible to do the same with the quicksearch filter. Would I have to create a submit button to the input that passes whatever query term is entered into a hash?

codepen: https://codepen.io/ksascomm/pen/OJKVPWy
debug: https://cdpn.io/pen/debug/OJKVPWy?authentication_hash=vWkRwpWQZOnM#filter=*

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions