diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2018-03-14 16:36:04 +0000 |
---|---|---|
committer | Zarino Zappia <mail@zarino.co.uk> | 2018-03-20 14:52:13 +0000 |
commit | d3872acb28212e8ab7a3c018a3152bd68d891528 (patch) | |
tree | 4b91f2800f6e70d0046334f74e999898c40394f5 /t/app/controller/token.t | |
parent | 8737dc0d6805072ea9024cee067b0bf0648a0443 (diff) |
[UK] Dual submit buttons on homepage postcode form
Present "report" vs "browse" choice at time of postcode entry, so we
can track intent, as part of a temporary experiment into what people
expect to see on the fixmystreet.com/around page.
Google Analytics will be able detect which button was pressed by
looking for the `intent=report` or `intent=report` query string param
in the resulting pageview location.
We supply a *third* submit button, immediately before the other two,
and hidden from visual users and assistive devices, to prevent either
of the "intent" submit values being sent when the user submits the
form via the Return/Enter key.
Part of #2021.
Diffstat (limited to 't/app/controller/token.t')
0 files changed, 0 insertions, 0 deletions