Social Media Interaction - Exercise

Contact Us or call 1-877-932-8228
Social Media Interaction - Exercise

Social Interaction Setup

Duration: 20 to 30 minutes.
  1. Take a moment and read through the Google code page: https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSocial.
  2. Take a look at one example, such as a Facebook un-like, and develop the code specific to your website.

Solution:

Talk through your solution in class and share with the instructor.

In the exercise example given above, here is the proper code for a Facebook un-like

FB.Event.subscribe('edge.remove', function(targetUrl) { _gaq.push(['_trackSocial', 'facebook', 'unlike', targetUrl]); });

Next