Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GA4] Add name property to cta_click event #15391

Open
3 tasks done
stephaniehobson opened this issue Oct 25, 2024 · 0 comments
Open
3 tasks done

[GA4] Add name property to cta_click event #15391

stephaniehobson opened this issue Oct 25, 2024 · 0 comments
Assignees

Comments

@stephaniehobson
Copy link
Contributor

stephaniehobson commented Oct 25, 2024

Description

Add name property to cta_click event.

GA4 default reports make it hard to filter reports by more than one property. To help with self serve reporting (especially for WNPs) we're adding am optional data-cta-name property to the cta_click event. This is intended to contain an identifier unique across the entire site.

I chose name because we already use it in widget_action and did not want the value to be confused with link_id which will contain the HTML id if there is one.

This was requested by @slightlyoffbeat on Slack.

Success Criteria

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant