-
Task
-
Resolution: Released
-
Should have
-
2
-
Analytics
-
Sprint #131
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 });
- has to be done after
-
PLANET-4855 Pull "Global Project" values from Smartsheet to campaign dropdowns (dataLayer)
- CLOSED
-
PLANET-4859 Pull "Local Project" values from each NRO's Smartsheet table
- CLOSED