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

Create Reading_Time dataLayer Variable for Posts

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Should have Should have
    • 2.125.0
    • None
    • 5
    • Analytics, Posts
    • Sprint #230
    • pluto

      Summary

      With the implementation of Mixpanel we are modifying the approach to Web Analytics to include "Focus Metrics". One of these metrics is Active Monthly Readers on post pages. In order to tell whether a reader has read a post we would like to implement a dataLayer Variable for "reading_time": the time in milliseconds expected to read a post according to the number of characters or words. This is already optionally displayed on Posts, but the idea would be to have it as a DLV for all posts regardless of whether it is displayed. 

      The goal with this is to use reading_time as a conditional trigger in GTM depending on the length of the post. We would trigger an event called post_read once the user spends X amount of time on the page.

      Requirements

      • dataLayer variable for reading_time for all Posts
      • Add the dataLayer variable regardless on whether it's being displayed in the frontend

      Resources

            fhernand Florent Hernandez (Inactive)
            mmarcott Molly Marcott
            Molly Marcott Molly Marcott
            Sagar Deshmukh Sagar Deshmukh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: