-
Notifications
You must be signed in to change notification settings - Fork 918
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
Update docs and code to remove GA3 references and match GA4 reality #14910
Conversation
d8ede47
to
242f61b
Compare
@@ -19,7 +19,7 @@ | |||
class_name='mzp-t-product mzp-t-secondary mzp-t-md', | |||
optional_attributes= { | |||
'data-cta-text' : 'Get Mozilla VPN', | |||
'data-cta-type' : 'button', | |||
'data-cta-type' : 'vpn', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This links to a page on WMO and so should not have the fxa-
prefix other cta-types have (true for all occurrences of vpn_product_referral_link
)
2f33c6a
to
0149529
Compare
Note to self: add docs about stub attribution needing data-download-version |
437863c
to
9ef2ff3
Compare
4562671
to
34d1a09
Compare
12793a2
to
e6306eb
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #14910 +/- ##
=======================================
Coverage 78.42% 78.42%
=======================================
Files 162 162
Lines 8344 8344
=======================================
Hits 6544 6544
Misses 1800 1800 ☔ View full report in Codecov by Sentry. |
Rebased! |
beffdaf
to
6b002f5
Compare
Rebased again! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whewwwww, this was a big one.
💡 Note that this needs another rebase
Good job working so diligently on this! I left some important questions and suggestions, however I'm also still finding instances of data-cta-type="b utton"
, data-cta-type="link"
, and data-link-group
in the code in the code that should be addressed:
bedrock/base/templates/includes/protocol/navigation/menus-refresh/about-us.html
Outdated
Show resolved
Hide resolved
bedrock/base/templates/includes/protocol/navigation/menus-refresh/firefox.html
Outdated
Show resolved
Hide resolved
bedrock/base/templates/includes/protocol/navigation/menus-refresh/products.html
Outdated
Show resolved
Hide resolved
bedrock/firefox/templates/firefox/features/includes/subnav.html
Outdated
Show resolved
Hide resolved
Update analytics documentation to remove UA and edit the code to make it match the GA4 docs. - Re-write analytics documentation intro - Remove: UA documentation - Remove: UA dataLayer pushes - Remove: data-link-group (migrate into data-link-position where appropriate) - Remove: data-cta-type="button" - Remove: data-cta-type="link" - data-cta and data-link should not be used on the same attribute
87ac590
to
c2a48e4
Compare
c2a48e4
to
8e5ccd4
Compare
Ready for re-review! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good!
Good job again on such a big clean-up 🧹 r+
It looks like something went a bit wrong in the rebase of this PR, and several templates that were removed from the code base got added back in again as new files:
Will file a new issue to remove them again |
…14910) * Update analytics documentation, and reflect docs in code Update analytics documentation to remove UA and edit the code to make it match the GA4 docs. - Re-write analytics documentation intro - Remove: UA documentation - Remove: UA dataLayer pushes - Remove: data-link-group (migrate into data-link-position where appropriate) - Remove: data-cta-type="button" - Remove: data-cta-type="link" - data-cta and data-link should not be used on the same attribute * review fixes
…14910) * Update analytics documentation, and reflect docs in code Update analytics documentation to remove UA and edit the code to make it match the GA4 docs. - Re-write analytics documentation intro - Remove: UA documentation - Remove: UA dataLayer pushes - Remove: data-link-group (migrate into data-link-position where appropriate) - Remove: data-cta-type="button" - Remove: data-cta-type="link" - data-cta and data-link should not be used on the same attribute * review fixes
One-line summary
Update analytics documentation to only reference GA4 and edit the code to make it match the GA4 docs.
Significant changes and points to review
Issue / Bugzilla link
#13951
#14053
#14054
Testing
I know there's a lot of changes but most of them are simple edits. Hopefully this isn't too onerous!