Call Us at 877-474-8394 or +1-813-279-8888 | Help Login
Passing Transaction Data to a SiteWit Goal
 

Goals in SiteWit are assigned an average amount of revenue. In the case of sale leads for example, you would add the total sales generated from a set of leads and divide it by the number of leads that came in during that same period. If you sold a single product per goal then you would enter in the exact amount of revenue you receive from that goal. But many e-commerce systems sell a variety of products at different prices, which could lead to wildly skewed totals in the final sales invoice. So using SiteWit’s detailed transaction object will allow you to know much more precisely the ROI for each of your paid search campaigns, ads, and keywords. For most systems implementing this will require knowledge of you eCommerce system and in most cases server side code.

The following code is a template for recording a transaction’s values with your goal:

You can start with the goal code that is given to you when you create the SiteWit Goal, the [account_id] and [goal_id] will already be filled in as appropriate. From there you will want to use your shopping cart values/variables to replace the following fields in brackets [order_id], [affiliate], [subtotal], [tax], [city], [state], [country]. These are all optional, but the more data the better SiteWit will be at attributing your best clients to the campaigns or referrers that sent them to you. You can also add as many or as few item lines as you’d like, which could serve you in future reporting features.

If you need any assistance in setting up a transactions for you SiteWit goals please call our technical support and we’d be more than happy to help.