Add tracking code on share buttons

XMLWordPrintable

    • Type: Task
    • Resolution: Duplicate
    • Priority: Should have
    • None
    • 3
    • Sprint #29

      Utilize GTM to track outbound links from share buttons.

      Example code:

       

      dataLayer.push({
        'event' : 'uaevent' //do not alter this name
        'eventCategory' : 'Social Share' //The Event Category to be sent to GA
        'eventAction' : '[variable]' //Facebook/Twitter/Email
        'eventLabel' : '[variable]' //Optional, could be current URL
      });
      

       

       

            Assignee:
            Nikos Roussos
            Reporter:
            Nikos Roussos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: