Title: ID is sent but its wrong code
Last modified: July 27, 2021

---

# ID is sent but its wrong code

 *  Resolved [achugar](https://wordpress.org/support/users/achugar/)
 * (@achugar)
 * [5 years ago](https://wordpress.org/support/topic/id-is-sent-but-its-wrong-code/)
 * In my case the identifier on Google Merchand is the SKU. So i set the SKU option
   on plugin setup. The problem is that the plugin is sending the wrong sku for 
   each product. I mean, for example, one product has as sku xxxxx aqnd another 
   is yyyyy, when you visit xxxxx the code sent to Google as ID is yyyyy
 * Capture: [https://pasteboard.co/Kdb9HEK.png](https://pasteboard.co/Kdb9HEK.png)
 * Im using wp-rocket but in the last version and also i have try to deactivated
   and it doesnt seems to be the problem
 * Thanks a lot

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

 *  Plugin Author [SweetCode](https://wordpress.org/support/users/alekv/)
 * (@alekv)
 * [5 years ago](https://wordpress.org/support/topic/id-is-sent-but-its-wrong-code/#post-14708389)
 * Hi [@achugar](https://wordpress.org/support/users/achugar/)
 * There are two problems. None of the is caused by our plugin.
 * Let me explain. The event with the ‘wrong’ product ID you showed in the screenshot
   is a `view_item_list` event. Those events are fired for the related and upsell
   products further below the page. That is coming from another plugin, since our
   plugin only fires the `view_item_list` event if a product actually becomes visible
   in the viewport. [https://take.ms/M5jAG](https://take.ms/M5jAG)
 * The event for the product you show is a `view_item` event. And our plugin sent
   the correct one: [https://take.ms/ICEZF](https://take.ms/ICEZF)
 * The other problem is, that the other Google plugin that is also sending events(
   probably some Google Analytics plugin) is not scoped correctly. This means it
   is not just sending its events to Google Analytics, but also to Google Ads, which
   is wrong. Our plugin **is** scoped correctly and only sends the events to Google
   Ads.
 * I would suggest you switch over from the other Google Analytics plugin to our
   Google Analytics implementation.
 *  Thread Starter [achugar](https://wordpress.org/support/users/achugar/)
 * (@achugar)
 * [5 years ago](https://wordpress.org/support/topic/id-is-sent-but-its-wrong-code/#post-14711123)
 * Thanks a lot for your time and answer.

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

The topic ‘ID is sent but its wrong code’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-google-adwords-conversion-tracking-tag/assets/
   icon-256x256.png?rev=2704744)
 * [Pixel Manager for WooCommerce – Conversion Tracking, Google Ads, GA4, TikTok, Dynamic Remarketing](https://wordpress.org/plugins/woocommerce-google-adwords-conversion-tracking-tag/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-google-adwords-conversion-tracking-tag/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-google-adwords-conversion-tracking-tag/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-google-adwords-conversion-tracking-tag/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-google-adwords-conversion-tracking-tag/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-google-adwords-conversion-tracking-tag/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [achugar](https://wordpress.org/support/users/achugar/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/id-is-sent-but-its-wrong-code/#post-14711123)
 * Status: resolved