Docs

Installation

Shopyflow installation takes place in 2 simple steps.

  1. Configuring Shopify
  2. Connecting to Webflow

Configure Shopify

Shopyflow requires a Storefront API access token to securely connect your Shopify Store to your Webflow site. To generate your Store API access token;

  1. Head to your Shopify Admin > Settings > Apps and Sales Channels section and click Develop apps link..

What’s a Rich Text element? What’s a Rich Text What’s a Rich Text element? What’s a Rich Text element?

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

What’s a Rich Text element? What’s a Rich What’s a Rich Text element? What’s a Rich Text ejklkjököbömnlement?What’s a Rich Text element? What’s a Rich Text element?

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

Shopyflow requires a Storefront API access token to securely connect your Shopify Store to your Webflow site. To generate your Store API access token;

1. Head to your Shopify Admin > Settings > Apps and Sales Channels section and click Develop apps link.

What’s a Rich Text element? What’s a Rich What’s a Rich Text element? What’s a  element?What’s a Rich Text element? What’s a Rich Text element?

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

Static and dynamic content editing

A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!

A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!

How to customize formatting for each rich text

Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.

Free ON WEBFLOW.IO DOMAINS

Meta Pixel & CAPI Integration

Meta Pixel & CAPI Integration

Guide

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"
Class name
Target elements
Can be placed anywhere in the site
No items found.
Attribute Name
Attribute Value
True or 1
Nesting Rule
Can be placed anywhere in the site
No items found.
Meta Pixel & CAPI Integration

Meta Pixel tracks customer interactions on Shopify stores, offering insights into the performance of Facebook and Instagram ads. Combined with the Conversions API, it ensures accurate data tracking and enhances retargeting efforts by sending data directly from the server.

IMPORTANT: Available only in Shopyflow version 1.0.3 and above. Make sure you update your Shopyflow version both in Webflow and in Shopyflow Dashboard.

Pixel

First off, we need to enable Meta Pixel in Webflow. We can do that in two different ways:

  1. Copying and pasting the Pixel code you got from Meta Ads Manager into Webflow page settings.
  2. Using Webflow's native integration as seen below.
IMPORTANT: Make sure you don't use Pixel Webflow integration and the Pixel code snippet at the same time.

GDPR

If your site has to be GDPR compliant, you need to delay loading Pixel until your customers give their consent. You can achieve this in two ways:

  1. Turning on the Delay toggle in the image above. This method requires granting consent programmatically after your customer gives consent. You can read more on this topic here.
  2. Using a solution like Finsweet's cookie consent. If you are using Finsweet's solution, make sure you are NOT using the native Webflow Pixel integration (the image above). It work only with Pixel code snippet that you get from Meta Ads Manager.

Next, go ahead and enable Pixel tracking for Shopyflow by adding pixel="true" attribute to your existing Shopyflow Engine code snippet as shown below.


<!-- Shopyflow CSS -->
<link rel="stylesheet" href="https://cdn.shopyflow.io/[VERSION]/shopyflow.css"/>

<!-- Shopyflow Engine -->
<script defer
sf-token="[STOREFRONT API KEY]"
sf-domain="[SHOPIFY STORE DOMAIN]"
src="https://cdn.shopyflow.io/[VERSION]/shopyflow.js"
pixel="true"></script>

Do NOT add a second Shopyflow code snippet to your Webflow site or use an example code snippet (like the one above) directly. Update your existing Shopyflow code snippet instead.

Once the code snippet is updated and the site is published, Shopyflow will start tracking the following Pixel events:

  • View Content
  • Add to Cart
  • Remove from Cart
  • Initiate Checkout (via Shopify in checkout)
  • Add Payment Info (via Shopify in checkout)
  • Purchase (via Shopify in checkout)

CAPI

You can enable CAPI tracking by adding capi="true" attribute to your existing Shopyflow Engine code snippet as shown below.


<!-- Shopyflow CSS -->
<link rel="stylesheet" href="https://cdn.shopyflow.io/[VERSION]/shopyflow.css"/>

<!-- Shopyflow Engine -->
<script defer
sf-token="[STOREFRONT API KEY]"
sf-domain="[SHOPIFY STORE DOMAIN]"
src="https://cdn.shopyflow.io/[VERSION]/shopyflow.js"
capi="true"></script> 

Do not add a second Shopyflow code snippet to your Webflow site or use an example code snippet (like the one above) directly. Update your existing Shopyflow code snippet instead.

Once the Shopyflow code snippet is updated and the site is published, follow these steps to complete your setup:

① Install the Shopify Facebook & Instagram app to enable the sales channel.

② In the Facebook app go to Data sharing section and set the sharing level to Maximum to enable CAPI on Shopify. Follow this guide to learn how.

③ In Data sharing section, connect your Pixel to your Shopify account if you haven't done it yet.

④ Go to Shopyflow Dashboard, enable advanced tracking and add your Pixel ID and CAPI Access Token to your store settings as shown below:

⑤ Make sure you use the same Pixel ID in Webflow and in Shopify.

Webflow app usage

Webflow app settings

Component contents

Available methods

No items found.

Guide

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.