Title: Plugin not working&#8230;
Last modified: November 25, 2017

---

# Plugin not working…

 *  Resolved [myatix](https://wordpress.org/support/users/myatix/)
 * (@myatix)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-working-582/)
 * Hi,
 * For some reason Google merchant isn’t recognizing the plugin as having implemented
   the necessary code? Therefore is not seeing custom reviews as being active.
 * Any help would be appreciated!
 * Can this be due to the fact that we use Google Tag Manager?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-not-working-582%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [natekinkead](https://wordpress.org/support/users/natekinkead/)
 * (@natekinkead)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-working-582/#post-9731401)
 * Looking at your site, I’m not seeing any of the code that our plugin is supposed
   to be outputting. Are you sure it’s activated and properly configured with your
   Google Merchant Account ID?
 * Also, I don’t know what Google Tag Manager would have to do with this, because
   it should not be trying to integrate Google Customer Reviews. Side note: you 
   shouldn’t need to have Google Analytics code on the page if you use Google Tag
   Manager. GTM should be loading your Analytics for you, and you wouldn’t want 
   to load it twice.
 *  Thread Starter [myatix](https://wordpress.org/support/users/myatix/)
 * (@myatix)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-working-582/#post-9734093)
 * Hi Nate,
 * Thank you for the reply! 🙂
 * Yes the plugin is activated and hac my Google MerchantID set in the settings 
   page, as can be seen in the screenshot below:
 * [https://www.dropbox.com/s/6anhdj4qgb6xfqs/Screen%20Shot%202017-11-29%20at%2016.32.07.png?dl=0](https://www.dropbox.com/s/6anhdj4qgb6xfqs/Screen%20Shot%202017-11-29%20at%2016.32.07.png?dl=0)
 * The reason for the question about GTM is because Google Customer Reviews says
   in the implementation notes that the code should come before your Google Analytics
   code and I was wondering if your plugin checked for this?
 * As you can see from merchant center Google is not picking up anything. (See screenshot
   below.)
 * [https://www.dropbox.com/s/z7fy03zguh07ql0/Screen%20Shot%202017-11-29%20at%2017.00.16.png?dl=0](https://www.dropbox.com/s/z7fy03zguh07ql0/Screen%20Shot%202017-11-29%20at%2017.00.16.png?dl=0)
 * I was wondering if it could be related to Cloudflare.com or perhaps the WP-Security
   or WP-Rocket caching plugin? I have now deactivated both so if you want to have
   a quick look please feel free. But seeing as this is a production environment
   I can’t let them be deactivated for too long.
 * Hope you can find something? If I can help let me know!
 * Cheers
 *  Thread Starter [myatix](https://wordpress.org/support/users/myatix/)
 * (@myatix)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-working-582/#post-9734917)
 * Another thing I thought may impact your plugin is, have you tested it on a child_theme?
 * I also noticed you have the actual Google Customer Reviews script in your ecr-
   google-customer-reviews.php file. Perhaps it might be nicer to use “wp_enqueue_script”.
   Just a thought?
 *  Plugin Contributor [natekinkead](https://wordpress.org/support/users/natekinkead/)
 * (@natekinkead)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/plugin-not-working-582/#post-9738900)
 * [@myatix](https://wordpress.org/support/users/myatix/),
 * Thanks for all the info and questions.
 * I don’t see anything in the GCR integration guide about putting it before Analytics.
   In fact, I see the opposite… “Place the code just before the closing </BODY> 
   tag on the page. When placed with the survey opt-in code, the order does not 
   matter.”
 * I appreciate your suggestion of using wp_enqueue_script because I am also usually
   a stickler for this. However, in this case, it’s not only the external javascript,
   but also some inline javascript code that needs to come after the external js.
   So far, I have avoided using wp_enqueue_script because it might cause problems
   if it gets minified, deferred, and runs after the inline javascript code.
 * Anyway, back to the issue at hand, I’m hooking into ‘wp_footer’ to output the
   code snippet from Google. But, apparently it’s not working on your site.
 * Here are some things I would check…
    – The Avada theme should be using wp_footer(),
   but since you’re using a child theme, double-check the footer.php file to make
   sure it has that function. – WP Rocket is awesome. It should not cause any problems.
   I see that you have re-enabled it since I didn’t follow up as quick as you’d 
   like. But, when it’s deactivated, can you see the code snippet show up in the
   footer when you view source? Or, if you don’t want to deactivate WP Rocket, at
   least have you cleared the cache since you installed this? – Cloudflare is also
   awesome, but just to make sure it’s not causing any problems, try turning on “
   Development Mode” briefly and again view source to see if you find the code in
   the footer.
 * I hope this helps. Let me know how it goes.
 *  Plugin Contributor [natekinkead](https://wordpress.org/support/users/natekinkead/)
 * (@natekinkead)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/plugin-not-working-582/#post-9800713)
 * Let me know if you have any other questions.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Plugin not working…’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ecr-google-customer-reviews_b1cad0.
   svg)
 * [Google Customer Reviews for WooCommerce](https://wordpress.org/plugins/ecr-google-customer-reviews/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ecr-google-customer-reviews/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ecr-google-customer-reviews/)
 * [Active Topics](https://wordpress.org/support/plugin/ecr-google-customer-reviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ecr-google-customer-reviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ecr-google-customer-reviews/reviews/)

## Tags

 * [google merchant](https://wordpress.org/support/topic-tag/google-merchant/)

 * 5 replies
 * 2 participants
 * Last reply from: [natekinkead](https://wordpress.org/support/users/natekinkead/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/plugin-not-working-582/#post-9800713)
 * Status: resolved