Hide Scope dropdown from Analytics & Tracking fields

XMLWordPrintable

    • Type: Task
    • Resolution: Released
    • Priority: Should have
    • 2.30.0

      Problem:

      The Analytics & Tracking settings are displaying too many dropdowns. Some of them will be phase out and others can be auto-populated in the dataLayer according to the Global Project value selected. This should ensure that editors have fewer fields to add when publishing a new content in Planet 4. 

       

      Task:

      #1 Hide the Scope field from the Analytics & Tracking dropdowns. \

      #2 Fire the gScope value via dataLayer according to the gCampaign value (value selected on the Global Projects dropdown). Follow the structure below: 

      • If Global Project equals Local Campaign then Scope is Local.
      • If Global Project equals none then Scope is not set
        If Global Project matches any other value (apart from Local Campaign) then Scope is Global

      DataLayer Script:

       

      dataLayer.push({
      'gCampaign' : '[value defined in Global Project field]',
      'gScope' : '[value according to the Global Project selected]', // Local/Global
      });
      

       

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

              Created:
              Updated:
              Resolved: