FastSpring Affiliate Solution

Last modified November 1, 2018

This article applies to Contextual Commerce. (Looking for Classic Commerce documentation?)

FastSpring works with a trusted partner, Impact, to provide affiliate marketing solutions for our clients.

For more information about setting up an account with Impact, please contact support@fastspring.com.


To Set Up Integration with Impact Automatically

FastSpring now offers an automated solution to help you set up integration with Impact. This process will actually step you through the implementation automatically, and you just need to copy and paste the details from your Impact account in a couple of places, when prompted.

To launch the Impact integration walk-through, simply log on to the Dashboard and then click or copy and paste the following link:

https://dashboard.fastspring.com/site/store/home.xml?walkme=625110

Important note about the automated walk-through

When using the automated walk-through, you actually do not need to click anything other than the Start button at the beginning. The walk-through will show you what it is doing, and do it for you. When it is time for you to take control and paste in some information, the walk-through will pause and display a Next button. When you see the Next button, follow the walk-through's on-screen instructions and then click Next.


Manual Step-by-Step Instructions

If you prefer to step through the setup process manually, please use the following procedure:

  1. From the Integrations menu of the Dashboard, select the Webhooks tab.
  2. Click ADD WEBHOOK.
  3. In the Name field, enter the name Impact Sales Tracking.
  4. Click ADD.
  5. Inside the newly created Impact Sales Tracking webhook configuration, click ADD BROWSER SCRIPT.

    A newly created webhook configuration with the ADD BROWSER SCRIPT command highlighted

    A new browser script will be created and a dialog will open to let you configure the browser script.

    The Add Browser Script dialog

  6. In the Name field of the new browser script, enter Impact Sales Tracking - <id>.
  7. Still in the Name field, use your keyboard to replace <id> with your Impact Sales Tracker ID. If you need help finding your Sales Tracker ID, click the link below to open an animated illustration in a new browser tab.

    Finding Your Impact Sales Tracker ID



  8. Under Events, select the check box next to browser.order.completed.

  9. Using your mouse, select all of the placeholder text in the Function field, and then press Delete or Backspace on your keyboard to delete it.
  10. Copy the following JavaScript function and paste it into the Function field:

    JavaScript function for Impact tracking
    function (event) {
    
       this.load(‘https:{{{Universal Tracking Tag Script URL}}}’, function() {
    
           var trackingObject = {};
    
           trackingObject.orderId = event.data.reference;
           trackingObject.customerId = event.data.account;
           trackingObject.currencyCode = event.data.currency;
           trackingObject.items = [];
    
           if (event.data.coupons &amp;&amp; event.data.coupons[0]) trackingObject.orderPromoCode = event.data.coupons[0];
    
           event.data.items.forEach(function(item){
               trackingObject.items.push({
                   subTotal: item.subtotal,
                   category: “digital”,
                   sku: item.product,
                   quantity: item.quantity
               });
           });
    
           ire(‘trackConversion’, {{{Universal Tracking Action ID}}}, trackingObject);
       });
    
    }



  11. Still in the Function field, select the {{{Universal Tracking Tag Script URL}}} and replace it with the "General Tracking Settings URL" from your Impact account.  If you need help finding your General Tracking Settings URL, click the link below to open an animated illustration in a new browser tab.

    Finding your General Tracking Settings URL



    When you are done, the full line should appear similar to the following but with your own URL:

    this.load(‘https://d.impactradius-event.com/A125843-c069-4643-8daa-061b2e5249d31.js’, function() {


  12. Scroll down to the bottom of the Function field, and then select the {{{Universal Tracking Action ID}}} and replace it with your Sales Tracking ID; that is, the same value you used in the Name field above to replace <id>.

    When you are done, the full line should appear similar to the following but with your own Sales Tracker ID:

    ire(‘trackConversion’, 7821, trackingObject);
  13. Click ADD.


Historical Impact Tracking Instructions

In case you need to view the previous instructions for integrating with Impact, click the link below.  Bear in mind that the info below is provided for historical purposes only.  It is no longer accurate and the instructions provided will no longer work to set up your Impact integration correctly.

  Click here to view historical configuration instructions

To set up JavaScript tracking code injection

HISTORICAL INFORMATION WARNING

IMPORTANT: The following information is retained for historical purposes only. This will no longer work to establish integration with Impact. Please use the instructions above instead of the following process.
  1. From the Dashboard, select the Integrations menu. The Extensions tab will be selected by default.

    Integrations menu

    Example of the Extensions tab with Impact Radius highlighted

     
  2. Click Impact Radius.
     
  3. In the popup window that appears, click SETUP.

    Example of the setup popup window
     
  4. In the field labeled ImpactRadius Affiliate Script Source, copy and paste the src value found in your Impact Radius account control panel via Campaign Settings > Action Trackers Select > Tracking Code > JavaScript Code.

    You do not need to copy the entire snippet of JavaScript code found in the Impact Radius control panel. Instead, paste in only the value from // through .js.  See the example below.

    Example of the ImpactRadius Affiliate Script Source field
     
  5. Click ENABLE to complete the setup.