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

Implement data attributes on Articles Block

    XporterXMLWordPrintable

    Details

    • Type: Task
    • Status: CLOSED
    • Priority: Should have
    • Resolution: Released
    • Affects Version/s: None
    • Fix Version/s: 2.37.0
    • Labels:
      None
    • Story Points:
      3
    • Sprint:
      Sprint #142
    • Section:
      Analytics, Block: Articles
    • P4 site:
      All sites
    • Track:
      Development
    • P4 Test Environment:
      titan
    • Repositories:
      planet4-plugin-gutenberg-blocks

      Description

      Context:

      Implement a set of new data attributes on the Articles Block with standard values. These will be used later to trigger events and define its category, action and label. 

      Here's a screenshot linking the elements with the data-ga-action standard values:

       

       Obs: The data attributes should be applied to the Articles Block and to the related articles available on post pages. 

      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
        Articles Block
         
        Title
        Image
        Navigation Tag
        Post Type Tag
        Load More Button
        n/a 

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

       

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: