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

Add dataLayer event to Cookies Bar

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Should have Should have
    • 1.45
    • None
    • 6
    • Block: Cookies
    • Sprint #77

       

      • As a user, I want to be able to navigate on the website without giving consent to Remarketing Cookies
      • As a data analyst, I want to track when users have accepted and agreed with the Cookies Bar
      • As an admin, I want to run remarketing tags instantly when user accepts the Cookies Bar - without reloading or visiting other pages

       

      Part 1: Send a dataLayer event on click 

      Embed an onclick dataLayer.push in the Cookies Bar button code that will send an event:

      dataLayer.push({

       'event' : 'cookiesConsent'

       });

       

       

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

              Created:
              Updated:
              Resolved: