-
Task
-
Resolution: Released
-
Must have
-
None
-
2
-
Analytics
-
Sprint #128, Sprint #129
-
pluto
Problem:
We need to fire a unique "Tracking ID" for each Global Projects (via dataLayer.push):
User stories:
- As an editor I want to select the Global Project standard from the Analytics & Tracking dropdown
- As a data analyst I want to display only the Global Project names to the editors so that we avoid creating confusion with different IDs
- As a data analyst I want to send a unique tracking ID value (via dataLayer) for each Global Project selected so that I can attribute web traffic data to a specific project.
Important notes:
- The dataLayer.push which includes these standard values (selected by the editors on the dropdown) should be pushed on page load, and be injected on the <head> before Google Tag Manager code.
- Example of the dataLayer script:
dataLayer.push({ 'gCampaign' : '[value defined in Global Project field]', 'projectID' : '[specific Tracking ID value related to the Global Project selected]', });
Smartsheet API Resources:
- https://smartsheet-platform.github.io/api-docs/
- https://www.smartsheet.com/content-center/best-practices/tips-tricks/api-getting-started
Tasks:
- Add a new parameter [projectID] to the dataLayer.push (on all Planet 4 content)
- Pull the right "Tracking ID" value from the GP Global Project Standards (SSOT) according to the “Global Project” value selected by the editor
- Send the specific "Tracking ID" [projectID] __ value together with the "Global Project Standard" [gCampaign] via dataLayer
- has to be done after
-
PLANET-4855 Pull "Global Project" values from Smartsheet to campaign dropdowns (dataLayer)
- CLOSED