Integrating with Fastspring

Whether you’re using FastSpring Contextual Commerce, or the Classic Store, installing the Tapfiliate tracking code is easy! This guide will cover both integration options.

Classic Store Instructions

  1. In the Fastspring admin area select External tracking > Add tracking method > Custom tracking Method
  2. As the name for this tracking method, pick “Tapfiliate tracking code” or something similar.
  3. Check Apply to all pages
  4. Select the (before)box and add the following code:

        <script type="text/javascript">
            var tapjs = document.createElement('script');
            tapjs.setAttribute("src", "");
            tapjs.setAttribute("async", true);
            tap('create', '((((YOUR ACCOUNT ID))))', {include_methods: ['3p']});
                <when test="#{complete}">
                    tap('conversion', '#{}', #{order.subTotal.value});


  5. Hit next

  6. In the actions panel in the top right corner, move the switch from test to active

  7. Hit save

  8. Lastly, go to your programs advanced settings and set your tracking method to ‘redirect’

  9. Hit save and you’re all done!

Contextual Commerce Instructions

  1. In the FastSpring Contextual Commerce admin area select Integrations > Webhooks
  2. Click on add browser script
  3. Note Tapfiliate as the name
  4. Check Events (browser.order.completed)
  5. Add the following code to the function box

    function(event) {
        this.load('', function(){
            tap('create', '((((YOUR ACCOUNT ID))))');


  6. Hit add, and you’re all done!


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