Skip to main content
All CollectionsPlatform IntegrationsOther Integrations
Integration with Stripe Pricing Table
Integration with Stripe Pricing Table

Integrate Rewardful using Stripe Pricing Table

Charles Rosel avatar
Written by Charles Rosel
Updated over a week ago

Integrating Rewardful is a quick way to set up affiliate and referral programs for your landing pages. We automatically track referred Visitors, Leads, and Conversions from your affiliates, customers, influencers, and/or partners. Commissions are automatically adjusted for any billing event changes such as downgrades, upgrades, free trials, cancellations, and refunds.

Each person that signs up for your program will receive a personalized dashboard where they can create and manage their affiliate links, stats, and track their success.

To set up the integration:

I. Add your Rewardful Tracking Script in your Site's Head section

Grab your Rewardful script from STEP 1 on the JavaScript integration page (Note: you don't need to add Step 2 as another code will handle the referral UUID).

Note: For sites using Google Tag Manager, use this version of the STEP 1 script.

Paste the STEP 1 script in the head section page builder or if you're using a third-party plugin where you can add custom head codes, paste it into that section.

II. Add the jQuery library from Google CDN

Copy the code below and paste it right below where you added the Rewardful tracking script:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>

III. Add the final set of codes for your Stripe Pricing Table

  • Go to the page where the Stripe Pricing Table is located.

  • Create a custom HTML block after the section where the Stripe Pricing Table is or create the custom HTML block at the bottom of the page.

    Note: For WordPress Elementor users, paste the code below in the plugin section where you add custom codes (not on the page where the Stripe Pricing Table is embedded).

    Paste the code at the end of the body tag and run it only on the page where the Stripe Pricing Table is located.

  • Copy the code below and paste it on the custom HTML block:

<script>
$(document).ready(function(){
setTimeout(function() {
const referralId = Rewardful.referral;
$('stripe-pricing-table').attr('client-reference-id', referralId);
}, 2000);
});
</script>

IV. Confirm your setup

  • Go back to your Rewardful dashboard, click the Ok I've completed this button (IGNORE STEP 2).

  • On the next set of instructions, open the link that has a ?via=install on an incognito window or private browser, and let your site fully load.

  • Go back to your Rewardful dashboard and refresh the page. If the STEP 1 tracking script is correctly placed it will confirm your Rewardful initial dashboard setup.

  • If there's no confirmation, please chat with us or email us so that we can check things for you.

Did this answer your question?