Analytics: Print default analytics code if tracking ID is set #3131
Labels
Group: WordPress
Changes related to WordPress or Gutenberg integration
Type: Enhancement
New feature or improvement of an existing feature
Feature Description
Depends on #3031 / #2747.
Related but not a blocker: #2731
We need to print a default
<amp-analytics>
code for Google Analytics if a tracking ID is set andDo not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria
Implementation Brief
\Google\Web_Stories\Analytics
print own analytics code if tracking ID is set\Google\Web_Stories\Analytics::is_site_kit_analytics_module_active
functionality - if Site Kit's analytics module is active, don't print anythingThe text was updated successfully, but these errors were encountered: