[wp-meta] [Making WordPress.org] #5157: Update URL on search actions
Making WordPress.org
noreply at wordpress.org
Fri May 1 08:20:20 UTC 2020
#5157: Update URL on search actions
-----------------------------+---------------------
Reporter: jonoaldersonwp | Owner: (none)
Type: defect | Status: closed
Priority: highest omg bbq | Milestone:
Component: General | Resolution: fixed
Keywords: analytics |
-----------------------------+---------------------
Changes (by jonoaldersonwp):
* priority: normal => highest omg bbq
Comment:
It seems that navigating between categories has now breaks category-based
search(!); submitting a query returns you to the previously selected
category.
Three other challenges to address, though, before this is viable for
GTM/GA:
- It looks like the URL is updated ''after'' the form result is returned.
That means it's too late for GTM to pick up the change easily. It needs to
change on click/submit.
- The category parameters aren't as per the requirements (e.g.,
https://wordpress.org/search/dogs?forums=1 should be
https://wordpress.org/search/dogs?search_category=support_forums).
- Navigation between categories which have previously been selected
doesn't update the URL.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5157#comment:7>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list