Integrating with Paywhirl

Out-of-the-box features:
  • Conversion tracking
  • Commission based on order amount
  • Track affiliate coupon code conversions
  • Supports lifetime commissions
  • Auto-handle recurring commissions
  • Auto-handle refunds and disputes
  1. In Paywhirl, go to the Apps and Integration tab and click Install App under to Custom Tracking Scripts.skitchOnce you have installed the app successfully you will see two different tabs on the settings page.

  2. In the Every Page box, place the following code:

    <script src="https://script.tapfiliate.com/tapfiliate.js" type="text/javascript" async></script>
    <script type="text/javascript">
        (function(t,a,p){t.TapfiliateObject=a;t[a]=t[a]||function(){
        (t[a].q=t[a].q||[]).push(arguments)}})(window,'tap');
    
        tap('create', '((((YOUR ACCOUNT ID))))', { integration: "paywhirl" });
        tap('detect');
    </script>
    

    {{{{NO_ACCOUNT_ID_SET_MESSAGE}}}}

  3. Hit save

  4. There are typically two different ways our customers setup using Paywhirl: Either for one-off purchases/commissions or recurring commissions. Select one of the codes, and place it in the Conversion page box.

    1. Recurring commissions:

      <script src="https://script.tapfiliate.com/tapfiliate.js" type="text/javascript" async></script>
      <script type="text/javascript">
          (function(t,a,p){t.TapfiliateObject=a;t[a]=t[a]||function(){
          (t[a].q=t[a].q||[]).push(arguments)}})(window,'tap');
      
          tap('create', '((((YOUR ACCOUNT ID))))', { integration: "paywhirl" });
          tap('customer', '{{ customer.id }}');
      </script>
      

      {{{{NO_ACCOUNT_ID_SET_MESSAGE}}}}
      The actual recurring commissions can be configured through Zapier. If you need help setting up, please contact support.

    2. If you are setting up for one-off commissions:

      <script src="https://script.tapfiliate.com/tapfiliate.js" type="text/javascript" async></script>
      <script type="text/javascript">
          (function(t,a,p){t.TapfiliateObject=a;t[a]=t[a]||function(){
          (t[a].q=t[a].q||[]).push(arguments)}})(window,'tap');
      
          tap('create', '((((YOUR ACCOUNT ID))))', { integration: "paywhirl" });
          tap('conversion', '{{ invoice.id }}', {{ invoice.subtotal }});
      </script>
      

      {{{{NO_ACCOUNT_ID_SET_MESSAGE}}}}

  5. Hit save and you are all done!

Important

Please remember to test a conversion before starting your program. This way you can verify that tracking has been set up correctly. You can create a test conversion by following the steps described here.

Start a 14-day free trial with all our features enabled