Firing a trigger when user clicks page element

Anonymous
Not applicable

Firing a trigger when user clicks page element

Sorry, Newbie here, but I didnt find an answer to this question.

I have a Angular, single page website app.  There are no links, but javascript events that cause the web app to do different things.  The site has member functionality where once signed in they can do unique functions.  I want to be able to trigger an email if a person clicks on a given CSS element on the page. 

Where should I be looking to find an answer on how to do this?

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Firing a trigger when user clicks page element

You'll use the Munchkin API, specifically the Munchkin function 'clickLink'.  This creates a synthetic link click event you can use to flag interesting client-wide events.  Craft a synthetic path such as '/functions/menus/file/save-as' (for a wild example) for in-app actions.