woocommerce / google-listings-and-ads

Sync your store with Google to list products for free, run paid ads, and track performance straight from your store dashboard.
https://woo.com/products/google-listings-and-ads/
GNU General Public License v3.0
44 stars 21 forks source link

WP 6.6 / WC 9.1 Compatibility #2451

Closed ianlin closed 1 month ago

ianlin commented 1 month ago

Use this guide to smoke-test the plugin (for compatibility or other reasons). If there's a common use case or cause of errors not included, please add it!

After each step during testing, be sure to check the debug logs and the browser console for errors, warnings, or notices.

If you see 🧪 in the test, it indicates that there's an E2E test that covers this particular scenario.

Setup

Onboarding Wizard

Set up your accounts

Choose your audience and product listings

Confirm store requirements

Complete your campaign

Google Listings & Ads > Dashboard

Google Listings & Ads > Reports

Programs tab

Products tab

Google Listings & Ads > Product Feed

Google Listings & Ads > Settings

Sync Products with Google Merchant Center

Note that the following operations with Google MC can take some minutes.

The Mismatched URL will block product synchronization. To test this part in a local environment, please try making the following adjustments to the local env first:

  1. Add this code snippet to google-listings-and-ads.php for skipping the URL matching check.
    add_filter( 'woocommerce_gla_ready_for_syncing', '__return_true' );
  2. Clear related transients from DB.
    DELETE FROM wp_options where option_name LIKE '%gla_url_matches%';

Gtag events

(Optional) Test Gtag events manually