Open nedierecel opened 1 year ago
Use case: Loaded page and checked the data layer specs
Status: Working. seeing all the values in the data layer push, however a decent amount of them are null or not populated at all. Not sure if that will be a problem or not in the future.
The tag seems to double fire inside of GTM preview mode. Once for a 'page_load_started' custom event, and once for the 'History Change' event. I'll update the trigger.
@jmoconn I understand that some of these null values might be expected, but wanted to get your approval before I move it to 'complete'
@jerry-bennett I think that's right -- it looks like the null variables are null because they are not applicable for this particular article. For example, 'project' is null because this article is not associated with any project. Here are two other example articles with data populating for some of the variables that are null here:
@jmoconn Looks good to me! Loaded those examples and saw the values populating that were null in the original example. Moving this to 'complete' for now.
PROD QA:
Tested on: https://www.brookings.edu/articles/techtank-podcast-episode-72-social-media-and-teens/
Use case: Loaded page
Status: Looks great, seeing both the GTM tag fire and the data layer push. Additionally, the tag only fires once now instead of twice.
Page Load Started
Javascript Code
Variable Definitions