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 Google Tag Manager (GTM)

Choose a different setup method
Step 1: Add Rewardful's code snippet to GTM
Copy and paste the code snippet below into Google Tag Manager:
<script>
  (function(w,r){w._rwq=r;w[r]=w[r]||function(){(w[r].q=w[r].q||[]).push(arguments)}})(window,'rewardful');

  (function() {
    var el = document.createElement('script');
    el.setAttribute('src', 'https://r.wdfl.co/rw.js');
    el.setAttribute('data-rewardful', 'f504d0');
    document.body.appendChild(el);
  })();
</script>
Copy
Google Tag Manager has a bug that strips away HTML attributes from tags, which is why the Rewardful script tag is being dynamically inserted. Learn more →
Step 2: Track the conversion on your thank-you page
Copy and paste the code snippet below onto your thank-you page, or whatever page is displayed to the customer immediately after checkout.
Replace customer@example.com with the customer's email address.
Copy
⚠️ Replace customer@example.com with your customer's email address.
It must be the same email address associated with the Stripe customer object.