Skip to main content
Question

How can I track a feature/event upon click only once per session?

  • 27 August 2020
  • 1 reply
  • 252 views

Hello Community users!

 

Use Case: How can I track a feature/event upon click only once per session?

Example: User A logged and clicked thrice on the button but it should count only as 1 - as it comes under single session for A

Is it possible? Yes! its possible

How can I implement?

The above ask is possible using custom events and custom code.

Here is the video recording of the usecase : https://share.getcloudapp.com/nOukXpAO

 

Please find the snapshot of the code:

Javascript Snippet:

HTML Code:

 

If required you can configure the custom events configured on the features using product mapper.

 

Thanks

Dileep Nalla

 

@dileepnalla Thanks for sharing your knowledge here!


Reply