Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 756 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 756 Bytes

Johnson and Johnson GA4 Data Layer and Data Attribute Spec

Overview

This repository contains the necessary specifications to build an Event Driven Data Layer.

Events

Each file inside the events folder corresponds to a single use case or site event that needs to be implemented.

These will be used to share data with Google Tag Manager on desktop and will be sent directly to Google Analytics 4 on mobile.

Conventions

Code samples

We defer to stylistic preferences in the target codebase, but here are the JavaScript conventions we use in our code samples:

  • Double quotes instead of single quotes in object properties
  • No trailing commas
  • Semicolons required

Questions/Comments

The intake form will be coming soon.