Integrating with Stripe

Stripe is a very flexible platform and each case is different.
- Stripe integration are only used in custom made websites. If you use any other platform/shopping cart (eg. Shopify, Wordpress) you need to follow the integration of that (eg. Shopify, Wordpress) platfom or shopping cart.
- If your website is custom made, the developers that created your website will know where to find the variables/tags you need to replace.

  1. Place the following code just after the <body> tag of every page of your website:

    <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}}}}

  2. Next, on your thank you page, add 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('conversion', '((((STRIPE CUSTOMER ID))))', ((((ORDER AMOUNT)))));
    </script>
    

As mentioned in the note above, the [[[[STRIPE CUSTOMER ID]]]] and the [[[[ORDER AMOUNT]]]] should be replaced by the actual Stripe customer id and order amount returned by Stripe after creating a payment. If you are planning on awarding recurring commissions, we suggest passing 0 as the order amount.

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