Shopify Exposing Gated B2B Pricing to Google

We’re encountering an issue where our gated B2B wholesale pricing is being exposed in our page source code for non-logged in users and web crawlers. As a result, our pricing is accessible to Google for meta descriptions and competitor crawlers. The problem occurs specifically inside of this Shopify Analytics code block:

<script id="web-pixels-manager-setup">

The out-of-the-box Shopify options are severely limited. Shopify Support suggested restricting store access to logged-in B2B customers only, but that prevents valuable brand exposure and restricts end users from crucial information such as replacement parts and product specs.

The only alternative solution presented to us was the following:

Customize the Web Pixels API to suppress or omit price data for unauthenticated sessions this is the targeted fix that keeps your product pages publicly accessible while stopping pricing from being exposed in the script.

Has anyone else encountered this issue? It feels like a sizable problem for Shopify Plus B2B users and hopefully a more intuitive solution is available sooner rather than later.

1 Like