External Tracking with ConversionRuler
Tracking services can help determine the effectiveness of your web site marketing. FastSpring easily integrates with ConversionRuler to track and report your pay-per-click campaigns, email campaigns, banner advertisements, and affiliate links.
Initial Setup
ConversionRuler Setup
If you have not already done so, sign up for a ConversionRuler account. Login to your account and click the Manage tab. Click on Install tracking snippet.
Click on Conversion Action Snippets. Then click on Orders. In the Amount Code field, enter #{order.subTotal.value}
and in the Order ID Code field, enter #{order.id}
. Do not select the checkbox to the right of the field. Copy the order tracking code snippet by clicking on the scissors icon.
FastSpring Setup
Go to SpringBoard's Store Home » External Tracking. Click Add Tracking Method.
FastSpring offers three tracking types: Google Analytics, Google Adwords, and custom tracking. Select Custom Tracking and click Next. Enter in a Name, such as ConversionRuler, for this tracking method (the name is used for management purposes). Under Free-form XHTML Fragment / Script, enter in the order tracking code snippet from above, which you copied from ConversionRuler's website.
You will need to make a few minor edits to the order tracking code snippet you just entered. Before the changes, your code should look like the following:
<!-- ConversionRuler Action Script: Orders BEGIN --> <script type="text/javascript"> (function(){var d=document,u=((d.location.protocol==='https:')?'s':'')+'://www.conversionruler.com/bin/js.php?siteid=XXX'; d.write(unescape('%3Cscript src=%22http'+u+'%22 type=%22text/javascript%22%3E%3C/script%3E'));}());</script><script type="text/javascript"> var _crq = window._crq || [], cramount0 = '#{order.subTotal.value}', crtext0 = '#{order.id}'; cr_track('3');</script><noscript><div style="position: absolute; left: 0"><img src="https://www.conversionruler.com/bin/tracker.php?siteid=XXX&nojs=1&actn=3&cramount0=#{order.subTotal.value}&crtext0=#{order.id}" alt="" width="1" height="1" /></div></noscript> <!-- ConversionRuler Action Script: Orders END -->
Delete everything from <noscript>
to </noscript>
. Then add <div>
at the very beginning of the code and add </div>
at the very end of the code. After you have made these changes, your code should look like the following:
<div><!-- ConversionRuler Action Script: Orders BEGIN --> <script type="text/javascript"> (function(){var d=document,u=((d.location.protocol==='https:')?'s':'')+'://www.conversionruler.com/bin/js.php?siteid=XXX'; d.write(unescape('%3Cscript src=%22http'+u+'%22 type=%22text/javascript%22%3E%3C/script%3E'));}());</script><script type="text/javascript"> var _crq = window._crq || [], cramount0 = '#{order.subTotal.value}', crtext0 = '#{order.id}'; cr_track('3');</script> <!-- ConversionRuler Action Script: Orders END --> </div>
After you make the changes, click Next and click Save.
We're Here to Help
For assistance with integrating ConversionRuler with FastSpring, please open a support ticket.