Netcash Shop Help Center

Netcash Shop Help Center

How to track which storefront an order came from

Since Netcash Shop can be easily installed at several locations at the same time, you’ll probably prefer to create several storefronts. For example, there could be

  1. the “main” store placed on your site,
  2. the store on your FB fan page,
  3. the store on your blog pages.

As they all are instances of your store, all the orders will be listed on the My Sales → Orders page in your control panel. However, you can be interested in finding order sources, for example, in order to find out what storefront is more efficient. Netcash Shop allows to mark orders coming from different storefronts in a special manner. Here is how to use the feature.

This feature is available for Business and Unlimited subscribers.
Table of contents
  • Add a definition of special ID (‘Affiliate ID’) in your integration code
  • Find corresponding storefront IDs in order details in your control panel

Add a definition of special ID (‘Affiliate ID’) in your integration code

Insert the following line:

<script> xAffiliate("affiliate_id"); </script>

between these parts of the code:

<script type="text/javascript" src=""
charset="utf-8"> </script>


<script type="text/javascript"> xProductBrowser("categoriesPerRow=3",
"views=grid(3,3) list(10) table(20)","categoryView=grid","searchView=list","style=");

So, for example, it may look like this:

<script type="text/javascript" src=""
<script> xAffiliate("affiliate_id"); </script>
<script type="text/javascript"> xProductBrowser("categoriesPerRow=3",
"views=grid(3,3) list(10) table(20)","categoryView=grid","searchView=list","style="); 

In the codes above, the ‘affiliate_id’ string should be replaced with an ID (any string you want) that you decide to mark a storefront with. For example:



xAffiliate("My blog");

Find corresponding storefront IDs in order details in your control panel

All placed orders will be marked with an assigned affiliate ID. You can find this id in order details in your control panel. Also, the IDs appear in a CSV file with exported orders and, moreover, they can be obtained by means of our API. So you can use the results in different ways:

  • track order sources manually in Netcash Shop control panel,
  • export all your orders and process the data in an Excel or Google Docs Spreadsheets,
  • create a custom tool that will use the Netcash Shop API for further processing of orders data, for example, for calculating revenue from each storefront.

By the way, the described tool can also be used for affiliate marketing in Netcash Shop – just give your integration code with an assigned affiliate ID to your affiliate so that your whole store will be displayed on their site. You will be able and track sales coming from their sites by this ID. 

On this page