Integrating Rewardful is a quick way to set up affiliate programs for your Subbly site. 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 to your program will receive a personalized dashboard where they can create and manage their affiliate links, stats and track their success.


Already have a Rewardful account?To set up the integration:

View the Subbly integration in our in-app onboarding or continue below.


To set up the integration:

There's 3 parts to the integration:

Adding the tracking code to your Subbly Conversion Tracking

In the Conversion Tracking Code section, add the following code:

<script>(function(w,r){w._rwq=r;w[r]=w[r]||function(){(w[r].q=w[r].q||[]).push(arguments)}})(window,'rewardful');</script>

<script async src='https://r.wdfl.co/rw.js' data-rewardful='YOUR-API-KEY'></script>

<script>
rewardful('convert', { email: '{{customer.email}}' })
</script>

Important: this 'convert' function should only be Conversion Tracking Code section and not on all checkout pages.

Important: replace YOUR-API-KEY in the 2nd script with your Rewardful API key found here.

Here's a screenshot of what the Conversion Tracking Codde settings will look like:

  • Click Save Changes

Adding tracking to the Checkout Pages

  • Next, reach out to the friendly support team at Subbly and ask them to add the following to every page in your checkout (the same first 2 scripts above):

<script>(function(w,r){w._rwq=r;w[r]=w[r]||function(){(w[r].q=w[r].q||[]).push(arguments)}})(window,'rewardful');</script>

<script async src='https://r.wdfl.co/rw.js' data-rewardful='YOUR-API-KEY'></script>

Important: You'll need to reach out to Subbly's support to add this since code can't be added to the checkout pages from your dashboard.

Important: replace YOUR-API-KEY in the 2nd script with your Rewardful API key found here (same as before).

If you want affiliates to send visitors directly to your checkout, then that's all the code you need to add. However, sending new visitors directly to the checkout likely isn't a great experience, so let's see how to add the tracking code to your site below (note: you can do this while waiting for the Subbly team to add your code to the checkout pages).

When complete, it should look something like this:

Adding tracking code to your marketing site

  • Add the following code to the <head> section of your website

<script>(function(w,r){w._rwq=r;w[r]=w[r]||function(){(w[r].q=w[r].q||[]).push(arguments)}})(window,'rewardful');</script>

<script async src='https://r.wdfl.co/rw.js' data-rewardful='YOUR-API-KEY' data-domains="YOURDOMAIN.COM, subbly.co"></script>

Important: replace YOUR-API-KEY in the 2nd script with your Rewardful API key found here (same as before).

**Important: replace YOURDOMAIN.COM in the 2nd script with your actual root domain. This is very important to enable cross-domain tracking.

If your website is hosted by Subbly

  • Click on Website Builder > Edit Site

  • Click on Dashboard

  • Click on Code Injection and add the code to the Before </head> end tag section:


Confirm your Installation

  • Back in Rewardful, click on Setup Complete and Confirm installation. It will open your site in a new tab, go ahead and close it and Refresh the Rewardful page. You should see a confirmation message.

You're all connected and can start inviting affiliates. 👍

Let us know if you run into any troubles and we can help you get set up!


Troubleshooting

My installation isn't confirming

  • Ensure you've added your Rewardful API key everywhere it says YOUR-API-KEY

  • Ensure Rewardful's tracking scripts are present on the URL you set in your Campaign Settings.

  • Try clearing your cache and retry confirming the installation. You might have an older version cached on your browser. Alternatively, try following the confirmation link in an incognito window.

My Leads and Conversions aren't tracking

  • On your own website or Subbly-hosted website, ensure you've replaced YOURDOMAIN.COM with your actual root domain.

  • Ensure Rewardful's convert function only appears on the Conversion Tracking Code section and not on all checkout pages.

Did this answer your question?