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

Implement data attributes on Header (pages, posts, campaigns)

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Merged
    • Icon: Should have Should have
    • 2.34.1

      Context:

      Implement a set of new data attributes on the Header of all content types (posts, pages, campaigns) with standard values. These will be used later to trigger events and define its category, action and label. 

      Here are some screenshots linking the elements with the data-ga-action standard value and the different content types: 

      • Posts
      • Default Pages (e.g Take Action)
      • Category (aka. Issues)
      • Tags

        
       More Information:

      To view all events standards and data-attributes structure proposed: "P4 Events Standards - 2020 Review"  

      Next steps:

      1) Julia should create the Google Tag Manager setup in all P4-NRO's containers.  

      Task: 

      • Implement data-attributes on elements:
        • data-ga-category
        • data-ga-action
        • data-ga-label 
      • Implement data-attributes with the following standard values
      data-ga-category data-ga-action data-ga-label
      Header  Call to Action
      Category Tag
      Navigation Tag
      n/a

        1. p4_block_header_issue.jpg
          572 kB
          Julia Marubayashi
        2. p4_block_header_post.jpg
          470 kB
          Julia Marubayashi
        3. p4_block_header_tag.jpg
          613 kB
          Julia Marubayashi
        4. p4_block_header_takeaction.jpg
          600 kB
          Julia Marubayashi

            sdeshmuk Sagar Deshmukh
            jmarubay Julia Marubayashi
            Julia Marubayashi Julia Marubayashi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: