Integrating with Paywhirl

  1. In Paywhirl, go to the Apps and Integration tab and click Install App next to Custom Tracking Scripts
  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))))');
        tap('detect');
    </script>
    

    {{{{NO_ACCOUNT_ID_SET_MESSAGE}}}}

  3. Hit save

  4. There are typically two different ways our customers want to setup using Paywhirl: Either for one-off purchases/commissions or recurring commissions

    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))))');
          tap('conversion', '{{ customer.id }}', 0);
      </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))))');
          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

Start now