Within javascript inside of dashboard, you can use the function trackEvent to trigger a Google Analytics event. For more information, see the ga.js docs on event tracking.
- Install the Google Analytics debugger
- Test locally
- Look for the analytics call in the Chrome debugger