How to customize the Subscription Widget
- Before you start
- Approve the widget scopes
- Step 1 - Add the widget app block to your Shopify theme
- Step 2 - Access the canvas
- Step 3 - Review the trigger node
- Step 4 - Customize the widget experience
- Optional - Preview the widget
- Step 5 - Save and activate the widget
- Step 6 - Test the widget on your storefront
- Edit the widget
- Review Analytics
- Considerations
- Resources
The Subscription Widget empowers you to take your subscription offerings on the Shopify product page to the next level through a highly customized customer experience.
This guide provides set-up instructions so you can use the widget on your storefront.
- Shopify Checkout Integration
- Migrated Shopify Checkout Integration
Before you start
- This guide refers to the Subscription Widget (formally known as Subscription Widget 2.0). See Legacy Widget for information on the Legacy Widget (formally known as Subscription 1.0).
-
The Subscription Widget is available to stores that meet the following criteria:
- Utilizes Product Subscription Plans
- To confirm your store is using Product Subscription Plans, refer to How to confirm your store uses Product Subscription Plans
- Has a Shopify 2.0 theme published
- To confirm that you have a published Shopify 2.0 theme, refer to Confirming the version of your Shopify theme
- Utilizes Product Subscription Plans
- A/B testing and widget analytics are only available to Pro and Custom plan stores
- You can only use one subscription widget on a specific product template at a time
- You must disable the Legacy Widget when you enable the Subscription Widget
Approve the widget scopes
The first time you use the Subscription Widget, you’ll need to approve the required widget scopes in Shopify:
- Select Cross-Sell & Upsell in the merchant portal and click Product page.
- Click Get started.
- Click Approve permissions in Shopify to open your Shopify admin.
- Click Update. This will enable the following scopes:
write_pixels
read_customer_events
read_markets
- Navigate back to the Product page in Recharge and click Get started again to design the widget.
Step 1 - Add the widget app block to your Shopify theme
Add the widget app block to the product page in your Shopify theme:
- Select Themes under Online Store to open the Theme Editor in Shopify.
- Click Customize on the theme you wish to edit.
- Use the Page Selector drop-down at the top of the page to switch from the Home Page to the Product page. Select the relevant Product Template or use the default one.
- Review the Product page. Make sure to view the product page for a subscription product.
- Click Add section and select Apps.
- Select Subscription Widget depending on your plan and the type of widget you are creating.
- Drag and position the widget as needed.
- Save your changes.
- Optional - Repeat Steps 4-9 to add the widget to additional product templates.
Step 2 - Access the canvas
Open the flow canvas in your Recharge merchant portal to create and customize your widget:
- Select Cross-Sell & Upsell in the merchant portal and click Product page.
- Click Create widget from template.
- Select one of the following options:
- Standard widget: Update and customize the Subscription Widget. Available to all merchants.
- A/B test: optimize content and design: Use a pre-built A/B testing template to design and test two separate widgets to understand your customers’ preferences. Available to merchants on the Pro or Custom plans.
Step 3 - Review the trigger node
By default, when activated, Recharge shows the subscription widget to all customers whenever they open a product page for a product available as a subscription.
You can keep this as is, or add a condition so that the subscription widget only appears when a product uses a specific product template.
- Click on the Trigger node.
- Click Add to add a condition.
- Select Add product template to choose the the template.
- Choose the product template from the list of available templates. You can choose multiple templates.
- Click Apply to set the condition.
Optional - Review the A/B test node
Recharge adds the A/B test node to the template by default. The node is automatically set to give customers a 50/50 chance of entering either path. Click on the node to adjust the probability of a customer entering each path in the A/B test.
Step 4 - Customize the widget experience
Create and customize your widget directly in Recharge using the widget customizer:
- Click the Subscription widget node on the flow canvas.
- Click Customize subscription widget.
-
Update the following settings to edit and customize the widget experience:
Use the widget preview on the right-side of the page to preview your changes in real-time.
Default selections
Use the Default selections tab to confirm if customers should:
- Have the subscription or the one-time version of the product immediately selected when they access the product page
- See the one-time or subscription version of the product first when they access the product page
Styling
Change the widget colors, border radius, and size on the Styling tab.
Labels and inputs
Update the widget labels, such as “Subscribe and save”, “One-time” or the delivery frequency options.
Badge
Update the text and color for the subscription discount badge on the widget.
Benefits and information
Update the messaging customers see encouraging them to purchase the product as a subscription. This includes the discount amount, any benefits to subscribing, or drawbacks to making a one-time purchase, such as highlighting the discount amount they lose.
Variables
Use the following variables when designing your benefits and information content:
-
{discount}
: Use this variable in the Benefits text box to display the subscribe and save discount amount customers receive if they subscribe -
{maxDiscount}
: Use this variable in the One-time drawbacks text box to let customers know the maximum discount they miss out on by not subscribing
Learn more link
Recharge uses HTML and CSS to provide a default learn more template that highlights subscription benefits.
The content used in the default template is a collection of messaging that has been successful for other merchants. You can keep the text as is, or update the learn more content using HTML/CSS with more personalized information.
Interval labels
Update the interval labels used to display the subscription frequencies available for the product, such as the words “day”, “week”, or “month”.
Optional - Preview the widget
Preview the widget on your storefront before activating it to confirm it appears as intended:
- Click the Subscription widget node on the flow canvas.
- Select Customize subscription widget.
- Click preview in your store.
- Use the drop-down menu to select a theme to preview the widget. You can use your active theme, or select a draft theme to preview the widget on an unpublished theme.
- Search for a subscription product to use in your preview.
- Click Preview to open the widget on your storefront.
Step 5 - Save and activate the widget
You can test the automated experience before activating it to ensure it works as intended:
- Click Save in the top-right corner.
- Select Activate in the top right corner to enable the widget.
Step 6 - Test the widget on your storefront
Confirm that the widget acts and appears as you intended:
- Navigate to your Shopify storefront.
- Open the product page for a subscription product.
- Confirm that the widget appearance matches what you set in your Recharge merchant portal.
You can finish testing your widget here, or perform a test order to test the customer experience completely.
Edit the widget
You can change and edit the standard widget experience at any point, even after you activate the widget.
You cannot change the widgets configured as part of an A/B test experience after activating the experience. Recharge recommends duplicating your existing experience and applying your changes to the new one to make edits or update the widget.
Follow the steps below if you need to make any changes to A/B test widgets, including updating the benefit text or editing the interval labels:
- Select Cross-Sell & Upsell in the merchant portal and click Product page.
- Access the widget you want to duplicate.
- Click on the three vertical dots menu at top right and select Duplicate.
- Click on the Subscription Widget node to edit the widget. Click Apply to save your changes.
- Save and activate the widget.
- Navigate back to the Product page. Hover over the existing widget and click on the three vertical dots menu to reaccess the Actions menu.
- Click Deactivate to disable the original widget.
After deactivating the original widget, customers will only interact with the new widget that uses your applied changes.
Review Analytics
If you are on the Pro or Custom plan you can view widget analytics to track its performance. Tracking starts automatically as soon as you activate your widget, allowing you to monitor add-to-cart clicks and their resulting checkouts. Widget analytics excludes data from accelerated checkout buttons.
Click on the Performance tab to access the widget analytics.
- Review the widget analytics to gather more information on the following data points:
- Subscriber opt-in rate
- Page impressions
- Revenue
- Add-to-carts
- Checkout revenue
- Use the
Product
,Template
,Flow
, orA/B test
filters to filter your data and understand how customers interact with the widget.
checkout.liquid
theme file to customize the checkout experience. You must upgrade your Shopify Thank you page to ensure accurate tracking. Without Checkout Extensibility enabled, all subscription orders appear as one-time purchases (OTPs) in your Subscription Widget Analytics.Discrepancies between data sources
Subscription Widget analytics uses front-end pixels, which may result in missing data. It is expected that the data shown on the Subscription Widget Performance tab may differ from data available in Shopify, or other Recharge Analytics data.
Recharge doesn’t recommend relying on Widget Analytics as exact figures or a source of truth. However, this data is valuable for understanding trends and measuring the performance of your widget to optimize conversion rates and improve the customer experience.
Considerations
Consider the following when using the Subscription Widget or Advanced Subscription Widget:
Consideration |
Notes |
Bundles |
|
Product Subscription Plans |
|
Page builder apps |
|
Shopify themes |
|
Shopify Markets |
|
Price label |
|
Payment |
|
Resources
Getting Started resources
Set-up instructions
- How to customize the Subscription Widget
- How to create different widgets for individual products using product templates in Shopify using the Subscription Widget