Update global.js

Added new Google Analytics event tracking hooks.