further-external / brookings-datalayer-specs

An Apollo generated Event Driven Data Layer
0 stars 1 forks source link

Page Load Completed #10

Open jerry-bennett opened 1 year ago

jerry-bennett commented 1 year ago

Page Load Completed

Page Load Completed is part of the page load sequence, including virtual page loads in the case of single page apps, and must be the last event pushed in the page load event sequence.

Javascript Code

window.dataLayer = window.dataLayer || [];
dataLayer.push({
  "event": "page_view",
  "detailed_event": "Page Load Completed"
});
jerry-bennett commented 1 year ago

Tested on: https://preview.brookings.edu/

Use case: Loaded page

Status: Working as expected, also seeing the correct tag fire in GTM.

Image

Image

jerry-bennett commented 1 year ago

PROD QA:

Tested on: https://www.brookings.edu/articles/techtank-podcast-episode-72-social-media-and-teens/

Use case: Loaded page

Status: Looking great, seeing the data layer push and tag fire correctly.

Image

Image