Volusion integration
An all-in-one ecommerce solution.
You can add your tracking scripts to a specially-designated articlewithin your Volusion store.
Website text article 130 is the proper place for integration. Youcan access this article using the following steps:
Login
- Log into your Voluison store’s Admin Page and click on the Designtab.
- Click on the Site content link in the menu bar.
- Next, scroll down through the following page until you find articleID 130.
- Click the article ID number to edit it
Integration
Add this sale tracking code into the ArticleBody field:
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">PostAffTracker.setAccountId('Account_ID');var sale = PostAffTracker.createSale();
sale.setTotalCost($(SubTotal));
sale.setOrderID($(OrderNo));
PostAffTracker.register();
</script>
Click the Save Changes button.
Product ID matching
If you want to go with a solution that tracks per product commission, use this code instead the one in step 2.
<script id="pap_x2s6df8d" src="https://URL_TO_PostAffiliatePro/scripts/trackjs.js" type="text/javascript"></script>
<script type="text/javascript">
if( typeof Order != 'undefined' ) {
for (var i=0; i < OrderDetails.length; i++) {
var sale = PostAffTracker.createSale();
sale.setTotalCost(OrderDetails[i][5] * OrderDetails[i][6]);
sale.setOrderID(OrderDetails[i][0] + "(" + i + ")");
sale.setProductID(OrderDetails[i][2]);
PostAffTracker.register();
}
}
</script>
You’re finished! Once the tracking script has been saved into thearticle body, it will be populated within your Volusion store andshould have access to its relative conversion analytics service.
In case you need some additional information please take a look at this page:
https://helpcenter.volusion.com/know-your-numbers/insights-101/how-to-install-roi-tracking-conversion-code-on-your-site