https://puresourcecode.com/javascript/track-events-for-google-analytics-and-piwik/
Track events for Google Analytics and Piwik