Docs
Free ON WEBFLOW.IO DOMAINS

Google Merchant Center Integration

Integration
Integrate Google Merchant Center with your Shopify store in Webflow

Shopify Storefront data and cart logic is bound to your Webflow elements through Shopyflow attributes. Connecting your Webflow site to Shopify is done by adding custom attributes to your Webflow elements.

Yet, you are not required to type or edit attributes manually. Shopyflow provides you with the pre-configured components needed to create your store, as copyable Webflow elements right in Webflow designer.

All the copyable Shopyflow Components are native editable Webflow elements. There is no layout or styling limitation on any element.

In the below image hover your mouse on the hotspots to see all the required Shopyflow attributes to build a product page like this in Webflow

Webflow designer
Custom Attributes
sf-add-to-cart="1"
Custom Attributes
sf-change-quantity="1"
Custom Attributes
sf-change-option="{Option Name}"
Custom Attributes
sf-cart-count="1"
Custom Attributes
sf-change-option="{Option Name}"
Custom Attributes
sf-product="{Product ID}"
Custom Attributes
sf-show-image="1"
Attribute Name
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
No items found.
Google Merchant Center Integration
Method

Google Merchant Center makes it easy for e-commerce businesses to upload and manage their product listings for Google Shopping and other Google services. For Shopify owners, it helps attract more customers by showcasing their products in Google’s search results and ads.

Headless Shopify stores require an extra step when connecting to the Google Merchant Center. If you upload your product catalog to Google Merchant Center via Shopify, your ads will send your customers to Shopify and not to Webflow. For that reason you need to modify your product URLs in GCM via Attribute Rules (Feed Rules). Attribute Rules in GMC let you modify, combine, or transform product data in your feed without editing the actual source.

IMPORTANT: Relying on a redirect script on your Shopify theme to send visitors to your Webflow site can lead to violations of Google Merchant Center (GMC). Make sure to modify your product URLs in GCM using Feed Rules.

This guide assumes you already have a Google Merchant Center account and have synced your products. If you haven't done so yet, you can learn how to do it here.

Follow these steps to modify your product URLs in GCM using Feed Rules:

  1. Go to Google Merchant Center.
  2. Enable Attribute Rules by following this guide.
  3. After clicking your primary feed, navigate to the "Attribute rules" tab.
    • If you are on the home page you can find your primary feed by clicking Cog icon (top right) > Data sources > Primary sources
  4. Click "+ Add attribute rule".
  5. In the "Choose attribute" popup, select:
    • link (this is the product URL attribute)
  6. Click "Set to" (or "Modify") depending on whether it’s already set.
  7. In the editor that appears, click:
    • "+ Add modification""Find and replace"
  8. Type your domains into the fields below to replace your Shopify domain with your Webflow domain.

    Example:
    • Find: Your primary Shopify domain → zitcxq-rx.myshopify.com
    • Replace with: Your Webflow domain → mystore.com
  9. You’ll see a preview of the transformed URLs on the right..
  10. Click "Save as draft" → Then "Apply changes".
  11. Make sure to modify this rule whenever you change your primary Shopify domain or your custom Webflow domain. For instance when you change your primary Shopify domain from zitcxq-rx.myshopify.com to checkout.mystore.com
IMPORTANT: Do not forget to modify this rule when you change your primary Shopify domain or your custom Webflow domain.

You can check out this page to learn more about rules for product data sources in GMC.

Class name
Target elements
Can be placed anywhere in the site
No items found.

Webflow app usage

Webflow app settings

Inner components

Module contents

Available methods

No items found.

Integration

contents

No items found.

State management

No items found.

Related Utilities

No items found.
Can't find a solution? Join our Discord server to get an instant reply from our experts and the community.