Title: Don&#8217;t show prices in source code
Last modified: January 26, 2021

---

# Don’t show prices in source code

 *  [rolfvanes](https://wordpress.org/support/users/rolfvanes/)
 * (@rolfvanes)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/dont-show-prices-in-source-code/)
 * We have serveral clients that has a B2B webshop where we hide the prices for 
   non-logged-in users. The prices are secret for consumers because this is a B2B
   website and the prices are different than the B2C websites.
 * On this side the prices are hidden but they show in the source code: data-gtm4wp_product_price
   =. Is it possible to hide this price in the source code as well untille a users
   will login and has the rights so see the prices?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdont-show-prices-in-source-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Don’t show prices in source code’ 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/)

## Tags

 * [login](https://wordpress.org/support/topic-tag/login/)
 * [PRICES](https://wordpress.org/support/topic-tag/prices/)

 * 0 replies
 * 1 participant
 * Last reply from: [rolfvanes](https://wordpress.org/support/users/rolfvanes/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/dont-show-prices-in-source-code/)
 * Status: not resolved