Changeset 3420533
- Timestamp:
- 12/15/2025 10:32:21 PM (3 months ago)
- Location:
- google-site-kit
- Files:
-
- 132 added
- 84 deleted
- 38 edited
- 1 copied
-
tags/1.168.0 (copied) (copied from google-site-kit/trunk)
-
tags/1.168.0/dist/assets/blocks/reader-revenue-manager/contribute-with-google/block.json (modified) (1 diff)
-
tags/1.168.0/dist/assets/blocks/reader-revenue-manager/contribute-with-google/v3/block.json (modified) (1 diff)
-
tags/1.168.0/dist/assets/blocks/reader-revenue-manager/subscribe-with-google/block.json (modified) (1 diff)
-
tags/1.168.0/dist/assets/blocks/reader-revenue-manager/subscribe-with-google/v3/block.json (modified) (1 diff)
-
tags/1.168.0/dist/assets/blocks/sign-in-with-google/block.json (modified) (1 diff)
-
tags/1.168.0/dist/assets/blocks/sign-in-with-google/v3/block.json (modified) (1 diff)
-
tags/1.168.0/dist/assets/css/googlesitekit-admin-css-4b099c3a456cf82130a8.min.css (added)
-
tags/1.168.0/dist/assets/css/googlesitekit-admin-css-b9cab0a20268cc660836.min.css (deleted)
-
tags/1.168.0/dist/assets/js/146-0b0fbc579abcbffcc013.js (deleted)
-
tags/1.168.0/dist/assets/js/146-7d8dc9f808a47b4d6783.js (added)
-
tags/1.168.0/dist/assets/js/201-1a7dff9355825e68f6a1.js (added)
-
tags/1.168.0/dist/assets/js/201-bfc0d3aab9dc3f2f6822.js (deleted)
-
tags/1.168.0/dist/assets/js/314-5de05bb0772a9b99adb1.js (deleted)
-
tags/1.168.0/dist/assets/js/314-c2550f0b774a1ec0d505.js (added)
-
tags/1.168.0/dist/assets/js/379-1574e0806e788e4d8de6.js (added)
-
tags/1.168.0/dist/assets/js/379-ab0828b6563a66528385.js (deleted)
-
tags/1.168.0/dist/assets/js/590-80964e63206115b0dff3.js (added)
-
tags/1.168.0/dist/assets/js/590-d8b228a1522eb952e6a2.js (deleted)
-
tags/1.168.0/dist/assets/js/640-0bba320cd4a5dd381e8b.js (added)
-
tags/1.168.0/dist/assets/js/640-cb6aaf742e94e522352c.js (deleted)
-
tags/1.168.0/dist/assets/js/909-1a87e0c76ffe641f6945.js (added)
-
tags/1.168.0/dist/assets/js/909-27b62c0405cff1d1b57f.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-activation-2b581b3c77c6c3601892.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-activation-9c0e5dc4cd3bf06d1dbe.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-ad-blocking-recovery-4464ef45f8c34471ee3f.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-ad-blocking-recovery-8991e209396cfe50c4db.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-adminbar-8d712dcb290a2efa6f0d.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-adminbar-b5866c66dfe0072e8d82.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-api-15cac6500fd5d984fb95.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-api-91329b444d3cda33a04f.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-block-tracking-6efb8ed8e9e4db8da249.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-block-tracking-7ce4f712ec578591af37.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-components-1288bf8a9eda8d2eaa36.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-components-75585de31a179a264558.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-data-2868d5c75a96f60bd472.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-data-bf86bea1eb3de720b526.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-datastore-forms-1174d7377bfc9977ef9a.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-datastore-forms-b995363380e48da12ee9.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-datastore-location-6671f1e766c63f15d64f.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-datastore-location-a7fd5d1461e0562c934a.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-datastore-site-84807d9cf6ef5776b730.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-datastore-site-dbb0e1e32324e64419d2.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-datastore-ui-00807cf90be5b8e4560b.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-datastore-ui-abca0d9c62793c5dec3e.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-datastore-user-4dfa5e8eb79bcebcdb1e.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-datastore-user-6afcf4831575891d4620.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-entity-dashboard-446e6cd4802f6bb746df.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-entity-dashboard-bb4371d3e16b439929e5.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-key-metrics-setup-21ea03f36f579f67e37d.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-key-metrics-setup-7155d7d87c08d0f347db.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-main-dashboard-56fe49d9c86e755db2b0.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-main-dashboard-e0be854ee45bd990b30d.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-metric-selection-cc65237da8d7c1288643.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-metric-selection-eac03cd59f5737142e49.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-ads-0b38cbe845ee5b029e86.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-ads-666c5903affd119a99b5.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-adsense-65c6ac52b8af7d8cfa34.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-adsense-e7757e9cf619f6e1adae.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-analytics-4-645f5cdcc14638370683.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-analytics-4-ebb3b6f75580255a8bba.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-dce334184f43e93590f0.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-e5e4c8b2bdfcff9c687b.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-pagespeed-insights-31bab748fa72671d2060.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-pagespeed-insights-d9bbb80dd696052efd4b.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-reader-revenue-manager-607d96f98f5402c25944.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-reader-revenue-manager-cb75459590314d1ac0e6.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-search-console-27a4f67f2b1a12d2ac83.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-search-console-cd87038978186e1420c0.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-sign-in-with-google-512cc5b35b7d913ac6ee.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-sign-in-with-google-62652ee70455d9500620.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-tagmanager-7b4fca30c7d570d2d53f.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-modules-tagmanager-b4d14f8336e2d04a117d.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-notifications-2367a0e39a4641cf0a86.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-notifications-dceca5b4abcd4a060f5d.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-polyfills-8b59b9627a8949df6deb.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-polyfills-f2726df5859ebd38706b.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-settings-3a2e2212924935e84f6f.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-settings-875ba2ad41a873b8abdf.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-splash-38ee93f3c34f77942251.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-splash-3f8ea39c312610f0b4af.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-user-input-52ccecb53d5ce5ff13d2.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-user-input-fe48f06dde410c67bc2f.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-vendor-69366dc76fe8885b5e51.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-vendor-ea32d0ade8d976a846d4.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-widgets-1de0c76dabc56b27df59.js (deleted)
-
tags/1.168.0/dist/assets/js/googlesitekit-widgets-3693b4a62dc6e488346b.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-wp-dashboard-0f9f9bff730d4af0a32f.js (added)
-
tags/1.168.0/dist/assets/js/googlesitekit-wp-dashboard-a28ad41333bd838dc673.js (deleted)
-
tags/1.168.0/dist/assets/js/runtime-4300400569c01237fc9a.js (deleted)
-
tags/1.168.0/dist/assets/js/runtime-4b2eb8d81a08b104395a.js (added)
-
tags/1.168.0/dist/manifest.php (modified) (1 diff)
-
tags/1.168.0/google-site-kit.php (modified) (2 diffs)
-
tags/1.168.0/includes/Core/Conversion_Tracking/Conversion_Event_Providers/WooCommerce.php (modified) (11 diffs)
-
tags/1.168.0/includes/Core/Email (added)
-
tags/1.168.0/includes/Core/Email/Email.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/Email_Report_Section_Builder.php (modified) (1 diff)
-
tags/1.168.0/includes/Core/Email_Reporting/Email_Reporting.php (modified) (7 diffs)
-
tags/1.168.0/includes/Core/Email_Reporting/Email_Reporting_Data_Requests.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/Email_Reporting_Scheduler.php (modified) (1 diff)
-
tags/1.168.0/includes/Core/Email_Reporting/Email_Template_Renderer.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/Fallback_Task.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/Initiator_Task.php (modified) (1 diff)
-
tags/1.168.0/includes/Core/Email_Reporting/REST_Email_Reporting_Controller.php (modified) (4 diffs)
-
tags/1.168.0/includes/Core/Email_Reporting/Sections_Map.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/Was_Analytics_4_Connected.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates/email-report (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates/email-report/mock_data.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates/email-report/parts (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates/email-report/parts/conversions-timeline.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates/email-report/parts/header.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates/email-report/parts/section-conversions-metric-part.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates/email-report/parts/section-conversions.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates/email-report/parts/section-header.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates/email-report/parts/section-metrics.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates/email-report/parts/section-page-metrics.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates/email-report/parts/view-more-in-dashboard.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates/email-report/template.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates/parts (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates/parts/change-badge.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates/parts/dashboard-link.php (added)
-
tags/1.168.0/includes/Core/Email_Reporting/templates/parts/footer.php (added)
-
tags/1.168.0/includes/Core/Modules/Modules.php (modified) (1 diff)
-
tags/1.168.0/includes/Core/Util/Uninstallation.php (modified) (1 diff)
-
tags/1.168.0/includes/Plugin.php (modified) (1 diff)
-
tags/1.168.0/includes/vendor/composer/autoload_classmap.php (modified) (3 diffs)
-
tags/1.168.0/readme.txt (modified) (2 diffs)
-
trunk/dist/assets/blocks/reader-revenue-manager/contribute-with-google/block.json (modified) (1 diff)
-
trunk/dist/assets/blocks/reader-revenue-manager/contribute-with-google/v3/block.json (modified) (1 diff)
-
trunk/dist/assets/blocks/reader-revenue-manager/subscribe-with-google/block.json (modified) (1 diff)
-
trunk/dist/assets/blocks/reader-revenue-manager/subscribe-with-google/v3/block.json (modified) (1 diff)
-
trunk/dist/assets/blocks/sign-in-with-google/block.json (modified) (1 diff)
-
trunk/dist/assets/blocks/sign-in-with-google/v3/block.json (modified) (1 diff)
-
trunk/dist/assets/css/googlesitekit-admin-css-4b099c3a456cf82130a8.min.css (added)
-
trunk/dist/assets/css/googlesitekit-admin-css-b9cab0a20268cc660836.min.css (deleted)
-
trunk/dist/assets/js/146-0b0fbc579abcbffcc013.js (deleted)
-
trunk/dist/assets/js/146-7d8dc9f808a47b4d6783.js (added)
-
trunk/dist/assets/js/201-1a7dff9355825e68f6a1.js (added)
-
trunk/dist/assets/js/201-bfc0d3aab9dc3f2f6822.js (deleted)
-
trunk/dist/assets/js/314-5de05bb0772a9b99adb1.js (deleted)
-
trunk/dist/assets/js/314-c2550f0b774a1ec0d505.js (added)
-
trunk/dist/assets/js/379-1574e0806e788e4d8de6.js (added)
-
trunk/dist/assets/js/379-ab0828b6563a66528385.js (deleted)
-
trunk/dist/assets/js/590-80964e63206115b0dff3.js (added)
-
trunk/dist/assets/js/590-d8b228a1522eb952e6a2.js (deleted)
-
trunk/dist/assets/js/640-0bba320cd4a5dd381e8b.js (added)
-
trunk/dist/assets/js/640-cb6aaf742e94e522352c.js (deleted)
-
trunk/dist/assets/js/909-1a87e0c76ffe641f6945.js (added)
-
trunk/dist/assets/js/909-27b62c0405cff1d1b57f.js (deleted)
-
trunk/dist/assets/js/googlesitekit-activation-2b581b3c77c6c3601892.js (deleted)
-
trunk/dist/assets/js/googlesitekit-activation-9c0e5dc4cd3bf06d1dbe.js (added)
-
trunk/dist/assets/js/googlesitekit-ad-blocking-recovery-4464ef45f8c34471ee3f.js (deleted)
-
trunk/dist/assets/js/googlesitekit-ad-blocking-recovery-8991e209396cfe50c4db.js (added)
-
trunk/dist/assets/js/googlesitekit-adminbar-8d712dcb290a2efa6f0d.js (deleted)
-
trunk/dist/assets/js/googlesitekit-adminbar-b5866c66dfe0072e8d82.js (added)
-
trunk/dist/assets/js/googlesitekit-api-15cac6500fd5d984fb95.js (deleted)
-
trunk/dist/assets/js/googlesitekit-api-91329b444d3cda33a04f.js (added)
-
trunk/dist/assets/js/googlesitekit-block-tracking-6efb8ed8e9e4db8da249.js (deleted)
-
trunk/dist/assets/js/googlesitekit-block-tracking-7ce4f712ec578591af37.js (added)
-
trunk/dist/assets/js/googlesitekit-components-1288bf8a9eda8d2eaa36.js (added)
-
trunk/dist/assets/js/googlesitekit-components-75585de31a179a264558.js (deleted)
-
trunk/dist/assets/js/googlesitekit-data-2868d5c75a96f60bd472.js (deleted)
-
trunk/dist/assets/js/googlesitekit-data-bf86bea1eb3de720b526.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-forms-1174d7377bfc9977ef9a.js (deleted)
-
trunk/dist/assets/js/googlesitekit-datastore-forms-b995363380e48da12ee9.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-location-6671f1e766c63f15d64f.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-location-a7fd5d1461e0562c934a.js (deleted)
-
trunk/dist/assets/js/googlesitekit-datastore-site-84807d9cf6ef5776b730.js (deleted)
-
trunk/dist/assets/js/googlesitekit-datastore-site-dbb0e1e32324e64419d2.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-ui-00807cf90be5b8e4560b.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-ui-abca0d9c62793c5dec3e.js (deleted)
-
trunk/dist/assets/js/googlesitekit-datastore-user-4dfa5e8eb79bcebcdb1e.js (added)
-
trunk/dist/assets/js/googlesitekit-datastore-user-6afcf4831575891d4620.js (deleted)
-
trunk/dist/assets/js/googlesitekit-entity-dashboard-446e6cd4802f6bb746df.js (deleted)
-
trunk/dist/assets/js/googlesitekit-entity-dashboard-bb4371d3e16b439929e5.js (added)
-
trunk/dist/assets/js/googlesitekit-key-metrics-setup-21ea03f36f579f67e37d.js (added)
-
trunk/dist/assets/js/googlesitekit-key-metrics-setup-7155d7d87c08d0f347db.js (deleted)
-
trunk/dist/assets/js/googlesitekit-main-dashboard-56fe49d9c86e755db2b0.js (added)
-
trunk/dist/assets/js/googlesitekit-main-dashboard-e0be854ee45bd990b30d.js (deleted)
-
trunk/dist/assets/js/googlesitekit-metric-selection-cc65237da8d7c1288643.js (added)
-
trunk/dist/assets/js/googlesitekit-metric-selection-eac03cd59f5737142e49.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-ads-0b38cbe845ee5b029e86.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-ads-666c5903affd119a99b5.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-adsense-65c6ac52b8af7d8cfa34.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-adsense-e7757e9cf619f6e1adae.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-analytics-4-645f5cdcc14638370683.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-analytics-4-ebb3b6f75580255a8bba.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-dce334184f43e93590f0.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-e5e4c8b2bdfcff9c687b.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-pagespeed-insights-31bab748fa72671d2060.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-pagespeed-insights-d9bbb80dd696052efd4b.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-reader-revenue-manager-607d96f98f5402c25944.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-reader-revenue-manager-cb75459590314d1ac0e6.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-search-console-27a4f67f2b1a12d2ac83.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-search-console-cd87038978186e1420c0.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-sign-in-with-google-512cc5b35b7d913ac6ee.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-sign-in-with-google-62652ee70455d9500620.js (deleted)
-
trunk/dist/assets/js/googlesitekit-modules-tagmanager-7b4fca30c7d570d2d53f.js (added)
-
trunk/dist/assets/js/googlesitekit-modules-tagmanager-b4d14f8336e2d04a117d.js (deleted)
-
trunk/dist/assets/js/googlesitekit-notifications-2367a0e39a4641cf0a86.js (deleted)
-
trunk/dist/assets/js/googlesitekit-notifications-dceca5b4abcd4a060f5d.js (added)
-
trunk/dist/assets/js/googlesitekit-polyfills-8b59b9627a8949df6deb.js (deleted)
-
trunk/dist/assets/js/googlesitekit-polyfills-f2726df5859ebd38706b.js (added)
-
trunk/dist/assets/js/googlesitekit-settings-3a2e2212924935e84f6f.js (deleted)
-
trunk/dist/assets/js/googlesitekit-settings-875ba2ad41a873b8abdf.js (added)
-
trunk/dist/assets/js/googlesitekit-splash-38ee93f3c34f77942251.js (added)
-
trunk/dist/assets/js/googlesitekit-splash-3f8ea39c312610f0b4af.js (deleted)
-
trunk/dist/assets/js/googlesitekit-user-input-52ccecb53d5ce5ff13d2.js (deleted)
-
trunk/dist/assets/js/googlesitekit-user-input-fe48f06dde410c67bc2f.js (added)
-
trunk/dist/assets/js/googlesitekit-vendor-69366dc76fe8885b5e51.js (added)
-
trunk/dist/assets/js/googlesitekit-vendor-ea32d0ade8d976a846d4.js (deleted)
-
trunk/dist/assets/js/googlesitekit-widgets-1de0c76dabc56b27df59.js (deleted)
-
trunk/dist/assets/js/googlesitekit-widgets-3693b4a62dc6e488346b.js (added)
-
trunk/dist/assets/js/googlesitekit-wp-dashboard-0f9f9bff730d4af0a32f.js (added)
-
trunk/dist/assets/js/googlesitekit-wp-dashboard-a28ad41333bd838dc673.js (deleted)
-
trunk/dist/assets/js/runtime-4300400569c01237fc9a.js (deleted)
-
trunk/dist/assets/js/runtime-4b2eb8d81a08b104395a.js (added)
-
trunk/dist/manifest.php (modified) (1 diff)
-
trunk/google-site-kit.php (modified) (2 diffs)
-
trunk/includes/Core/Conversion_Tracking/Conversion_Event_Providers/WooCommerce.php (modified) (11 diffs)
-
trunk/includes/Core/Email (added)
-
trunk/includes/Core/Email/Email.php (added)
-
trunk/includes/Core/Email_Reporting/Email_Report_Section_Builder.php (modified) (1 diff)
-
trunk/includes/Core/Email_Reporting/Email_Reporting.php (modified) (7 diffs)
-
trunk/includes/Core/Email_Reporting/Email_Reporting_Data_Requests.php (added)
-
trunk/includes/Core/Email_Reporting/Email_Reporting_Scheduler.php (modified) (1 diff)
-
trunk/includes/Core/Email_Reporting/Email_Template_Renderer.php (added)
-
trunk/includes/Core/Email_Reporting/Fallback_Task.php (added)
-
trunk/includes/Core/Email_Reporting/Initiator_Task.php (modified) (1 diff)
-
trunk/includes/Core/Email_Reporting/REST_Email_Reporting_Controller.php (modified) (4 diffs)
-
trunk/includes/Core/Email_Reporting/Sections_Map.php (added)
-
trunk/includes/Core/Email_Reporting/Was_Analytics_4_Connected.php (added)
-
trunk/includes/Core/Email_Reporting/templates (added)
-
trunk/includes/Core/Email_Reporting/templates/email-report (added)
-
trunk/includes/Core/Email_Reporting/templates/email-report/mock_data.php (added)
-
trunk/includes/Core/Email_Reporting/templates/email-report/parts (added)
-
trunk/includes/Core/Email_Reporting/templates/email-report/parts/conversions-timeline.php (added)
-
trunk/includes/Core/Email_Reporting/templates/email-report/parts/header.php (added)
-
trunk/includes/Core/Email_Reporting/templates/email-report/parts/section-conversions-metric-part.php (added)
-
trunk/includes/Core/Email_Reporting/templates/email-report/parts/section-conversions.php (added)
-
trunk/includes/Core/Email_Reporting/templates/email-report/parts/section-header.php (added)
-
trunk/includes/Core/Email_Reporting/templates/email-report/parts/section-metrics.php (added)
-
trunk/includes/Core/Email_Reporting/templates/email-report/parts/section-page-metrics.php (added)
-
trunk/includes/Core/Email_Reporting/templates/email-report/parts/view-more-in-dashboard.php (added)
-
trunk/includes/Core/Email_Reporting/templates/email-report/template.php (added)
-
trunk/includes/Core/Email_Reporting/templates/parts (added)
-
trunk/includes/Core/Email_Reporting/templates/parts/change-badge.php (added)
-
trunk/includes/Core/Email_Reporting/templates/parts/dashboard-link.php (added)
-
trunk/includes/Core/Email_Reporting/templates/parts/footer.php (added)
-
trunk/includes/Core/Modules/Modules.php (modified) (1 diff)
-
trunk/includes/Core/Util/Uninstallation.php (modified) (1 diff)
-
trunk/includes/Plugin.php (modified) (1 diff)
-
trunk/includes/vendor/composer/autoload_classmap.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
google-site-kit/tags/1.168.0/dist/assets/blocks/reader-revenue-manager/contribute-with-google/block.json
r3407206 r3420533 3 3 "apiVersion": 2, 4 4 "name": "google-site-kit/rrm-contribute-with-google", 5 "version": "1.16 7.0",5 "version": "1.168.0", 6 6 "title": "Contribute with Google", 7 7 "category": "widgets", -
google-site-kit/tags/1.168.0/dist/assets/blocks/reader-revenue-manager/contribute-with-google/v3/block.json
r3397601 r3420533 3 3 "apiVersion": 3, 4 4 "name": "google-site-kit/rrm-contribute-with-google", 5 "version": "1.16 4.0",5 "version": "1.168.0", 6 6 "title": "Contribute with Google", 7 7 "category": "widgets", -
google-site-kit/tags/1.168.0/dist/assets/blocks/reader-revenue-manager/subscribe-with-google/block.json
r3407206 r3420533 3 3 "apiVersion": 2, 4 4 "name": "google-site-kit/rrm-subscribe-with-google", 5 "version": "1.16 7.0",5 "version": "1.168.0", 6 6 "title": "Subscribe with Google", 7 7 "category": "widgets", -
google-site-kit/tags/1.168.0/dist/assets/blocks/reader-revenue-manager/subscribe-with-google/v3/block.json
r3397601 r3420533 3 3 "apiVersion": 3, 4 4 "name": "google-site-kit/rrm-subscribe-with-google", 5 "version": "1.16 4.0",5 "version": "1.168.0", 6 6 "title": "Subscribe with Google", 7 7 "category": "widgets", -
google-site-kit/tags/1.168.0/dist/assets/blocks/sign-in-with-google/block.json
r3407206 r3420533 3 3 "apiVersion": 2, 4 4 "name": "google-site-kit/sign-in-with-google", 5 "version": "1.16 7.0",5 "version": "1.168.0", 6 6 "title": "Sign in with Google", 7 7 "category": "widgets", -
google-site-kit/tags/1.168.0/dist/assets/blocks/sign-in-with-google/v3/block.json
r3397601 r3420533 3 3 "apiVersion": 3, 4 4 "name": "google-site-kit/sign-in-with-google", 5 "version": "1.16 4.0",5 "version": "1.168.0", 6 6 "title": "Sign in with Google", 7 7 "category": "widgets", -
google-site-kit/tags/1.168.0/dist/manifest.php
r3407206 r3420533 28 28 'sign-in-with-google/index' => array( "sign-in-with-google/index.js", null ), 29 29 'sign-in-with-google/editor-styles' => array( "sign-in-with-google/editor-styles.js", null ), 30 'googlesitekit-admin-css' => array( "googlesitekit-admin-css- b9cab0a20268cc660836.min.css", null ),30 'googlesitekit-admin-css' => array( "googlesitekit-admin-css-4b099c3a456cf82130a8.min.css", null ), 31 31 'googlesitekit-adminbar-css' => array( "googlesitekit-adminbar-css-d193e67e2cbecf306061.min.css", null ), 32 32 'googlesitekit-wp-dashboard-css' => array( "googlesitekit-wp-dashboard-css-c4ef81393773b78c53aa.min.css", null ), 33 33 'googlesitekit-authorize-application-css' => array( "googlesitekit-authorize-application-css-5b98b536e7f34c6411c1.min.css", null ), 34 'googlesitekit-api' => array( "googlesitekit-api- 15cac6500fd5d984fb95.js", null ),35 'googlesitekit-data' => array( "googlesitekit-data- 2868d5c75a96f60bd472.js", null ),36 'googlesitekit-datastore-site' => array( "googlesitekit-datastore-site- 84807d9cf6ef5776b730.js", null ),37 'googlesitekit-datastore-user' => array( "googlesitekit-datastore-user- 6afcf4831575891d4620.js", null ),38 'googlesitekit-datastore-forms' => array( "googlesitekit-datastore-forms- 1174d7377bfc9977ef9a.js", null ),39 'googlesitekit-datastore-location' => array( "googlesitekit-datastore-location- a7fd5d1461e0562c934a.js", null ),40 'googlesitekit-datastore-ui' => array( "googlesitekit-datastore-ui- abca0d9c62793c5dec3e.js", null ),41 'googlesitekit-modules' => array( "googlesitekit-modules- dce334184f43e93590f0.js", null ),42 'googlesitekit-notifications' => array( "googlesitekit-notifications- 2367a0e39a4641cf0a86.js", null ),43 'googlesitekit-widgets' => array( "googlesitekit-widgets- 1de0c76dabc56b27df59.js", null ),44 'googlesitekit-modules-ads' => array( "googlesitekit-modules-ads- 666c5903affd119a99b5.js", null ),45 'googlesitekit-modules-adsense' => array( "googlesitekit-modules-adsense- e7757e9cf619f6e1adae.js", null ),46 'googlesitekit-modules-analytics-4' => array( "googlesitekit-modules-analytics-4- ebb3b6f75580255a8bba.js", null ),47 'googlesitekit-modules-pagespeed-insights' => array( "googlesitekit-modules-pagespeed-insights- 31bab748fa72671d2060.js", null ),48 'googlesitekit-modules-reader-revenue-manager' => array( "googlesitekit-modules-reader-revenue-manager- 607d96f98f5402c25944.js", null ),49 'googlesitekit-modules-search-console' => array( "googlesitekit-modules-search-console- 27a4f67f2b1a12d2ac83.js", null ),50 'googlesitekit-modules-sign-in-with-google' => array( "googlesitekit-modules-sign-in-with-google- 62652ee70455d9500620.js", null ),51 'googlesitekit-modules-tagmanager' => array( "googlesitekit-modules-tagmanager- b4d14f8336e2d04a117d.js", null ),52 'googlesitekit-user-input' => array( "googlesitekit-user-input- 52ccecb53d5ce5ff13d2.js", null ),53 'googlesitekit-ad-blocking-recovery' => array( "googlesitekit-ad-blocking-recovery- 4464ef45f8c34471ee3f.js", null ),54 'googlesitekit-block-tracking' => array( "googlesitekit-block-tracking- 6efb8ed8e9e4db8da249.js", null ),55 'googlesitekit-polyfills' => array( "googlesitekit-polyfills- 8b59b9627a8949df6deb.js", null ),56 'googlesitekit-components' => array( "googlesitekit-components- 75585de31a179a264558.js", null ),57 'googlesitekit-metric-selection' => array( "googlesitekit-metric-selection- eac03cd59f5737142e49.js", null ),58 'googlesitekit-key-metrics-setup' => array( "googlesitekit-key-metrics-setup- 7155d7d87c08d0f347db.js", null ),59 'googlesitekit-activation' => array( "googlesitekit-activation- 2b581b3c77c6c3601892.js", null ),60 'googlesitekit-adminbar' => array( "googlesitekit-adminbar- 8d712dcb290a2efa6f0d.js", null ),61 'googlesitekit-settings' => array( "googlesitekit-settings- 3a2e2212924935e84f6f.js", null ),62 'googlesitekit-main-dashboard' => array( "googlesitekit-main-dashboard- e0be854ee45bd990b30d.js", null ),63 'googlesitekit-entity-dashboard' => array( "googlesitekit-entity-dashboard- 446e6cd4802f6bb746df.js", null ),64 'googlesitekit-splash' => array( "googlesitekit-splash-3 f8ea39c312610f0b4af.js", null ),65 'googlesitekit-wp-dashboard' => array( "googlesitekit-wp-dashboard- a28ad41333bd838dc673.js", null ),66 'googlesitekit-runtime' => array( "runtime-4 300400569c01237fc9a.js", null ),67 'googlesitekit-vendor' => array( "googlesitekit-vendor- ea32d0ade8d976a846d4.js", null ),34 'googlesitekit-api' => array( "googlesitekit-api-91329b444d3cda33a04f.js", null ), 35 'googlesitekit-data' => array( "googlesitekit-data-bf86bea1eb3de720b526.js", null ), 36 'googlesitekit-datastore-site' => array( "googlesitekit-datastore-site-dbb0e1e32324e64419d2.js", null ), 37 'googlesitekit-datastore-user' => array( "googlesitekit-datastore-user-4dfa5e8eb79bcebcdb1e.js", null ), 38 'googlesitekit-datastore-forms' => array( "googlesitekit-datastore-forms-b995363380e48da12ee9.js", null ), 39 'googlesitekit-datastore-location' => array( "googlesitekit-datastore-location-6671f1e766c63f15d64f.js", null ), 40 'googlesitekit-datastore-ui' => array( "googlesitekit-datastore-ui-00807cf90be5b8e4560b.js", null ), 41 'googlesitekit-modules' => array( "googlesitekit-modules-e5e4c8b2bdfcff9c687b.js", null ), 42 'googlesitekit-notifications' => array( "googlesitekit-notifications-dceca5b4abcd4a060f5d.js", null ), 43 'googlesitekit-widgets' => array( "googlesitekit-widgets-3693b4a62dc6e488346b.js", null ), 44 'googlesitekit-modules-ads' => array( "googlesitekit-modules-ads-0b38cbe845ee5b029e86.js", null ), 45 'googlesitekit-modules-adsense' => array( "googlesitekit-modules-adsense-65c6ac52b8af7d8cfa34.js", null ), 46 'googlesitekit-modules-analytics-4' => array( "googlesitekit-modules-analytics-4-645f5cdcc14638370683.js", null ), 47 'googlesitekit-modules-pagespeed-insights' => array( "googlesitekit-modules-pagespeed-insights-d9bbb80dd696052efd4b.js", null ), 48 'googlesitekit-modules-reader-revenue-manager' => array( "googlesitekit-modules-reader-revenue-manager-cb75459590314d1ac0e6.js", null ), 49 'googlesitekit-modules-search-console' => array( "googlesitekit-modules-search-console-cd87038978186e1420c0.js", null ), 50 'googlesitekit-modules-sign-in-with-google' => array( "googlesitekit-modules-sign-in-with-google-512cc5b35b7d913ac6ee.js", null ), 51 'googlesitekit-modules-tagmanager' => array( "googlesitekit-modules-tagmanager-7b4fca30c7d570d2d53f.js", null ), 52 'googlesitekit-user-input' => array( "googlesitekit-user-input-fe48f06dde410c67bc2f.js", null ), 53 'googlesitekit-ad-blocking-recovery' => array( "googlesitekit-ad-blocking-recovery-8991e209396cfe50c4db.js", null ), 54 'googlesitekit-block-tracking' => array( "googlesitekit-block-tracking-7ce4f712ec578591af37.js", null ), 55 'googlesitekit-polyfills' => array( "googlesitekit-polyfills-f2726df5859ebd38706b.js", null ), 56 'googlesitekit-components' => array( "googlesitekit-components-1288bf8a9eda8d2eaa36.js", null ), 57 'googlesitekit-metric-selection' => array( "googlesitekit-metric-selection-cc65237da8d7c1288643.js", null ), 58 'googlesitekit-key-metrics-setup' => array( "googlesitekit-key-metrics-setup-21ea03f36f579f67e37d.js", null ), 59 'googlesitekit-activation' => array( "googlesitekit-activation-9c0e5dc4cd3bf06d1dbe.js", null ), 60 'googlesitekit-adminbar' => array( "googlesitekit-adminbar-b5866c66dfe0072e8d82.js", null ), 61 'googlesitekit-settings' => array( "googlesitekit-settings-875ba2ad41a873b8abdf.js", null ), 62 'googlesitekit-main-dashboard' => array( "googlesitekit-main-dashboard-56fe49d9c86e755db2b0.js", null ), 63 'googlesitekit-entity-dashboard' => array( "googlesitekit-entity-dashboard-bb4371d3e16b439929e5.js", null ), 64 'googlesitekit-splash' => array( "googlesitekit-splash-38ee93f3c34f77942251.js", null ), 65 'googlesitekit-wp-dashboard' => array( "googlesitekit-wp-dashboard-0f9f9bff730d4af0a32f.js", null ), 66 'googlesitekit-runtime' => array( "runtime-4b2eb8d81a08b104395a.js", null ), 67 'googlesitekit-vendor' => array( "googlesitekit-vendor-69366dc76fe8885b5e51.js", null ), 68 68 ); -
google-site-kit/tags/1.168.0/google-site-kit.php
r3407206 r3420533 12 12 * Plugin URI: https://sitekit.withgoogle.com 13 13 * Description: Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web. 14 * Version: 1.16 7.014 * Version: 1.168.0 15 15 * Requires at least: 5.2 16 16 * Requires PHP: 7.4 … … 27 27 28 28 // Define most essential constants. 29 define( 'GOOGLESITEKIT_VERSION', '1.16 7.0' );29 define( 'GOOGLESITEKIT_VERSION', '1.168.0' ); 30 30 define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ ); 31 31 define( 'GOOGLESITEKIT_PHP_MINIMUM', '7.4.0' ); -
google-site-kit/tags/1.168.0/includes/Core/Conversion_Tracking/Conversion_Event_Providers/WooCommerce.php
r3407206 r3420533 15 15 use Google\Site_Kit\Core\Util\Feature_Flags; 16 16 use Google\Site_Kit\Core\Tags\Enhanced_Conversions\Enhanced_Conversions; 17 use WC_Countries; 18 use WC_Order; 19 use WC_Order_Item_Product; 20 use WC_Product; 17 21 18 22 /** … … 28 32 29 33 /** 30 * Avai alble products on the page.31 * 32 * @var Array34 * Available products on the page. 35 * 36 * @var array 33 37 * 34 38 * @since 1.153.0 … … 92 96 } 93 97 94 $settings = get_option( 'woocommerce_google_analytics_settings' ); 95 $event_names = array(); 96 97 // If only product identifier is availabe in the saved settings, it means default options are used. 98 $settings = get_option( 'woocommerce_google_analytics_settings' ); 99 100 // If only product identifier is available in the saved settings, it means default options are used. 98 101 // And by default all events are tracked. 99 102 if ( isset( $settings['ga_product_identifier'] ) && count( $settings ) === 1 ) { … … 194 197 'woocommerce_loop_add_to_cart_link', 195 198 function ( $button, $product ) { 199 // If the product is not a valid WC_Product instance, return 200 // early. 201 if ( ! $product instanceof WC_Product ) { 202 return $button; 203 } 204 196 205 $this->products[] = $this->get_formatted_product( $product ); 197 206 … … 205 214 'woocommerce_add_to_cart', 206 215 function ( $cart_item_key, $product_id, $quantity, $variation_id, $variation ) { 216 $product = wc_get_product( $product_id ); 217 218 if ( ! $product instanceof WC_Product ) { 219 return; 220 } 221 207 222 $this->add_to_cart = $this->get_formatted_product( 208 wc_get_product( $product_id ),223 $product, 209 224 $variation_id, 210 225 $variation, … … 266 281 * @return array 267 282 */ 268 p ublic function get_formatted_product($product, $variation_id = 0, $variation = false, $quantity = false ) {283 protected function get_formatted_product( WC_Product $product, $variation_id = 0, $variation = false, $quantity = false ) { 269 284 $product_id = $product->is_type( 'variation' ) ? $product->get_parent_id() : $product->get_id(); 270 285 $price = $product->get_price(); … … 329 344 * @since 1.153.0 330 345 * 331 * @param WC_ Abstract_Order $order An instance of the WooCommerce Order object.346 * @param WC_Order $order An instance of the WooCommerce Order object. 332 347 * 333 348 * @return array … … 345 360 'items' => array_map( 346 361 function ( $item ) { 362 // If the product is not a valid WC_Product instance, return early. 363 if ( 364 ! $item instanceof WC_Order_Item_Product 365 || ! $item->get_product() instanceof WC_Product 366 ) { 367 return $item; 368 } 369 370 $formatted_product = $this->get_formatted_product( $item->get_product() ); 371 347 372 return array_merge( 348 $ this->get_formatted_product( $item->get_product() ),373 $formatted_product, 349 374 array( 350 375 'quantity' => $item->get_quantity(), … … 357 382 ); 358 383 359 if ( Feature_Flags::enabled( 'gtagUserData' ) ) {384 if ( Feature_Flags::enabled( 'gtagUserData' ) && $order instanceof WC_Order ) { 360 385 $user_data = $this->extract_user_data_from_order( $order ); 361 386 if ( ! empty( $user_data ) ) { … … 372 397 * @since 1.161.0 373 398 * 374 * @param WC_ Abstract_Order $order An instance of the WooCommerce Order object.399 * @param WC_Order $order An instance of the WooCommerce Order object. 375 400 * 376 401 * @return array Normalized user data or empty array if no supported fields are available. 377 402 */ 378 protected function extract_user_data_from_order( $order ) {403 protected function extract_user_data_from_order( WC_Order $order ) { 379 404 $user_data = array(); 380 405 … … 469 494 // Try to use WooCommerce's country calling codes for proper E.164 formatting. 470 495 if ( class_exists( 'WC_Countries' ) && ! empty( $country ) ) { 471 $countries = new \WC_Countries();496 $countries = new WC_Countries(); 472 497 $calling_code = $countries->get_country_calling_code( $country ); 473 498 -
google-site-kit/tags/1.168.0/includes/Core/Email_Reporting/Email_Report_Section_Builder.php
r3407206 r3420533 191 191 return array( $labels, $values, $trends ); 192 192 } 193 194 193 195 194 /** -
google-site-kit/tags/1.168.0/includes/Core/Email_Reporting/Email_Reporting.php
r3407206 r3420533 12 12 13 13 use Google\Site_Kit\Context; 14 use Google\Site_Kit\Core\Authentication\Authentication; 14 15 use Google\Site_Kit\Core\Modules\Modules; 15 16 use Google\Site_Kit\Core\Storage\Options; 16 17 use Google\Site_Kit\Core\Storage\User_Options; 17 18 use Google\Site_Kit\Core\User\Email_Reporting_Settings as User_Email_Reporting_Settings; 19 use Google\Site_Kit\Modules\Analytics_4; 18 20 19 21 /** … … 51 53 52 54 /** 55 * Authentication instance. 56 * 57 * @since 1.168.0 58 * @var Authentication 59 */ 60 protected $authentication; 61 62 /** 53 63 * Email_Reporting_Settings instance. 54 64 * … … 75 85 76 86 /** 87 * Was_Analytics_4_Connected instance. 88 * 89 * @since 1.168.0 90 * @var Was_Analytics_4_Connected 91 */ 92 protected $was_analytics_4_connected; 93 94 /** 77 95 * REST_Email_Reporting_Controller instance. 78 96 * … … 131 149 132 150 /** 151 * Fallback task instance. 152 * 153 * @since 1.168.0 154 * @var Fallback_Task 155 */ 156 protected $fallback_task; 157 158 /** 159 * Email reporting data requests instance. 160 * 161 * @since 1.168.0 162 * @var Email_Reporting_Data_Requests 163 */ 164 protected $data_requests; 165 166 /** 133 167 * Constructor. 134 168 * 135 169 * @since 1.162.0 136 * 137 * @param Context $context Plugin context. 138 * @param Modules $modules Modules instance. 139 * @param Options|null $options Optional. Options instance. Default is a new instance. 140 * @param User_Options|null $user_options Optional. User options instance. Default is a new instance. 170 * @since 1.168.0 Added authentication dependency. 171 * 172 * @param Context $context Plugin context. 173 * @param Modules $modules Modules instance. 174 * @param Email_Reporting_Data_Requests $data_requests Email reporting data requests. 175 * @param Authentication $authentication Authentication instance. 176 * @param Options|null $options Optional. Options instance. Default is a new instance. 177 * @param User_Options|null $user_options Optional. User options instance. Default is a new instance. 141 178 */ 142 179 public function __construct( 143 180 Context $context, 144 181 Modules $modules, 182 Email_Reporting_Data_Requests $data_requests, 183 Authentication $authentication, 145 184 ?Options $options = null, 146 185 ?User_Options $user_options = null 147 186 ) { 148 $this->context = $context; 149 $this->modules = $modules; 150 $this->options = $options ?: new Options( $this->context ); 151 $this->user_options = $user_options ?: new User_Options( $this->context ); 152 $this->settings = new Email_Reporting_Settings( $this->options ); 153 $this->user_settings = new User_Email_Reporting_Settings( $this->user_options ); 187 $this->context = $context; 188 $this->modules = $modules; 189 $this->data_requests = $data_requests; 190 $this->authentication = $authentication; 191 $this->options = $options ?: new Options( $this->context ); 192 $this->user_options = $user_options ?: new User_Options( $this->context ); 193 $this->settings = new Email_Reporting_Settings( $this->options ); 194 $this->user_settings = new User_Email_Reporting_Settings( $this->user_options ); 195 $this->was_analytics_4_connected = new Was_Analytics_4_Connected( $this->options ); 154 196 155 197 $frequency_planner = new Frequency_Planner(); … … 158 200 $batch_query = new Email_Log_Batch_Query(); 159 201 160 $this->rest_controller = new REST_Email_Reporting_Controller( $this->settings );202 $this->rest_controller = new REST_Email_Reporting_Controller( $this->settings, $this->was_analytics_4_connected ); 161 203 $this->email_log = new Email_Log( $this->context ); 162 204 $this->scheduler = new Email_Reporting_Scheduler( $frequency_planner ); 163 205 $this->initiator_task = new Initiator_Task( $this->scheduler, $subscribed_users_query ); 164 206 $this->worker_task = new Worker_Task( $max_execution_limiter, $batch_query, $this->scheduler ); 207 $this->fallback_task = new Fallback_Task( $batch_query, $this->scheduler, $this->worker_task ); 165 208 $this->monitor_task = new Monitor_Task( $this->scheduler, $this->settings ); 166 209 $this->email_log_cleanup = new Email_Log_Cleanup( $this->settings ); … … 181 224 $this->scheduler->register(); 182 225 183 if ( $this->settings->is_email_reporting_enabled() ) { 226 add_action( 227 'googlesitekit_deactivate_module', 228 function ( $slug ) { 229 if ( Analytics_4::MODULE_SLUG === $slug ) { 230 $this->was_analytics_4_connected->set( true ); 231 } 232 } 233 ); 234 235 // Schedule events only if authentication is completed and email reporting is enabled. 236 // Otherwise events are being scheduled as soon as the plugin is activated. 237 if ( $this->authentication->is_setup_completed() && $this->settings->is_email_reporting_enabled() ) { 184 238 $this->scheduler->schedule_initiator_events(); 185 239 $this->scheduler->schedule_monitor(); … … 189 243 add_action( Email_Reporting_Scheduler::ACTION_MONITOR, array( $this->monitor_task, 'handle_monitor_action' ) ); 190 244 add_action( Email_Reporting_Scheduler::ACTION_WORKER, array( $this->worker_task, 'handle_callback_action' ), 10, 3 ); 245 add_action( Email_Reporting_Scheduler::ACTION_FALLBACK, array( $this->fallback_task, 'handle_fallback_action' ), 10, 3 ); 191 246 add_action( Email_Reporting_Scheduler::ACTION_CLEANUP, array( $this->email_log_cleanup, 'handle_cleanup_action' ) ); 192 247 -
google-site-kit/tags/1.168.0/includes/Core/Email_Reporting/Email_Reporting_Scheduler.php
r3407206 r3420533 118 118 119 119 /** 120 * Schedules a fallback event for the given frequencyif one is not already queued.120 * Schedules a fallback event for the given batch if one is not already queued. 121 121 * 122 122 * @since 1.167.0 123 123 * 124 * @param string $batch_id Batch identifier. 124 125 * @param string $frequency Frequency slug. 125 126 * @param int $timestamp Base timestamp for the batch. 126 127 * @param int $delay Delay in seconds before fallback runs. 127 128 */ 128 public function schedule_fallback( $frequency, $timestamp, $delay = HOUR_IN_SECONDS ) { 129 if ( wp_next_scheduled( self::ACTION_FALLBACK, array( $frequency ) ) ) { 129 public function schedule_fallback( $batch_id, $frequency, $timestamp, $delay = HOUR_IN_SECONDS ) { 130 $args = array( $batch_id, $frequency, $timestamp ); 131 132 if ( wp_next_scheduled( self::ACTION_FALLBACK, $args ) ) { 130 133 return; 131 134 } 132 135 133 wp_schedule_single_event( $timestamp + $delay, self::ACTION_FALLBACK, array( $frequency ));136 wp_schedule_single_event( $timestamp + $delay, self::ACTION_FALLBACK, $args ); 134 137 } 135 138 -
google-site-kit/tags/1.168.0/includes/Core/Email_Reporting/Initiator_Task.php
r3407206 r3420533 86 86 87 87 $this->scheduler->schedule_worker( $batch_id, $frequency, $timestamp ); 88 $this->scheduler->schedule_fallback( $ frequency, $timestamp );88 $this->scheduler->schedule_fallback( $batch_id, $frequency, $timestamp ); 89 89 } 90 90 -
google-site-kit/tags/1.168.0/includes/Core/Email_Reporting/REST_Email_Reporting_Controller.php
r3389193 r3420533 14 14 use Google\Site_Kit\Core\REST_API\REST_Route; 15 15 use Google\Site_Kit\Core\REST_API\REST_Routes; 16 use Google\Site_Kit\Core\Storage\Options; 16 17 use WP_REST_Request; 17 18 use WP_REST_Response; … … 36 37 37 38 /** 39 * Was_Analytics_4_Connected instance. 40 * 41 * @since 1.168.0 42 * @var Was_Analytics_4_Connected 43 */ 44 private $was_analytics_4_connected; 45 46 /** 38 47 * Constructor. 39 48 * 40 49 * @since 1.162.0 41 50 * 42 * @param Email_Reporting_Settings $settings Email_Reporting_Settings instance. 51 * @param Email_Reporting_Settings $settings Email_Reporting_Settings instance. 52 * @param Was_Analytics_4_Connected $was_analytics_4_connected Was_Analytics_4_Connected instance. 43 53 */ 44 public function __construct( Email_Reporting_Settings $settings ) { 45 $this->settings = $settings; 54 public function __construct( Email_Reporting_Settings $settings, Was_Analytics_4_Connected $was_analytics_4_connected ) { 55 $this->settings = $settings; 56 $this->was_analytics_4_connected = $was_analytics_4_connected; 46 57 } 47 58 … … 66 77 array( 67 78 '/' . REST_Routes::REST_ROOT . '/core/site/data/email-reporting', 79 '/' . REST_Routes::REST_ROOT . '/core/site/data/was-analytics-4-connected', 68 80 ) 69 81 ); … … 126 138 ) 127 139 ), 140 new REST_Route( 141 'core/site/data/was-analytics-4-connected', 142 array( 143 array( 144 'methods' => WP_REST_Server::READABLE, 145 'callback' => function () { 146 return new WP_REST_Response( array( 'wasConnected' => $this->was_analytics_4_connected->get() ) ); 147 }, 148 'permission_callback' => $can_access, 149 ), 150 ) 151 ), 128 152 ); 129 153 } -
google-site-kit/tags/1.168.0/includes/Core/Modules/Modules.php
r3373932 r3420533 723 723 $this->sharing_settings->unset_module( $slug ); 724 724 725 /** 726 * Fires when a module is deactivated. 727 * 728 * @since 1.168.0 729 * 730 * @param string $slug The slug of the deactivated module. 731 */ 732 do_action( 'googlesitekit_deactivate_module', $slug ); 733 725 734 return true; 726 735 } -
google-site-kit/tags/1.168.0/includes/Core/Util/Uninstallation.php
r3407206 r3420533 144 144 // Only clear scheduled events that are set, important in E2E 145 145 // testing. 146 if ( (bool) wp_next_scheduled( $event ) ) {146 if ( $this->is_event_scheduled( $event ) ) { 147 147 wp_unschedule_hook( $event ); 148 148 } 149 149 } 150 150 } 151 152 /** 153 * Determines if an event is scheduled for the given hook, regardless of arguments. 154 * 155 * @since 1.168.0 156 * 157 * @param string $hook The hook name. 158 * @return bool True if an event is scheduled for the hook, false otherwise. 159 */ 160 private function is_event_scheduled( $hook ) { 161 $crons = _get_cron_array(); 162 163 if ( ! is_array( $crons ) || empty( $crons ) ) { 164 return false; 165 } 166 167 foreach ( $crons as $events ) { 168 if ( isset( $events[ $hook ] ) ) { 169 return true; 170 } 171 } 172 173 return false; 174 } 151 175 } -
google-site-kit/tags/1.168.0/includes/Plugin.php
r3407206 r3420533 228 228 ( new Core\Consent_Mode\Consent_Mode( $this->context, $modules, $options ) )->register(); 229 229 ( new Core\Tags\GTag( $options ) )->register(); 230 ( new Core\Conversion_Tracking\Conversion_Tracking( $this->context, $options ) )->register(); 230 231 $conversion_tracking = new Core\Conversion_Tracking\Conversion_Tracking( $this->context, $options ); 232 $conversion_tracking->register(); 233 231 234 if ( Feature_Flags::enabled( 'proactiveUserEngagement' ) ) { 232 ( new Core\Email_Reporting\Email_Reporting( $this->context, $modules, $options, $user_options ) )->register(); 233 } 235 $data_requests = new Core\Email_Reporting\Email_Reporting_Data_Requests( 236 $this->context, 237 $modules, 238 $conversion_tracking, 239 $transients, 240 $user_options, 241 ); 242 243 ( new Core\Email_Reporting\Email_Reporting( $this->context, $modules, $data_requests, $authentication, $options, $user_options ) )->register(); 244 } 245 234 246 if ( Feature_Flags::enabled( 'googleTagGateway' ) ) { 235 247 ( new Core\Tags\Google_Tag_Gateway\Google_Tag_Gateway( $this->context, $options ) )->register(); -
google-site-kit/tags/1.168.0/includes/vendor/composer/autoload_classmap.php
r3407206 r3420533 84 84 'Google\\Site_Kit\\Core\\Dismissals\\Dismissed_Items' => $baseDir . '/Core/Dismissals/Dismissed_Items.php', 85 85 'Google\\Site_Kit\\Core\\Dismissals\\REST_Dismissals_Controller' => $baseDir . '/Core/Dismissals/REST_Dismissals_Controller.php', 86 'Google\\Site_Kit\\Core\\Email\\Email' => $baseDir . '/Core/Email/Email.php', 86 87 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Log' => $baseDir . '/Core/Email_Reporting/Email_Log.php', 87 88 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Log_Batch_Query' => $baseDir . '/Core/Email_Reporting/Email_Log_Batch_Query.php', … … 91 92 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Report_Section_Builder' => $baseDir . '/Core/Email_Reporting/Email_Report_Section_Builder.php', 92 93 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting' => $baseDir . '/Core/Email_Reporting/Email_Reporting.php', 94 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Data_Requests' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Data_Requests.php', 93 95 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Pointer' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Pointer.php', 94 96 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Scheduler' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Scheduler.php', 95 97 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Settings' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Settings.php', 96 98 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Site_Health' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Site_Health.php', 99 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Template_Renderer' => $baseDir . '/Core/Email_Reporting/Email_Template_Renderer.php', 100 'Google\\Site_Kit\\Core\\Email_Reporting\\Fallback_Task' => $baseDir . '/Core/Email_Reporting/Fallback_Task.php', 97 101 'Google\\Site_Kit\\Core\\Email_Reporting\\Frequency_Planner' => $baseDir . '/Core/Email_Reporting/Frequency_Planner.php', 98 102 'Google\\Site_Kit\\Core\\Email_Reporting\\Initiator_Task' => $baseDir . '/Core/Email_Reporting/Initiator_Task.php', … … 101 105 'Google\\Site_Kit\\Core\\Email_Reporting\\REST_Email_Reporting_Controller' => $baseDir . '/Core/Email_Reporting/REST_Email_Reporting_Controller.php', 102 106 'Google\\Site_Kit\\Core\\Email_Reporting\\Report_Options\\Report_Options' => $baseDir . '/Core/Email_Reporting/Report_Options/Report_Options.php', 107 'Google\\Site_Kit\\Core\\Email_Reporting\\Sections_Map' => $baseDir . '/Core/Email_Reporting/Sections_Map.php', 103 108 'Google\\Site_Kit\\Core\\Email_Reporting\\Subscribed_Users_Query' => $baseDir . '/Core/Email_Reporting/Subscribed_Users_Query.php', 109 'Google\\Site_Kit\\Core\\Email_Reporting\\Was_Analytics_4_Connected' => $baseDir . '/Core/Email_Reporting/Was_Analytics_4_Connected.php', 104 110 'Google\\Site_Kit\\Core\\Email_Reporting\\Worker_Task' => $baseDir . '/Core/Email_Reporting/Worker_Task.php', 105 111 'Google\\Site_Kit\\Core\\Expirables\\Expirable_Items' => $baseDir . '/Core/Expirables/Expirable_Items.php', -
google-site-kit/tags/1.168.0/readme.txt
r3407206 r3420533 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 1.16 7.07 Stable tag: 1.168.0 8 8 License: Apache License 2.0 9 9 License URI: https://www.apache.org/licenses/LICENSE-2.0 … … 110 110 == Changelog == 111 111 112 = 1.16 7.0 =112 = 1.168.0 = 113 113 114 114 **Enhanced** 115 115 116 * Update casing of web data stream labels for consistency. See [#11763](https://github.com/google/site-kit-wp/issues/11763). 117 * Add missing external icon to "Learn more" links in enhanced conversions notifications. See [#11744](https://github.com/google/site-kit-wp/issues/11744). 118 * Update Enhanced Conversions dashboard notification priority to use `SETUP_CTA_HIGH` for consistency. See [#11741](https://github.com/google/site-kit-wp/issues/11741). 119 * Add opt-in GA tracking as part of the new setup flow in the splash, Analytics, and Key Metrics setup screens. See [#11721](https://github.com/google/site-kit-wp/issues/11721). 120 * Pass `show_progress` as a query parameter to the redirect URI rather than as a separate property when creating an Analytics account in the new setup flow. See [#11715](https://github.com/google/site-kit-wp/issues/11715). 121 * Create email reporting data and section classes. See [#11680](https://github.com/google/site-kit-wp/issues/11680). 122 * Include the current AMP mode in the request to get enabled features. See [#11643](https://github.com/google/site-kit-wp/issues/11643). 123 * Implement monitor scheduler for Email Reporting events. See [#11599](https://github.com/google/site-kit-wp/issues/11599). 124 * Implement email reporting log clear schedulers. See [#11582](https://github.com/google/site-kit-wp/issues/11582). 125 * AdSense alert links now open in a new tab. See [#11578](https://github.com/google/site-kit-wp/issues/11578). 126 * Add report options builder classes for Analytics, AdSense, and SC modules. See [#11552](https://github.com/google/site-kit-wp/issues/11552). 127 * Implement “Worker” scheduled events for Email Reporting. See [#11547](https://github.com/google/site-kit-wp/issues/11547). 128 * Add infrastructure for scheduled events at various intervals. See [#11546](https://github.com/google/site-kit-wp/issues/11546). 129 * Extend the Reset utility class to delete remaining error reporting logs. See [#11545](https://github.com/google/site-kit-wp/issues/11545). 130 * Improve the help link destination in the authentication error screen. See [#11529](https://github.com/google/site-kit-wp/issues/11529). 131 * Ensure the user is returned to the Analytics or Key Metrics setup screen if the new setup flow is interrupted on one of those screens. See [#11388](https://github.com/google/site-kit-wp/issues/11388). 132 * Improve error reporting in Site Kit widgets to not report duplicate errors. See [#8970](https://github.com/google/site-kit-wp/issues/8970). 133 * Improve legend color consistency in the Analytics all traffic widget. See [#7199](https://github.com/google/site-kit-wp/issues/7199). 116 * Add the welcome modal as part of the setup flow refresh. See [#11808](https://github.com/google/site-kit-wp/issues/11808). 117 * Update the uninstall script to unregister all email reporting events when the plugin is unininstalled. See [#11805](https://github.com/google/site-kit-wp/issues/11805). 118 * Add opt-in internal tracking for the new key metrics setup screen. See [#11723](https://github.com/google/site-kit-wp/issues/11723). 119 * Add GA event tracking for user interaction with the Analytics setup screen in the new setup flow. See [#11722](https://github.com/google/site-kit-wp/issues/11722). 120 * Add a class to send emails. See [#11564](https://github.com/google/site-kit-wp/issues/11564). 121 * Add email reporting templates. See [#11550](https://github.com/google/site-kit-wp/issues/11550). 122 * Add a base template for reports sent by Email Reporting. See [#11549](https://github.com/google/site-kit-wp/issues/11549). 123 * Implement “Fallback” scheduled events for Email Reporting. See [#11548](https://github.com/google/site-kit-wp/issues/11548). 124 * Detect if Analytics has previously been connected when displaying certain notices in the Email Reporting notices. See [#11435](https://github.com/google/site-kit-wp/issues/11435). 125 * Add `utm_source=sitekit` query parameter to all external service links for source tracking. See [#11160](https://github.com/google/site-kit-wp/issues/11160). 126 * Update Ads Module Disconnect Messaging for PAX Setup Flow. See [#10607](https://github.com/google/site-kit-wp/issues/10607). 134 127 135 128 **Fixed** 136 129 137 * Fix internal event tracking to include plugin version information. See [#11802](https://github.com/google/site-kit-wp/issues/11802). 138 * Prevent an unnecessary request to the `enhanced-measurement-settings` endpoint when loading the dashboard. See [#11766](https://github.com/google/site-kit-wp/issues/11766). 139 * Fix incorrect formatting of WooCommerce enhanced conversions phone numbers. See [#11737](https://github.com/google/site-kit-wp/issues/11737). 140 * Ensure the "Google Analytics was successfully set up" toast should appears on the Key Metrics setup screen in the new setup flow. See [#11731](https://github.com/google/site-kit-wp/issues/11731). 141 * Amend styles for Sign in with Google settings editing screen. See [#11314](https://github.com/google/site-kit-wp/issues/11314). 142 * Fix Audience segmentation toggling issue. See [#9700](https://github.com/google/site-kit-wp/issues/9700). 130 * Fix in-progress spinner not appearing in CTA buttons for banners and notices. See [#11876](https://github.com/google/site-kit-wp/issues/11876). 131 * Fix banner width for Sign in with Google content on very large displays. See [#11800](https://github.com/google/site-kit-wp/issues/11800). 132 * Fix enhanced conversion tracking fatal errors. See [#11049](https://github.com/google/site-kit-wp/issues/11049). 143 133 144 134 [See changelog for all versions](https://raw.githubusercontent.com/google/site-kit-wp/main/changelog.txt). -
google-site-kit/trunk/dist/assets/blocks/reader-revenue-manager/contribute-with-google/block.json
r3407206 r3420533 3 3 "apiVersion": 2, 4 4 "name": "google-site-kit/rrm-contribute-with-google", 5 "version": "1.16 7.0",5 "version": "1.168.0", 6 6 "title": "Contribute with Google", 7 7 "category": "widgets", -
google-site-kit/trunk/dist/assets/blocks/reader-revenue-manager/contribute-with-google/v3/block.json
r3397601 r3420533 3 3 "apiVersion": 3, 4 4 "name": "google-site-kit/rrm-contribute-with-google", 5 "version": "1.16 4.0",5 "version": "1.168.0", 6 6 "title": "Contribute with Google", 7 7 "category": "widgets", -
google-site-kit/trunk/dist/assets/blocks/reader-revenue-manager/subscribe-with-google/block.json
r3407206 r3420533 3 3 "apiVersion": 2, 4 4 "name": "google-site-kit/rrm-subscribe-with-google", 5 "version": "1.16 7.0",5 "version": "1.168.0", 6 6 "title": "Subscribe with Google", 7 7 "category": "widgets", -
google-site-kit/trunk/dist/assets/blocks/reader-revenue-manager/subscribe-with-google/v3/block.json
r3397601 r3420533 3 3 "apiVersion": 3, 4 4 "name": "google-site-kit/rrm-subscribe-with-google", 5 "version": "1.16 4.0",5 "version": "1.168.0", 6 6 "title": "Subscribe with Google", 7 7 "category": "widgets", -
google-site-kit/trunk/dist/assets/blocks/sign-in-with-google/block.json
r3407206 r3420533 3 3 "apiVersion": 2, 4 4 "name": "google-site-kit/sign-in-with-google", 5 "version": "1.16 7.0",5 "version": "1.168.0", 6 6 "title": "Sign in with Google", 7 7 "category": "widgets", -
google-site-kit/trunk/dist/assets/blocks/sign-in-with-google/v3/block.json
r3397601 r3420533 3 3 "apiVersion": 3, 4 4 "name": "google-site-kit/sign-in-with-google", 5 "version": "1.16 4.0",5 "version": "1.168.0", 6 6 "title": "Sign in with Google", 7 7 "category": "widgets", -
google-site-kit/trunk/dist/manifest.php
r3407206 r3420533 28 28 'sign-in-with-google/index' => array( "sign-in-with-google/index.js", null ), 29 29 'sign-in-with-google/editor-styles' => array( "sign-in-with-google/editor-styles.js", null ), 30 'googlesitekit-admin-css' => array( "googlesitekit-admin-css- b9cab0a20268cc660836.min.css", null ),30 'googlesitekit-admin-css' => array( "googlesitekit-admin-css-4b099c3a456cf82130a8.min.css", null ), 31 31 'googlesitekit-adminbar-css' => array( "googlesitekit-adminbar-css-d193e67e2cbecf306061.min.css", null ), 32 32 'googlesitekit-wp-dashboard-css' => array( "googlesitekit-wp-dashboard-css-c4ef81393773b78c53aa.min.css", null ), 33 33 'googlesitekit-authorize-application-css' => array( "googlesitekit-authorize-application-css-5b98b536e7f34c6411c1.min.css", null ), 34 'googlesitekit-api' => array( "googlesitekit-api- 15cac6500fd5d984fb95.js", null ),35 'googlesitekit-data' => array( "googlesitekit-data- 2868d5c75a96f60bd472.js", null ),36 'googlesitekit-datastore-site' => array( "googlesitekit-datastore-site- 84807d9cf6ef5776b730.js", null ),37 'googlesitekit-datastore-user' => array( "googlesitekit-datastore-user- 6afcf4831575891d4620.js", null ),38 'googlesitekit-datastore-forms' => array( "googlesitekit-datastore-forms- 1174d7377bfc9977ef9a.js", null ),39 'googlesitekit-datastore-location' => array( "googlesitekit-datastore-location- a7fd5d1461e0562c934a.js", null ),40 'googlesitekit-datastore-ui' => array( "googlesitekit-datastore-ui- abca0d9c62793c5dec3e.js", null ),41 'googlesitekit-modules' => array( "googlesitekit-modules- dce334184f43e93590f0.js", null ),42 'googlesitekit-notifications' => array( "googlesitekit-notifications- 2367a0e39a4641cf0a86.js", null ),43 'googlesitekit-widgets' => array( "googlesitekit-widgets- 1de0c76dabc56b27df59.js", null ),44 'googlesitekit-modules-ads' => array( "googlesitekit-modules-ads- 666c5903affd119a99b5.js", null ),45 'googlesitekit-modules-adsense' => array( "googlesitekit-modules-adsense- e7757e9cf619f6e1adae.js", null ),46 'googlesitekit-modules-analytics-4' => array( "googlesitekit-modules-analytics-4- ebb3b6f75580255a8bba.js", null ),47 'googlesitekit-modules-pagespeed-insights' => array( "googlesitekit-modules-pagespeed-insights- 31bab748fa72671d2060.js", null ),48 'googlesitekit-modules-reader-revenue-manager' => array( "googlesitekit-modules-reader-revenue-manager- 607d96f98f5402c25944.js", null ),49 'googlesitekit-modules-search-console' => array( "googlesitekit-modules-search-console- 27a4f67f2b1a12d2ac83.js", null ),50 'googlesitekit-modules-sign-in-with-google' => array( "googlesitekit-modules-sign-in-with-google- 62652ee70455d9500620.js", null ),51 'googlesitekit-modules-tagmanager' => array( "googlesitekit-modules-tagmanager- b4d14f8336e2d04a117d.js", null ),52 'googlesitekit-user-input' => array( "googlesitekit-user-input- 52ccecb53d5ce5ff13d2.js", null ),53 'googlesitekit-ad-blocking-recovery' => array( "googlesitekit-ad-blocking-recovery- 4464ef45f8c34471ee3f.js", null ),54 'googlesitekit-block-tracking' => array( "googlesitekit-block-tracking- 6efb8ed8e9e4db8da249.js", null ),55 'googlesitekit-polyfills' => array( "googlesitekit-polyfills- 8b59b9627a8949df6deb.js", null ),56 'googlesitekit-components' => array( "googlesitekit-components- 75585de31a179a264558.js", null ),57 'googlesitekit-metric-selection' => array( "googlesitekit-metric-selection- eac03cd59f5737142e49.js", null ),58 'googlesitekit-key-metrics-setup' => array( "googlesitekit-key-metrics-setup- 7155d7d87c08d0f347db.js", null ),59 'googlesitekit-activation' => array( "googlesitekit-activation- 2b581b3c77c6c3601892.js", null ),60 'googlesitekit-adminbar' => array( "googlesitekit-adminbar- 8d712dcb290a2efa6f0d.js", null ),61 'googlesitekit-settings' => array( "googlesitekit-settings- 3a2e2212924935e84f6f.js", null ),62 'googlesitekit-main-dashboard' => array( "googlesitekit-main-dashboard- e0be854ee45bd990b30d.js", null ),63 'googlesitekit-entity-dashboard' => array( "googlesitekit-entity-dashboard- 446e6cd4802f6bb746df.js", null ),64 'googlesitekit-splash' => array( "googlesitekit-splash-3 f8ea39c312610f0b4af.js", null ),65 'googlesitekit-wp-dashboard' => array( "googlesitekit-wp-dashboard- a28ad41333bd838dc673.js", null ),66 'googlesitekit-runtime' => array( "runtime-4 300400569c01237fc9a.js", null ),67 'googlesitekit-vendor' => array( "googlesitekit-vendor- ea32d0ade8d976a846d4.js", null ),34 'googlesitekit-api' => array( "googlesitekit-api-91329b444d3cda33a04f.js", null ), 35 'googlesitekit-data' => array( "googlesitekit-data-bf86bea1eb3de720b526.js", null ), 36 'googlesitekit-datastore-site' => array( "googlesitekit-datastore-site-dbb0e1e32324e64419d2.js", null ), 37 'googlesitekit-datastore-user' => array( "googlesitekit-datastore-user-4dfa5e8eb79bcebcdb1e.js", null ), 38 'googlesitekit-datastore-forms' => array( "googlesitekit-datastore-forms-b995363380e48da12ee9.js", null ), 39 'googlesitekit-datastore-location' => array( "googlesitekit-datastore-location-6671f1e766c63f15d64f.js", null ), 40 'googlesitekit-datastore-ui' => array( "googlesitekit-datastore-ui-00807cf90be5b8e4560b.js", null ), 41 'googlesitekit-modules' => array( "googlesitekit-modules-e5e4c8b2bdfcff9c687b.js", null ), 42 'googlesitekit-notifications' => array( "googlesitekit-notifications-dceca5b4abcd4a060f5d.js", null ), 43 'googlesitekit-widgets' => array( "googlesitekit-widgets-3693b4a62dc6e488346b.js", null ), 44 'googlesitekit-modules-ads' => array( "googlesitekit-modules-ads-0b38cbe845ee5b029e86.js", null ), 45 'googlesitekit-modules-adsense' => array( "googlesitekit-modules-adsense-65c6ac52b8af7d8cfa34.js", null ), 46 'googlesitekit-modules-analytics-4' => array( "googlesitekit-modules-analytics-4-645f5cdcc14638370683.js", null ), 47 'googlesitekit-modules-pagespeed-insights' => array( "googlesitekit-modules-pagespeed-insights-d9bbb80dd696052efd4b.js", null ), 48 'googlesitekit-modules-reader-revenue-manager' => array( "googlesitekit-modules-reader-revenue-manager-cb75459590314d1ac0e6.js", null ), 49 'googlesitekit-modules-search-console' => array( "googlesitekit-modules-search-console-cd87038978186e1420c0.js", null ), 50 'googlesitekit-modules-sign-in-with-google' => array( "googlesitekit-modules-sign-in-with-google-512cc5b35b7d913ac6ee.js", null ), 51 'googlesitekit-modules-tagmanager' => array( "googlesitekit-modules-tagmanager-7b4fca30c7d570d2d53f.js", null ), 52 'googlesitekit-user-input' => array( "googlesitekit-user-input-fe48f06dde410c67bc2f.js", null ), 53 'googlesitekit-ad-blocking-recovery' => array( "googlesitekit-ad-blocking-recovery-8991e209396cfe50c4db.js", null ), 54 'googlesitekit-block-tracking' => array( "googlesitekit-block-tracking-7ce4f712ec578591af37.js", null ), 55 'googlesitekit-polyfills' => array( "googlesitekit-polyfills-f2726df5859ebd38706b.js", null ), 56 'googlesitekit-components' => array( "googlesitekit-components-1288bf8a9eda8d2eaa36.js", null ), 57 'googlesitekit-metric-selection' => array( "googlesitekit-metric-selection-cc65237da8d7c1288643.js", null ), 58 'googlesitekit-key-metrics-setup' => array( "googlesitekit-key-metrics-setup-21ea03f36f579f67e37d.js", null ), 59 'googlesitekit-activation' => array( "googlesitekit-activation-9c0e5dc4cd3bf06d1dbe.js", null ), 60 'googlesitekit-adminbar' => array( "googlesitekit-adminbar-b5866c66dfe0072e8d82.js", null ), 61 'googlesitekit-settings' => array( "googlesitekit-settings-875ba2ad41a873b8abdf.js", null ), 62 'googlesitekit-main-dashboard' => array( "googlesitekit-main-dashboard-56fe49d9c86e755db2b0.js", null ), 63 'googlesitekit-entity-dashboard' => array( "googlesitekit-entity-dashboard-bb4371d3e16b439929e5.js", null ), 64 'googlesitekit-splash' => array( "googlesitekit-splash-38ee93f3c34f77942251.js", null ), 65 'googlesitekit-wp-dashboard' => array( "googlesitekit-wp-dashboard-0f9f9bff730d4af0a32f.js", null ), 66 'googlesitekit-runtime' => array( "runtime-4b2eb8d81a08b104395a.js", null ), 67 'googlesitekit-vendor' => array( "googlesitekit-vendor-69366dc76fe8885b5e51.js", null ), 68 68 ); -
google-site-kit/trunk/google-site-kit.php
r3407206 r3420533 12 12 * Plugin URI: https://sitekit.withgoogle.com 13 13 * Description: Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make them successful on the web. 14 * Version: 1.16 7.014 * Version: 1.168.0 15 15 * Requires at least: 5.2 16 16 * Requires PHP: 7.4 … … 27 27 28 28 // Define most essential constants. 29 define( 'GOOGLESITEKIT_VERSION', '1.16 7.0' );29 define( 'GOOGLESITEKIT_VERSION', '1.168.0' ); 30 30 define( 'GOOGLESITEKIT_PLUGIN_MAIN_FILE', __FILE__ ); 31 31 define( 'GOOGLESITEKIT_PHP_MINIMUM', '7.4.0' ); -
google-site-kit/trunk/includes/Core/Conversion_Tracking/Conversion_Event_Providers/WooCommerce.php
r3407206 r3420533 15 15 use Google\Site_Kit\Core\Util\Feature_Flags; 16 16 use Google\Site_Kit\Core\Tags\Enhanced_Conversions\Enhanced_Conversions; 17 use WC_Countries; 18 use WC_Order; 19 use WC_Order_Item_Product; 20 use WC_Product; 17 21 18 22 /** … … 28 32 29 33 /** 30 * Avai alble products on the page.31 * 32 * @var Array34 * Available products on the page. 35 * 36 * @var array 33 37 * 34 38 * @since 1.153.0 … … 92 96 } 93 97 94 $settings = get_option( 'woocommerce_google_analytics_settings' ); 95 $event_names = array(); 96 97 // If only product identifier is availabe in the saved settings, it means default options are used. 98 $settings = get_option( 'woocommerce_google_analytics_settings' ); 99 100 // If only product identifier is available in the saved settings, it means default options are used. 98 101 // And by default all events are tracked. 99 102 if ( isset( $settings['ga_product_identifier'] ) && count( $settings ) === 1 ) { … … 194 197 'woocommerce_loop_add_to_cart_link', 195 198 function ( $button, $product ) { 199 // If the product is not a valid WC_Product instance, return 200 // early. 201 if ( ! $product instanceof WC_Product ) { 202 return $button; 203 } 204 196 205 $this->products[] = $this->get_formatted_product( $product ); 197 206 … … 205 214 'woocommerce_add_to_cart', 206 215 function ( $cart_item_key, $product_id, $quantity, $variation_id, $variation ) { 216 $product = wc_get_product( $product_id ); 217 218 if ( ! $product instanceof WC_Product ) { 219 return; 220 } 221 207 222 $this->add_to_cart = $this->get_formatted_product( 208 wc_get_product( $product_id ),223 $product, 209 224 $variation_id, 210 225 $variation, … … 266 281 * @return array 267 282 */ 268 p ublic function get_formatted_product($product, $variation_id = 0, $variation = false, $quantity = false ) {283 protected function get_formatted_product( WC_Product $product, $variation_id = 0, $variation = false, $quantity = false ) { 269 284 $product_id = $product->is_type( 'variation' ) ? $product->get_parent_id() : $product->get_id(); 270 285 $price = $product->get_price(); … … 329 344 * @since 1.153.0 330 345 * 331 * @param WC_ Abstract_Order $order An instance of the WooCommerce Order object.346 * @param WC_Order $order An instance of the WooCommerce Order object. 332 347 * 333 348 * @return array … … 345 360 'items' => array_map( 346 361 function ( $item ) { 362 // If the product is not a valid WC_Product instance, return early. 363 if ( 364 ! $item instanceof WC_Order_Item_Product 365 || ! $item->get_product() instanceof WC_Product 366 ) { 367 return $item; 368 } 369 370 $formatted_product = $this->get_formatted_product( $item->get_product() ); 371 347 372 return array_merge( 348 $ this->get_formatted_product( $item->get_product() ),373 $formatted_product, 349 374 array( 350 375 'quantity' => $item->get_quantity(), … … 357 382 ); 358 383 359 if ( Feature_Flags::enabled( 'gtagUserData' ) ) {384 if ( Feature_Flags::enabled( 'gtagUserData' ) && $order instanceof WC_Order ) { 360 385 $user_data = $this->extract_user_data_from_order( $order ); 361 386 if ( ! empty( $user_data ) ) { … … 372 397 * @since 1.161.0 373 398 * 374 * @param WC_ Abstract_Order $order An instance of the WooCommerce Order object.399 * @param WC_Order $order An instance of the WooCommerce Order object. 375 400 * 376 401 * @return array Normalized user data or empty array if no supported fields are available. 377 402 */ 378 protected function extract_user_data_from_order( $order ) {403 protected function extract_user_data_from_order( WC_Order $order ) { 379 404 $user_data = array(); 380 405 … … 469 494 // Try to use WooCommerce's country calling codes for proper E.164 formatting. 470 495 if ( class_exists( 'WC_Countries' ) && ! empty( $country ) ) { 471 $countries = new \WC_Countries();496 $countries = new WC_Countries(); 472 497 $calling_code = $countries->get_country_calling_code( $country ); 473 498 -
google-site-kit/trunk/includes/Core/Email_Reporting/Email_Report_Section_Builder.php
r3407206 r3420533 191 191 return array( $labels, $values, $trends ); 192 192 } 193 194 193 195 194 /** -
google-site-kit/trunk/includes/Core/Email_Reporting/Email_Reporting.php
r3407206 r3420533 12 12 13 13 use Google\Site_Kit\Context; 14 use Google\Site_Kit\Core\Authentication\Authentication; 14 15 use Google\Site_Kit\Core\Modules\Modules; 15 16 use Google\Site_Kit\Core\Storage\Options; 16 17 use Google\Site_Kit\Core\Storage\User_Options; 17 18 use Google\Site_Kit\Core\User\Email_Reporting_Settings as User_Email_Reporting_Settings; 19 use Google\Site_Kit\Modules\Analytics_4; 18 20 19 21 /** … … 51 53 52 54 /** 55 * Authentication instance. 56 * 57 * @since 1.168.0 58 * @var Authentication 59 */ 60 protected $authentication; 61 62 /** 53 63 * Email_Reporting_Settings instance. 54 64 * … … 75 85 76 86 /** 87 * Was_Analytics_4_Connected instance. 88 * 89 * @since 1.168.0 90 * @var Was_Analytics_4_Connected 91 */ 92 protected $was_analytics_4_connected; 93 94 /** 77 95 * REST_Email_Reporting_Controller instance. 78 96 * … … 131 149 132 150 /** 151 * Fallback task instance. 152 * 153 * @since 1.168.0 154 * @var Fallback_Task 155 */ 156 protected $fallback_task; 157 158 /** 159 * Email reporting data requests instance. 160 * 161 * @since 1.168.0 162 * @var Email_Reporting_Data_Requests 163 */ 164 protected $data_requests; 165 166 /** 133 167 * Constructor. 134 168 * 135 169 * @since 1.162.0 136 * 137 * @param Context $context Plugin context. 138 * @param Modules $modules Modules instance. 139 * @param Options|null $options Optional. Options instance. Default is a new instance. 140 * @param User_Options|null $user_options Optional. User options instance. Default is a new instance. 170 * @since 1.168.0 Added authentication dependency. 171 * 172 * @param Context $context Plugin context. 173 * @param Modules $modules Modules instance. 174 * @param Email_Reporting_Data_Requests $data_requests Email reporting data requests. 175 * @param Authentication $authentication Authentication instance. 176 * @param Options|null $options Optional. Options instance. Default is a new instance. 177 * @param User_Options|null $user_options Optional. User options instance. Default is a new instance. 141 178 */ 142 179 public function __construct( 143 180 Context $context, 144 181 Modules $modules, 182 Email_Reporting_Data_Requests $data_requests, 183 Authentication $authentication, 145 184 ?Options $options = null, 146 185 ?User_Options $user_options = null 147 186 ) { 148 $this->context = $context; 149 $this->modules = $modules; 150 $this->options = $options ?: new Options( $this->context ); 151 $this->user_options = $user_options ?: new User_Options( $this->context ); 152 $this->settings = new Email_Reporting_Settings( $this->options ); 153 $this->user_settings = new User_Email_Reporting_Settings( $this->user_options ); 187 $this->context = $context; 188 $this->modules = $modules; 189 $this->data_requests = $data_requests; 190 $this->authentication = $authentication; 191 $this->options = $options ?: new Options( $this->context ); 192 $this->user_options = $user_options ?: new User_Options( $this->context ); 193 $this->settings = new Email_Reporting_Settings( $this->options ); 194 $this->user_settings = new User_Email_Reporting_Settings( $this->user_options ); 195 $this->was_analytics_4_connected = new Was_Analytics_4_Connected( $this->options ); 154 196 155 197 $frequency_planner = new Frequency_Planner(); … … 158 200 $batch_query = new Email_Log_Batch_Query(); 159 201 160 $this->rest_controller = new REST_Email_Reporting_Controller( $this->settings );202 $this->rest_controller = new REST_Email_Reporting_Controller( $this->settings, $this->was_analytics_4_connected ); 161 203 $this->email_log = new Email_Log( $this->context ); 162 204 $this->scheduler = new Email_Reporting_Scheduler( $frequency_planner ); 163 205 $this->initiator_task = new Initiator_Task( $this->scheduler, $subscribed_users_query ); 164 206 $this->worker_task = new Worker_Task( $max_execution_limiter, $batch_query, $this->scheduler ); 207 $this->fallback_task = new Fallback_Task( $batch_query, $this->scheduler, $this->worker_task ); 165 208 $this->monitor_task = new Monitor_Task( $this->scheduler, $this->settings ); 166 209 $this->email_log_cleanup = new Email_Log_Cleanup( $this->settings ); … … 181 224 $this->scheduler->register(); 182 225 183 if ( $this->settings->is_email_reporting_enabled() ) { 226 add_action( 227 'googlesitekit_deactivate_module', 228 function ( $slug ) { 229 if ( Analytics_4::MODULE_SLUG === $slug ) { 230 $this->was_analytics_4_connected->set( true ); 231 } 232 } 233 ); 234 235 // Schedule events only if authentication is completed and email reporting is enabled. 236 // Otherwise events are being scheduled as soon as the plugin is activated. 237 if ( $this->authentication->is_setup_completed() && $this->settings->is_email_reporting_enabled() ) { 184 238 $this->scheduler->schedule_initiator_events(); 185 239 $this->scheduler->schedule_monitor(); … … 189 243 add_action( Email_Reporting_Scheduler::ACTION_MONITOR, array( $this->monitor_task, 'handle_monitor_action' ) ); 190 244 add_action( Email_Reporting_Scheduler::ACTION_WORKER, array( $this->worker_task, 'handle_callback_action' ), 10, 3 ); 245 add_action( Email_Reporting_Scheduler::ACTION_FALLBACK, array( $this->fallback_task, 'handle_fallback_action' ), 10, 3 ); 191 246 add_action( Email_Reporting_Scheduler::ACTION_CLEANUP, array( $this->email_log_cleanup, 'handle_cleanup_action' ) ); 192 247 -
google-site-kit/trunk/includes/Core/Email_Reporting/Email_Reporting_Scheduler.php
r3407206 r3420533 118 118 119 119 /** 120 * Schedules a fallback event for the given frequencyif one is not already queued.120 * Schedules a fallback event for the given batch if one is not already queued. 121 121 * 122 122 * @since 1.167.0 123 123 * 124 * @param string $batch_id Batch identifier. 124 125 * @param string $frequency Frequency slug. 125 126 * @param int $timestamp Base timestamp for the batch. 126 127 * @param int $delay Delay in seconds before fallback runs. 127 128 */ 128 public function schedule_fallback( $frequency, $timestamp, $delay = HOUR_IN_SECONDS ) { 129 if ( wp_next_scheduled( self::ACTION_FALLBACK, array( $frequency ) ) ) { 129 public function schedule_fallback( $batch_id, $frequency, $timestamp, $delay = HOUR_IN_SECONDS ) { 130 $args = array( $batch_id, $frequency, $timestamp ); 131 132 if ( wp_next_scheduled( self::ACTION_FALLBACK, $args ) ) { 130 133 return; 131 134 } 132 135 133 wp_schedule_single_event( $timestamp + $delay, self::ACTION_FALLBACK, array( $frequency ));136 wp_schedule_single_event( $timestamp + $delay, self::ACTION_FALLBACK, $args ); 134 137 } 135 138 -
google-site-kit/trunk/includes/Core/Email_Reporting/Initiator_Task.php
r3407206 r3420533 86 86 87 87 $this->scheduler->schedule_worker( $batch_id, $frequency, $timestamp ); 88 $this->scheduler->schedule_fallback( $ frequency, $timestamp );88 $this->scheduler->schedule_fallback( $batch_id, $frequency, $timestamp ); 89 89 } 90 90 -
google-site-kit/trunk/includes/Core/Email_Reporting/REST_Email_Reporting_Controller.php
r3389193 r3420533 14 14 use Google\Site_Kit\Core\REST_API\REST_Route; 15 15 use Google\Site_Kit\Core\REST_API\REST_Routes; 16 use Google\Site_Kit\Core\Storage\Options; 16 17 use WP_REST_Request; 17 18 use WP_REST_Response; … … 36 37 37 38 /** 39 * Was_Analytics_4_Connected instance. 40 * 41 * @since 1.168.0 42 * @var Was_Analytics_4_Connected 43 */ 44 private $was_analytics_4_connected; 45 46 /** 38 47 * Constructor. 39 48 * 40 49 * @since 1.162.0 41 50 * 42 * @param Email_Reporting_Settings $settings Email_Reporting_Settings instance. 51 * @param Email_Reporting_Settings $settings Email_Reporting_Settings instance. 52 * @param Was_Analytics_4_Connected $was_analytics_4_connected Was_Analytics_4_Connected instance. 43 53 */ 44 public function __construct( Email_Reporting_Settings $settings ) { 45 $this->settings = $settings; 54 public function __construct( Email_Reporting_Settings $settings, Was_Analytics_4_Connected $was_analytics_4_connected ) { 55 $this->settings = $settings; 56 $this->was_analytics_4_connected = $was_analytics_4_connected; 46 57 } 47 58 … … 66 77 array( 67 78 '/' . REST_Routes::REST_ROOT . '/core/site/data/email-reporting', 79 '/' . REST_Routes::REST_ROOT . '/core/site/data/was-analytics-4-connected', 68 80 ) 69 81 ); … … 126 138 ) 127 139 ), 140 new REST_Route( 141 'core/site/data/was-analytics-4-connected', 142 array( 143 array( 144 'methods' => WP_REST_Server::READABLE, 145 'callback' => function () { 146 return new WP_REST_Response( array( 'wasConnected' => $this->was_analytics_4_connected->get() ) ); 147 }, 148 'permission_callback' => $can_access, 149 ), 150 ) 151 ), 128 152 ); 129 153 } -
google-site-kit/trunk/includes/Core/Modules/Modules.php
r3373932 r3420533 723 723 $this->sharing_settings->unset_module( $slug ); 724 724 725 /** 726 * Fires when a module is deactivated. 727 * 728 * @since 1.168.0 729 * 730 * @param string $slug The slug of the deactivated module. 731 */ 732 do_action( 'googlesitekit_deactivate_module', $slug ); 733 725 734 return true; 726 735 } -
google-site-kit/trunk/includes/Core/Util/Uninstallation.php
r3407206 r3420533 144 144 // Only clear scheduled events that are set, important in E2E 145 145 // testing. 146 if ( (bool) wp_next_scheduled( $event ) ) {146 if ( $this->is_event_scheduled( $event ) ) { 147 147 wp_unschedule_hook( $event ); 148 148 } 149 149 } 150 150 } 151 152 /** 153 * Determines if an event is scheduled for the given hook, regardless of arguments. 154 * 155 * @since 1.168.0 156 * 157 * @param string $hook The hook name. 158 * @return bool True if an event is scheduled for the hook, false otherwise. 159 */ 160 private function is_event_scheduled( $hook ) { 161 $crons = _get_cron_array(); 162 163 if ( ! is_array( $crons ) || empty( $crons ) ) { 164 return false; 165 } 166 167 foreach ( $crons as $events ) { 168 if ( isset( $events[ $hook ] ) ) { 169 return true; 170 } 171 } 172 173 return false; 174 } 151 175 } -
google-site-kit/trunk/includes/Plugin.php
r3407206 r3420533 228 228 ( new Core\Consent_Mode\Consent_Mode( $this->context, $modules, $options ) )->register(); 229 229 ( new Core\Tags\GTag( $options ) )->register(); 230 ( new Core\Conversion_Tracking\Conversion_Tracking( $this->context, $options ) )->register(); 230 231 $conversion_tracking = new Core\Conversion_Tracking\Conversion_Tracking( $this->context, $options ); 232 $conversion_tracking->register(); 233 231 234 if ( Feature_Flags::enabled( 'proactiveUserEngagement' ) ) { 232 ( new Core\Email_Reporting\Email_Reporting( $this->context, $modules, $options, $user_options ) )->register(); 233 } 235 $data_requests = new Core\Email_Reporting\Email_Reporting_Data_Requests( 236 $this->context, 237 $modules, 238 $conversion_tracking, 239 $transients, 240 $user_options, 241 ); 242 243 ( new Core\Email_Reporting\Email_Reporting( $this->context, $modules, $data_requests, $authentication, $options, $user_options ) )->register(); 244 } 245 234 246 if ( Feature_Flags::enabled( 'googleTagGateway' ) ) { 235 247 ( new Core\Tags\Google_Tag_Gateway\Google_Tag_Gateway( $this->context, $options ) )->register(); -
google-site-kit/trunk/includes/vendor/composer/autoload_classmap.php
r3407206 r3420533 84 84 'Google\\Site_Kit\\Core\\Dismissals\\Dismissed_Items' => $baseDir . '/Core/Dismissals/Dismissed_Items.php', 85 85 'Google\\Site_Kit\\Core\\Dismissals\\REST_Dismissals_Controller' => $baseDir . '/Core/Dismissals/REST_Dismissals_Controller.php', 86 'Google\\Site_Kit\\Core\\Email\\Email' => $baseDir . '/Core/Email/Email.php', 86 87 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Log' => $baseDir . '/Core/Email_Reporting/Email_Log.php', 87 88 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Log_Batch_Query' => $baseDir . '/Core/Email_Reporting/Email_Log_Batch_Query.php', … … 91 92 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Report_Section_Builder' => $baseDir . '/Core/Email_Reporting/Email_Report_Section_Builder.php', 92 93 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting' => $baseDir . '/Core/Email_Reporting/Email_Reporting.php', 94 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Data_Requests' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Data_Requests.php', 93 95 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Pointer' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Pointer.php', 94 96 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Scheduler' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Scheduler.php', 95 97 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Settings' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Settings.php', 96 98 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Reporting_Site_Health' => $baseDir . '/Core/Email_Reporting/Email_Reporting_Site_Health.php', 99 'Google\\Site_Kit\\Core\\Email_Reporting\\Email_Template_Renderer' => $baseDir . '/Core/Email_Reporting/Email_Template_Renderer.php', 100 'Google\\Site_Kit\\Core\\Email_Reporting\\Fallback_Task' => $baseDir . '/Core/Email_Reporting/Fallback_Task.php', 97 101 'Google\\Site_Kit\\Core\\Email_Reporting\\Frequency_Planner' => $baseDir . '/Core/Email_Reporting/Frequency_Planner.php', 98 102 'Google\\Site_Kit\\Core\\Email_Reporting\\Initiator_Task' => $baseDir . '/Core/Email_Reporting/Initiator_Task.php', … … 101 105 'Google\\Site_Kit\\Core\\Email_Reporting\\REST_Email_Reporting_Controller' => $baseDir . '/Core/Email_Reporting/REST_Email_Reporting_Controller.php', 102 106 'Google\\Site_Kit\\Core\\Email_Reporting\\Report_Options\\Report_Options' => $baseDir . '/Core/Email_Reporting/Report_Options/Report_Options.php', 107 'Google\\Site_Kit\\Core\\Email_Reporting\\Sections_Map' => $baseDir . '/Core/Email_Reporting/Sections_Map.php', 103 108 'Google\\Site_Kit\\Core\\Email_Reporting\\Subscribed_Users_Query' => $baseDir . '/Core/Email_Reporting/Subscribed_Users_Query.php', 109 'Google\\Site_Kit\\Core\\Email_Reporting\\Was_Analytics_4_Connected' => $baseDir . '/Core/Email_Reporting/Was_Analytics_4_Connected.php', 104 110 'Google\\Site_Kit\\Core\\Email_Reporting\\Worker_Task' => $baseDir . '/Core/Email_Reporting/Worker_Task.php', 105 111 'Google\\Site_Kit\\Core\\Expirables\\Expirable_Items' => $baseDir . '/Core/Expirables/Expirable_Items.php', -
google-site-kit/trunk/readme.txt
r3407206 r3420533 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 1.16 7.07 Stable tag: 1.168.0 8 8 License: Apache License 2.0 9 9 License URI: https://www.apache.org/licenses/LICENSE-2.0 … … 110 110 == Changelog == 111 111 112 = 1.16 7.0 =112 = 1.168.0 = 113 113 114 114 **Enhanced** 115 115 116 * Update casing of web data stream labels for consistency. See [#11763](https://github.com/google/site-kit-wp/issues/11763). 117 * Add missing external icon to "Learn more" links in enhanced conversions notifications. See [#11744](https://github.com/google/site-kit-wp/issues/11744). 118 * Update Enhanced Conversions dashboard notification priority to use `SETUP_CTA_HIGH` for consistency. See [#11741](https://github.com/google/site-kit-wp/issues/11741). 119 * Add opt-in GA tracking as part of the new setup flow in the splash, Analytics, and Key Metrics setup screens. See [#11721](https://github.com/google/site-kit-wp/issues/11721). 120 * Pass `show_progress` as a query parameter to the redirect URI rather than as a separate property when creating an Analytics account in the new setup flow. See [#11715](https://github.com/google/site-kit-wp/issues/11715). 121 * Create email reporting data and section classes. See [#11680](https://github.com/google/site-kit-wp/issues/11680). 122 * Include the current AMP mode in the request to get enabled features. See [#11643](https://github.com/google/site-kit-wp/issues/11643). 123 * Implement monitor scheduler for Email Reporting events. See [#11599](https://github.com/google/site-kit-wp/issues/11599). 124 * Implement email reporting log clear schedulers. See [#11582](https://github.com/google/site-kit-wp/issues/11582). 125 * AdSense alert links now open in a new tab. See [#11578](https://github.com/google/site-kit-wp/issues/11578). 126 * Add report options builder classes for Analytics, AdSense, and SC modules. See [#11552](https://github.com/google/site-kit-wp/issues/11552). 127 * Implement “Worker” scheduled events for Email Reporting. See [#11547](https://github.com/google/site-kit-wp/issues/11547). 128 * Add infrastructure for scheduled events at various intervals. See [#11546](https://github.com/google/site-kit-wp/issues/11546). 129 * Extend the Reset utility class to delete remaining error reporting logs. See [#11545](https://github.com/google/site-kit-wp/issues/11545). 130 * Improve the help link destination in the authentication error screen. See [#11529](https://github.com/google/site-kit-wp/issues/11529). 131 * Ensure the user is returned to the Analytics or Key Metrics setup screen if the new setup flow is interrupted on one of those screens. See [#11388](https://github.com/google/site-kit-wp/issues/11388). 132 * Improve error reporting in Site Kit widgets to not report duplicate errors. See [#8970](https://github.com/google/site-kit-wp/issues/8970). 133 * Improve legend color consistency in the Analytics all traffic widget. See [#7199](https://github.com/google/site-kit-wp/issues/7199). 116 * Add the welcome modal as part of the setup flow refresh. See [#11808](https://github.com/google/site-kit-wp/issues/11808). 117 * Update the uninstall script to unregister all email reporting events when the plugin is unininstalled. See [#11805](https://github.com/google/site-kit-wp/issues/11805). 118 * Add opt-in internal tracking for the new key metrics setup screen. See [#11723](https://github.com/google/site-kit-wp/issues/11723). 119 * Add GA event tracking for user interaction with the Analytics setup screen in the new setup flow. See [#11722](https://github.com/google/site-kit-wp/issues/11722). 120 * Add a class to send emails. See [#11564](https://github.com/google/site-kit-wp/issues/11564). 121 * Add email reporting templates. See [#11550](https://github.com/google/site-kit-wp/issues/11550). 122 * Add a base template for reports sent by Email Reporting. See [#11549](https://github.com/google/site-kit-wp/issues/11549). 123 * Implement “Fallback” scheduled events for Email Reporting. See [#11548](https://github.com/google/site-kit-wp/issues/11548). 124 * Detect if Analytics has previously been connected when displaying certain notices in the Email Reporting notices. See [#11435](https://github.com/google/site-kit-wp/issues/11435). 125 * Add `utm_source=sitekit` query parameter to all external service links for source tracking. See [#11160](https://github.com/google/site-kit-wp/issues/11160). 126 * Update Ads Module Disconnect Messaging for PAX Setup Flow. See [#10607](https://github.com/google/site-kit-wp/issues/10607). 134 127 135 128 **Fixed** 136 129 137 * Fix internal event tracking to include plugin version information. See [#11802](https://github.com/google/site-kit-wp/issues/11802). 138 * Prevent an unnecessary request to the `enhanced-measurement-settings` endpoint when loading the dashboard. See [#11766](https://github.com/google/site-kit-wp/issues/11766). 139 * Fix incorrect formatting of WooCommerce enhanced conversions phone numbers. See [#11737](https://github.com/google/site-kit-wp/issues/11737). 140 * Ensure the "Google Analytics was successfully set up" toast should appears on the Key Metrics setup screen in the new setup flow. See [#11731](https://github.com/google/site-kit-wp/issues/11731). 141 * Amend styles for Sign in with Google settings editing screen. See [#11314](https://github.com/google/site-kit-wp/issues/11314). 142 * Fix Audience segmentation toggling issue. See [#9700](https://github.com/google/site-kit-wp/issues/9700). 130 * Fix in-progress spinner not appearing in CTA buttons for banners and notices. See [#11876](https://github.com/google/site-kit-wp/issues/11876). 131 * Fix banner width for Sign in with Google content on very large displays. See [#11800](https://github.com/google/site-kit-wp/issues/11800). 132 * Fix enhanced conversion tracking fatal errors. See [#11049](https://github.com/google/site-kit-wp/issues/11049). 143 133 144 134 [See changelog for all versions](https://raw.githubusercontent.com/google/site-kit-wp/main/changelog.txt).
Note: See TracChangeset
for help on using the changeset viewer.