Gravatar for ken.thomas@qlik.com

Question by ken thomas, Nov 16, 2017 9:28 PM

how to capture a Coveo event with page load instead of a button click?

We have buttons for creating a case that are set up to track Coveo events.

However, we also sometimes give a url directly to the case create page which bypasses the button click. Is there a way track that create event from a page load? what would that code look like?

1 Reply
Gravatar for mlaporte@coveo.com

Answer by Martin Laporte, Nov 24, 2017 12:18 PM

I can't provide code directly, but you could either bind a handler on the `click` event for your link that sends a UA event, or you can have some JS run at page load like you suggest.

Ask a question