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

Push dataLayer values on page load

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Should have Should have
    • 1.43
    • None

      New request related to this ticket: https://jira.greenpeace.org/browse/PLANET-3188 

      • As a data analyst, I want to analyse form submissions and page performance according to the campaign/basket/scope. 

       

      Part 1: Push dataLayer values on page load

      As right now, dataLayer values are fired on an event (form submission). We also need to see those values before the user signup. 

      Observation: We need to test the dataLayer push to make sure that it can be read on page load and also on the event. 

       

      dataLayer.push({

       'gCampaign' : '[value defined in Campaign field]',

       'gBasket' : '[value defined in Basket field]',

       'gScope': '[value defined in Scope field]',

       'gDepartment': '[value defined in Department field]',

       });

       

       

       

        1. UAT_GA.jpg
          125 kB
          Julia Marubayashi
        2. UAT_GTM_Pageload.jpg
          267 kB
          Julia Marubayashi
        3. UAT_GTM_Tag.jpg
          311 kB
          Julia Marubayashi

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

              Created:
              Updated:
              Resolved: