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

Rename Social Share event and Add to Gravity Forms

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Accepted
    • Icon: Should have Should have
    • 2.139.0
    • None
    • 1
    • Analytics
    • Sprint #242, Sprint #243, Sprint #244, Sprint #245
    • atlas

      Summary

      The Social Media Share buttons on Gravity Forms currently do not fire the same dataLayer event as the social media share on blog posts.  This causes issues when tracking Social Shares in Mixpanel & GA4. We would like these events to match, and it is a good opportunity to rename the event to something more descriptive (current it is just "uaevent"). 

      1. Rename the social share event from "uaevent" to "page_shared" 

      2. Keep the eventCategory, eventAction, and evetLabel variables in the DL Script

      3. Add a new variable to the same event called "channel" that populates with the social media channel (ie: Facebook, Twitter/x, etc) 

      {{event: "page_shared"
           channel: "Twitter",
           eventCategory: "Social Share"
           eventAction: "Twitter",
           eventLabel: "", //URL of the page}}

      4. Implement the above event when a Gravity Form is shared 

      Let mmarcott & jmarubay know when this is ready for testing, so we can make sure to update the GTM continers   Thank you!! 

      Requirements

      • Change the DLV Event when a blog post is shared to a new name "page_shared"
      • Maintain the same eventCategory, eventAction, and eventLabel variables in the DL script
      • Add a new DLV Variable Channel
      • Send the renamed event when a Gravity Form is shared on Social Media 
      • Keep both "uaevent" and "page_shared" events, in order to have a smoother transition period till all the necessary change take place in GTM
      • Create a follow up ticket to remove the "uaevent" event once the Data team is ready

            dtovbein Dan Tovbein
            mmarcott Molly Marcott
            Molly Marcott Molly Marcott
            Osong Agberndifor Osong Agberndifor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: