At the moment we can only track when LA's select their LA and, I think, when the page sets the LA from localStorage. We're trying to track the LA every time validate is clicked so we can see if people are repeatedly using the tool in a session - not 100% sure if what I've done here is the right way to do it.
I've kept 'event('click' ,'validate') as a thing but added event('validate', 'LA_known', storedValue) (and event('validate', 'no_LA') in case getting the LA from localStorage doesnt work for some reason)
At the moment we can only track when LA's select their LA and, I think, when the page sets the LA from localStorage. We're trying to track the LA every time validate is clicked so we can see if people are repeatedly using the tool in a session - not 100% sure if what I've done here is the right way to do it.
I've kept '
event('click' ,'validate')
as a thing but addedevent('validate', 'LA_known', storedValue)
(andevent('validate', 'no_LA')
in case getting the LA from localStorage doesnt work for some reason)