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

Improving Planet 4 product tracking with data attributes

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Fixed
    • Icon: Must have Must have
    • None
    • None
    • Implement new standard events on clicks
    • Analytics

      Context:

      Last year we started implementing a few click events on Planet 4 elements for design iteration and testing. We selected a few websites and implemented the click events via Google Tag Manager, most often based on elements IDs or classes. 

      We now need to implement these events on all Planet 4 websites. We should use a different methodology to be more accurate on the tracking and make the implementation easier (on all P4-NRO’s Google Tag Manager containers). 

      Solution: 

      We should implement dataLayer events on the elements/blocks that are already partially tracked (Navigation, Call to Actions, Columns Blocks) and on those required by the Design Team (Search Page). 

       

      Tracking Methodology (updated April 29)

      As suggested by pvincent and sdeshmuk, we can work with data-* attributes instead of dataLayer events. This should facilitate the implementation while also allowing some more flexibility when setting up the events tags in Google Tag Manager. 

      The idea is to implement a set of new data attributes with standard values. These will be used later to trigger events and define its category, action and label.

       

      Epic Steps:

      1. Review existing event standards and find the best implementation methodology: --PLANET-4961--
      2. Create development tasks for implementing dataLayer on the different elements/blocks: PLANET-4962
      3. Implement the new changes on “P4 - GPI” Google Tag Manager container as a pilot
      4. Update Global Property documentation and the standards used
      5. Implement changes on all P4-NRO’s Google Tag Manager containers (create a new workspace and ask NRO’s to review/publish).
      6. Create an internal dashboard to monitor the event’s standards

            Unassigned Unassigned
            jmarubay Julia Marubayashi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: