-
Task
-
Resolution: Done
-
Should have
-
None
-
4
-
Block: EN Form
-
Sprint #75
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]',
});