Customizing the Recharge checkout
Orders with at least one recurring subscription item are directed through the Recharge checkout. The checkout has a standard layout but can be customized and adjusted to match with your needs in the Recharge settings. This guide provides an overview of the Recharge checkout settings, integrations, controls and customizations that can be made.
- Recharge Checkout on BigCommerce
Merchants using the Shopify Checkout Integration can refer to Shopify's guide on customizing the style of your checkout.
Before you start
The checkout is where your customer enters their personal information like credit card details and shipping address. The Recharge checkout is a secure environment and is PCI compliant. In order to provide the highest level of security, broad changes and edits to the checkout are not allowed.
Customize the style of your checkout
- In the merchant portal, click Storefront and select Checkout.
- Enter your customizations in the Styles section.
- Enter your Logo or Favicon URLs.
- Customize the colors and font for your button, links, and more.
- Add custom CSS in the CSS editor box.
- Click Save.
Change the checkout URL
When the cart page has at least one subscription product, the order is processed by the Recharge checkout and this will be reflected in the URL as checkout.rechargeapps.com.
If you are on Recharge Pro, you can change the checkout URL. Refer to the guide Setting up a custom checkout domain.
Checkout page controls
You can customize your checkout settings depending on the requirements of your store. In the merchant portal, click Storefront and select Checkout to enable any of the following settings:
- Enable Google Pay (if using Stripe)
- Require reCAPTCHA verification
- Choose to display or hide the subscription details on the order summary
- Add the Facebook Pixel ID
Require reCAPTCHA verification
You have the option to enable reCAPTCHA verification to prevent spam orders from going through your checkout. This added security layer enhances Recharge's checkout security by telling humans and bots apart.
To enable reCAPTCHA verification:
- In the merchant portal, click Storefront and select Checkout.
- In the Checkout page controls section, click the check box to Require reCAPTCHA verification.
- Click Save.
Once enabled, a mandatory reCAPTCHA checkbox will appear at the bottom of the first checkout page.
Facebook Pixel tracking
You can add your Facebook pixel ID in the Checkout page controls section. This triggers on the Thank You page after checkout has been completed.
The Facebook Pixel ID tracks the InitiateCheckout and the purchase events when a customer enters the checkout page and completes the purchase.
Note: The default Facebook tracking code on the thank you page only tracks currency, total price, and the Facebook tracking ID. You can track all three as well as the product id, variant id, and SKU by adding your own version of the Facebook code to checkout.
To add your own Facebook Pixel ID:
- Locate your Facebook Pixel ID. Refer to Facebook's guide to retrieve your Facebook Pixel ID.
- Click Storefront in your merchant portal and select Checkout.
- In the Checkout page controls section, fill in the Facebook pixel ID field
- Click Save.
It is important to note that if you enter the Facebook ID in the Recharge settings and also put a Facebook tracking code in the Additional & scripts and trackers section, the Recharge system automatically detects it and does not show the default pixel we provide on the Thank You page.
Thank you page and tracking
You can add any additional scripts you would like to appear on the Thank You page, including code for ROI/conversion tracking and partner tracking systems. Visit Variables for email notifications and scripts to see a list of variables available for this section.
- Click Storefront in your merchant portal and select Checkout.
- Enter your script for the Thank You page via the Thank you page text box and click Save.
- Make sure you preview the script to ensure everything is functioning properly by clicking Preview in the top right of the text box.
First-time page load tracking
You may need to track pixels based only on the first time the checkout page is loaded. You will need to surround the code you include with the following if statement:
{% if first_time_load %} [YOUR CODE HERE] {% endif %}
This will ensure that customers who refresh the page are not tracked more than once.
If you're debugging code within the first_time_load if statement, append &show_scripts=true
to the Thank You page on checkout URL to force the scripts to load.
FAQ
Additional resources
You can find more detailed information and recipes for customizing the Recharge checkout in the Developer Docs.