Collapse Menu
Classic Docs
Digital Products and Fulfillments
Order Page Config, Design and Page Flow
Advanced Features
Subscriptions and Saasy
Your Account
Contact Support

Web Analytics with VisiStat

Overview

This article will teach you how to integrate FastSpring with VisiStat's web analytics service, whose platform provides real-time monitoring of your traffic, visitor behavior and SEO effectiveness. You must have your own account with VisiStat.

This article will teach you how to integrate FastSpring with VisiStat's web analytics service, whose platform provides real-time monitoring of your traffic, visitor behavior and SEO effectiveness. You must have your own account with VisiStat.

Setup Process

Go to SpringBoard's Store Home » External Tracking » Add Tracking Method. Select Custom Tracking.

externaltracking.pngaddtracking.png

Enter in a name for your custom tracking method. Enter in the code below. You will need to replace the DID number in the code below with your VisiStat DID number.
 

<!--CONVERSION SNIPPET//-->
<div>
<script type="text/javascript">
var DID=123456;
var ConvName     = 'Order';
var ConvDesc     = '#{order.id}';
var ConvSubTotal = '#{order.subTotalUSD.textValue}';
var ConvTax      = '#{order.taxUSD.textValue}';
var ConvTotal    = '#{order.totalUSD.textValue}';
var ConvMisc1    = '';
var ConvMisc2    = '';
var ConvMisc3    = '';
var ConvMisc4    = '';
var ConvMisc5    = '';
</script>
<script src="https://sniff.visistat.com/conversion.js"></script>
</div>
<!--CONVERSION SNIPPET//-->

Go to SpringBoard's Store Home » Styles. Select your style template. Download the style template zip. Unzip this file.

Copy the code below and replace the DID number with your VisiStat DID number

var DID=123456;
var pcheck=(window.location.protocol == "https:") ? "https://sniff.visistat.com/live.js":"http://stats.visistat.com/live.js";
document.writeln('<scr'+'ipt src="'+pcheck+'" type="text\/javascript"><\/scr'+'ipt>');

Save the file as visistat.js in the root folder (the same folder as your window.xhtml file).

Open the window.xhtml file in a code-editing software (we suggest Komodo Edit, which is free and open-source). Immediately after the <body> tag, link to the JavaScript file, but copying the code below. Save the window.xhtml file.

<script type="text/javascript" src="visistat.js"/>

Rezip the style template zip, which will now include the viststat.js file, and upload the style template, replacing the one you downloaded.

Try FastSpring

Get a free account and see why FastSpring is the ecommerce partner of choice for software providers around the world. Try our full-service ecommerce solution today to unlock revenue growth for your online company.