Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Google Analytics @ 102-2 CCSP

Google Analytics @ 102-2 CCSP

Brief introduction to Google Analytics

Johnson Liang

May 29, 2014
Tweet

More Decks by Johnson Liang

Other Decks in Technology

Transcript

  1. // Send ga events when an element with [data-ga] is

    clicked. $('body').on('click', '[data-ga]', function(e){ ga('send', 'event', 'button', 'click', $(this).data('ga')); });
  2. // Send ga events when an element with [data-ga] is

    clicked. $('body').on('click', '[data-ga]', function(e){ ga('send', 'event', 'button', 'click', $(this).data('ga')); }); MBCFM
  3. // Send ga events when an element with [data-ga] is

    clicked. $('body').on('click', '[data-ga]', function(e){ ga('send', 'event', 'button', 'click', $(this).data('ga')); }); MBCFM