Title: Google Data Layer: Price has wrong value
Last modified: August 12, 2019

---

# Google Data Layer: Price has wrong value

 *  Resolved [IRM](https://wordpress.org/support/users/irm89/)
 * (@irm89)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/google-data-layer-price-has-wrong-value/)
 * Hello. We have a problem with the Google Tag Manager for WordPress plugin.
 * In Woocommerce we have activated the following settings:
 * [https://ibb.co/6bsyZzy](https://ibb.co/6bsyZzy)
 * Unfortunately we have to keep this selection for technical reasons. It should
   not be changed.
 * The price in the Google Data Layer is displayed without tax although the option“
   Show prices in the shop: incl. VAT” is activated.
 * Bug?
 * Thank you for you’re help
    -  This topic was modified 6 years, 10 months ago by [IRM](https://wordpress.org/support/users/irm89/).

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

 *  Plugin Author [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * (@duracelltomi)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/google-data-layer-price-has-wrong-value/#post-11824215)
 * Hi,
 * GTM4WP simply queries the price of the product using WooCommerce’s own functions.
   So let’s say on a product detail page when we need to query the price, we simply
   ask WooCommerce to return this value without looking directly into the database.
 * If for some reason WooCommerce returns the price without VAT, this will be added
   into the data layer.
 * I’ve added a ticket about this into the GitHub repo of this plugin since as far
   as I can see this behavior could be changed easily:
    [https://github.com/duracelltomi/gtm4wp/issues/134](https://github.com/duracelltomi/gtm4wp/issues/134)
 *  Plugin Author [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * (@duracelltomi)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/google-data-layer-price-has-wrong-value/#post-11838657)
 * Just a quick follow-up: this has been added into the core and will be included
   in the next release of the plugin

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

The topic ‘Google Data Layer: Price has wrong value’ is closed to new replies.

 * ![](https://ps.w.org/duracelltomi-google-tag-manager/assets/icon-256x256.png?
   rev=1708451)
 * [GTM4WP - A Google Tag Manager (GTM) plugin for WordPress](https://wordpress.org/plugins/duracelltomi-google-tag-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duracelltomi-google-tag-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Thomas Geiger](https://wordpress.org/support/users/duracelltomi/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/google-data-layer-price-has-wrong-value/#post-11838657)
 * Status: resolved