Deprecate googleanalytics (UA) vendor type in favor of gtag (GA4) #7567
Labels
Changelogged
Whether the issue/PR has been added to release notes.
Enhancement
New feature or improvement of an existing one
Milestone
Feature Description
As is well known, the universal analytics (UA) version of Google Analytics is being sunset imminently in favor of GA4. Support for GA4 in AMP just landed: ampproject/amphtml#24621 (comment)
The GA4 configuration uses the
gtag
vendor type as opposed togoogleanalytics
. Therefore:amp-wp/includes/ecosystem-data/analytics-vendors.php
Lines 160 to 161 in 3007b13
Note that the vendor entry on AMP.dev will be updated accordingly.
googleanalytics
to consider using Site Kit instead (which will support GA4 shortly per AMP: Add support for tagging with GA4 google/site-kit-wp#7221). However, the notice should be updated to be a warning here, perhaps by adding this sentence to the end of the paragraph:Acceptance Criteria
No response
Implementation Brief
No response
QA Testing Instructions
No response
Demo
No response
Changelog Entry
No response
The text was updated successfully, but these errors were encountered: