once we have the search terms, I need to know whether it is typed or pased in the search field. How can we achieve this?
Solved! Go to Solution.
Views
Replies
Total Likes
That one is tricky... what if they paste AND type? I assume you don't want to inflate your server calls by sending tracking on each keystroke or paste action (which may not even result in an actual search).
Do you plan on tracking "typed" vs "pasted" when the user submits their search? Do you want the last used?
So:
If you use the last interaction, that's easier... but may not provide the detail you need... but if you try to track a combined usage you can see how complex this might get...
All of this would require custom JS to detect Key Presses (which wouldn't work for assistive technologies, and storing / updating at each use, to then read/pull when the search is submitted....
While I am not going to presume to know why this is important to you / your business... it might be worth having a discussion about whether this particular use case is worth the complexities (which still may not be able to capture all scenarios with 100% accuracy any way)
Views
Replies
Total Likes
That one is tricky... what if they paste AND type? I assume you don't want to inflate your server calls by sending tracking on each keystroke or paste action (which may not even result in an actual search).
Do you plan on tracking "typed" vs "pasted" when the user submits their search? Do you want the last used?
So:
If you use the last interaction, that's easier... but may not provide the detail you need... but if you try to track a combined usage you can see how complex this might get...
All of this would require custom JS to detect Key Presses (which wouldn't work for assistive technologies, and storing / updating at each use, to then read/pull when the search is submitted....
While I am not going to presume to know why this is important to you / your business... it might be worth having a discussion about whether this particular use case is worth the complexities (which still may not be able to capture all scenarios with 100% accuracy any way)
Views
Replies
Total Likes
Thank you so much the detail explanation, this helps a lot.
Views
Likes
Replies
Views
Like
Replies