Add Rewardful to your website

The final step is to add Rewardful to your website so that we can track visits, leads, and conversions.
These instructions have been prepared for The Copy Haus .

Instructions for Simvoly

Choose a different setup method
Step 1: Add the Rewardful tracking script
Copy the script below and paste it into the <head> on each page of your site (and app, if applicable). Paste this script in the section where you're allowed to add custom head codes or if you're using a third-party plugin for handling custom head codes, paste it into that section.
<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="f504d0"></script>
Copy
It must appear on every page of your application and marketing website.
Step 2: Set up a post-purchase thank you or confirmation page
After adding the code, create a thank you page or configure your Stripe checkout to redirect to a specific page after a successful payment.
Step 3: Track conversions on the thank you page
In the page where you redirect customers after a successful payment, add the custom code below in the page's <head> section:
<script>
  WebPlatform.onReady(async () => {
    const order = await WebPlatform.Store.Orders.getLastOrder();
    rewardful('convert', { email: order.customerEmail });
  });
</script>
Copy