New Here, Need Event Help
I am trying to capture the name of the document a user taps on in a list of documents in an app or web. When a user taps on a doc name to view the doc, I want to capture that doc name, is that done in Event configuration?
Thanks for your help.
Comments
Hi Timothy, your intuition is correct, when a user clicks on a specific item, you can trigger an event and pass the name of that item in that event's segmentation. For example a simple example in your situation, if you have integrated Countly asynchronously, can be like this:
You would like this to be triggered when a user presses that document. For more information on how to use events in a website you can check out our documentation here: https://support.count.ly/hc/en-us/articles/360037441932-Web-analytics-JavaScript-#adding-an-event and example implementations from here: https://github.com/Countly/countly-sdk-web/tree/master/examples
Or if you are using other SDKs you can reach their documentations from here: https://support.count.ly/hc/en-us/sections/360007310512-SDKs
Do not hesitate to contact us again if anything comes up.
Thank you!
Please sign in to leave a comment.