Tracking Button Clicks on Webpage | Community
Skip to main content
Jack_Wildt
Level 2
June 12, 2018
Question

Tracking Button Clicks on Webpage

  • June 12, 2018
  • 1 reply
  • 4266 views

Hello everyone!

We are trying to figure out a way to track button clicks on a webpage for a new campaign. The buttons do things like open a video in a lightbox, or change which competitor we are being compare to, but do link away from the page.

Is there a way to spoof these as link clicks so that we can track them for segmentation/scoring purposes? I am at my wit's end here.

Thank you!

1 reply

SanfordWhiteman
Level 10
June 12, 2018

The Munchkin API provides the clickLink function specifically for this case, where you want to create synthetic clicks for clickable elements that are not automatically picked up by Munchkin.

If you supply your page URL I can give you an example of how it would be used.

Jack_Wildt
Level 2
June 12, 2018

Thank you so much!

On our homepage there are a few videos that open in a lightbox when the play button is clicked, this is one of the things that we would like to track.

https://www.on24.com/

SanfordWhiteman
Level 10
June 13, 2018

The click on the Play arrow (which isn't a <button>, it's a standard <a>) does get logged by Munchkin already on the page.