Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-1819

Add tracking code on share buttons

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Duplicate
    • Icon: Should have 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
      });
      

       

       

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

              Created:
              Updated:
              Resolved: