This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WooCommerce Google Ads Dynamic Remarketing


This plugin is deprecated. All its features and much more has been merged into our main plugin, the Pixel Manager for WooCommerce.

Do you have a WooCommerce shop and want to run dynamic remarketing campaigns with Google Ads? This plugin will insert the customized remarketing pixel on all your shop pages. Google Ads will then be able to collect customer behaviour data (product viewers, buyers, order value, cart abandoners, etc). Based on this data you will be able to run targeted remarketing campaigns.


  • WooCommerce
  • WooCommerce Google Product Feed plugin or something similar to upload the products to the Google Merchant Center
  • Google Merchant Center Account with all products uploaded
  • Google Ads account with a configured remarketing tag

Highlights of this plugin

  • Easy to install
  • Accurate. Several methods have been build in to avoid tracking of shop managers, deduplication of purchases, etc.

Cookie Consent Management

The plugin uses data from several Cookie Consent Management plugins to avoid injecting the tracking pixel, in case a visitor doesn’t want to be tracked by third party pixels.

It works with the following Cookie Consent Management plugins:

It is also possible for developers of Cookie Consent Management plugins to deactivate our plugin with a filter, in case a visitor opts out of third party pixel tracking. Simply use the following code:

add_filter( 'wgdr_third_party_cookie_prevention', '__return_true' );

Installation support

Installing the plugin is pretty simple. Just activate it and enter the conversion ID and if necessary the product prefix.

If you also need to to set up the Google Merchant Center first the entire setup becomes more complex. If you would like us to do the setup for you please contact us for an offer:

Similar plugins

If you like this plugin, have a look at our other Google Ads related plugin: WooCommerce Google Ads Conversion Tracking

Support Info

We will only support installations which run the most current versions of WordPress and WooCommerce.

More information

Please find more information about Google Ads remarketing on following pages:

Dynamic Display Ads
Dynamic Remarketing


  • Simple configuration
  • Validate the configuration of the plugin with the Google Tag Assistant


  1. Upload the WGDR plugin directory into your /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Get the Google Ads conversion ID and the conversion label. You will find both values in the Google Ads remarketing tag. Get the conversion ID (ignore the conversion label)
  4. In the WordpPress admin panel go to WooCommerce and then into the ‘Google Ads Dynamic Retargeting’ menu. Please enter the conversion ID and the conversion label into their respective fields.
  5. Also add the Google Merchant Center prefix which is “woocommerce_gpf_” if you use the Google Product Feed plugin to upload your products the the Google Merchant Center.
  6. Use the Google Tag Assistant browser plugin to test the tracking code. Bear in mind that the code is only visible if you are not logged in as admin or shop manager. You will have to log out first.


Why does Google Ads report an error?

Give Google Ads time to pick up the code. It can take up to 48 hours.

How do I check if the plugin is working properly?

Download the Google Tag Assistant browser plugin. It is a powerful tool to validate all Google tags on your pages. Bear in mind that validating the Merchant Center Feed only works on product pages.

The plugin messes up my theme. What is happening?

It has been reported in several occasions that minifaction plugins mess up the Javascript code which lead to errors in the theme. The Javascript code for the tracking needs to be placed exactly as Google requires it. To solve this issue turn off the minification plugin.

Does the plugin support variations?


The tracking pixel matches regular feeds and also feeds with variations, as long as the variations are uploaded with the correct item_group_id (which is basically the id of the parent product): Dynamic Remarketing with Group ID

And will the dynamic ad show exactly the variations the visitor has visited? And the answer to that is not necessarily. But, don’t worry about specific variations too much. Even if the visitor is only being served the parent product he has visited (not the variation), the dynamic banner will lead to a much higher click-through-rate already.

Also look at this answer in the Google Ads Community (coming from a Google developer): Dynamic Remarketing Tag and Variations

I am getting following error: “We haven’t detected the Google Analytics remarketing functionality on your website.” What can I do?

This plugin doesn’t support Google Analytics Remarketing, only Google Google Ads Remarketing (as the plugin name says).

I am getting following error: “There are problems with some of your custom parameters for Retail.” What can I do?

Give Google Ads time to pick up the code. It can take up to 48 hours.

I am getting following error: “Only 20 of 50 page visits that have passed an ID (or 40%) match IDs in your Merchant Center feed.” What can I do?

It indicates that not all products have been uploaded to the Google Merchant Center. As long as you don’t upload all of them you will see this error.

Also it could be that you haven’t waited the 48 hours time period until Google Ads has processed everything properly.

Where can I report a bug or suggest improvements?

Please report your bugs and support requests in the support forum for this plugin: Plugin Support Forum

We will need some data to be able to help you.

  • Website address
  • WordPress version
  • WooCommerce version
  • WooCommerce theme and version of the theme
  • The Google Ads remarketing tags conversion ID and conversion label

(Most of this information is publicly viewable on your webpage. If you still want to keep it private don’t hesitate to send us a support request to

Why does Google Ads report that the ecomm_prodid are not found?

  • After installation wait a few days. It can take that long until all is processed correctly.
  • You need the prefix only if you use the WooThemes Google Product Feed plugin.
  • Check if you really have loaded all products into the feed and into the Google Merchant Center.


April 18, 2021 4 replies
It incorrectly reports ‘ecomm_prodid’: “26262315810” for a totally different product ID. It reports page_view instead of item_view.
December 11, 2020 1 reply
I like the plugin but there is an expensive flaw. If you run a campaign for paid traffic to your product pages and this plugin is misconfigured without the “woocommerce_gpf_” and then you run a smart shopping campaign in google using woocommerce merchant center plugin later. It will not be able to ‘match’ the two information sources. All that data is useless. If you spent tens of thousands driving traffic over a few months just know you will not be able to use it for data driven decisions in a smart shopping campaign and will have to start all over again. I think this is the fault of this plugin, he is aware this is an issue but yet doesn’t adequately address it in documentation or explain why this is so crucial. I like the plugin, but I think this is a huge oversight. I installed both plugins at the same time, I would assume it would detect the woocommerce version and autopopulate the woocommerce_gpf_ as a safegaurd.
November 18, 2020 1 reply
Have been using this plugin on several shops for years and it is easy to set up and works like a charm. Highly recommended!
Read all 33 reviews

Contributors & Developers

“WooCommerce Google Ads Dynamic Remarketing” is open source software. The following people have contributed to this plugin.


“WooCommerce Google Ads Dynamic Remarketing” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “WooCommerce Google Ads Dynamic Remarketing” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Tweak: Bumped up version
  • Tweak: Updated readme.txt


  • Tweak: Deprecation notice


  • Tweak: Removed uninstall.php


  • Tweak: Improved deactivation filter


  • Tweak: Removed freemius


  • Info: Tested up to WP 5.6
  • Tweak: Added gtag config instruction if gtag insertion is disabled
  • Tweak: Disabled ratings request


  • Info: Tested up to WP 5.3


  • Tweak: Improved the output on product pages in case a product is missing a price


  • Fix: Fixed a spelling error in ecomm_totalvalue


  • Fix: Fixed a semicolon in the product output (which was automatically inserted by the code cleanup of my IDE)


  • Tweak: Added options validation and cleaning


  • Fix: Fixed function that adds settings link to plugin overview page


  • Fix: Fixed a semicolon in the product output


  • Tweak: Improved compatibility with some newer PHP versions


  • Info: Tested up to WP 5.1
  • Tweak: Some syntax adjustments


  • Tweak: Adding the ecomm_prodid parameter to all pages, even non product pages, as this has become a requirement for all pages now.


  • Info: Changing name from AdWords to Google Ads


  • Info: Tested up to WC 3.5.2


  • Fix: Fixed a syntactic error on the product page


  • Tweak: Added the conversion id parameter to the event tag


  • Tweak: Removed a debugging message


  • New: Option to switch off the insertion of the gtag.js tag


  • Tweak: Switched to gtag pixel


  • New: Integrated with several Cookie Consent Management plugins


  • Tweak: Adjusted minimum WC version


  • Tweak: Added discounts to the value calculation


  • Tweak: Hiding the white space at the bottom of some themes by adding a new css sheet


  • Tweak: Catch warning if a product has no categories set
  • Tweak: Catch error and log it in debug.log if is_product() returns true, but wc_get_product() can’t retrieve a product object


  • Tweak: The campaign URL parameters have been removed


  • Tweak: json_encode conversion_id output to prevent JavaScript errors in edge cases


  • Tweak: Replacing deprecated $order->id with $order->get_order_number()


  • Tweak: Code cleanup


  • New: Admin notice asking to leave a rating
  • Tweak: Better options update routine
  • Tweak: Switching order_total to order_subtotal (no taxes and shipping cost)


  • Tweak: Code cleanup


  • Fix: Avoid ‘undefined index’ for product_identifier


  • New: Choose product ID or SKU as product identifier


  • Tweak: Refurbishment of the settings page


  • Fix: Version check with new function logic to make it work with older PHP versions


  • Tweak: Options table upgrade


  • New: Uninstall routine


  • New: Exclusion for the Autoptimize plugin


  • New: Added filter capability for products and categories


  • Tweak: Code cleanup


  • Tweak: Code cleanup
  • Tweak: To avoid overreporting only insert the retargeting code for visitors, not shop managers and admins


  • Tweak: Encoding all JavaScript variables with json_encode


  • Tweak: Switching single pixel function from transient to post meta


  • Fix: Adding session handling to avoid duplications


  • Fix: Implement different logic to exclude failed orders as the old one is too restrictive


  • Fix: Exclude orders where the payment has failed


  • Fix: Minor fix to the code to avoid an invalid argument error which happens in rare cases.


  • Update: New translation into Serbian
  • Update: Change of plugin name
  • New: Plugin banner and icon


  • Update: Minor update to the code to make it cleaner and easier to read


  • New: Internationalization (German)
  • New: Category support


  • Update: Increase plugin security
  • Update: Moved the settings to the submenu of WooCommerce
  • Update: Improved DB handling of orders on the thankyou page
  • Update: Code cleanup
  • Update: Removed the conversion label. It is not necessary.


  • Added settings field to the plugin page.


  • The code reflects now that the conversion_label field is optional.


  • Changed the woo_foot hook to wp_footer to avoid problems with some themes. This should be more compatible with most themes as long as they use the wp_footer hook.


  • This is the initial release of the plugin.