General info
Implement the standardized dataLayer events for all form submits as described in the attached documentation (PDF).
This includes newsletter sign-ups, DOI confirmation pageviews, and contact form submits.
The goal is to unify form tracking across all pages, replacing current CSS/URL-based workarounds.
User story
As a marketing analyst,
I want all newsletter and contact forms to trigger standardized dataLayer events,
So that tracking and analytics can be unified and automated in GTM and GA4.
Documentation:
Acceptance criteria
|
# |
Given |
When |
Then |
|---|---|---|---|
|
01 |
A user successfully submits any newsletter form |
The submission completes |
A dataLayer event named saclab_newsletter_sign_up is fired with form name, form ID, and user email details (as per documentation). |
|
02 |
A user lands on the newsletter DOI confirmation page |
The page loads |
A dataLayer event named saclab_newsletter_confirmation is fired. |
|
03 |
A user successfully submits the contact form |
The submission completes |
A dataLayer event named saclab_contact_form_submit is fired with form name, form ID, and available user data (email, name, phone). |
Leave a Reply
You must be logged in to post a comment.