//
// Create a fake order ID using the current
// time and the unique identifier that GA uses to
// track this visitor.
//
var timeObj = new Date;
var unixTimeMs = timeObj.getTime();
var unixTime = parseInt(unixTimeMs / 1000);
var orderID = pageTracker._visitCode() + '-' + unixTime;
//
// This function assigns order values depending
// on what has been clicked and submits the transaction
//
function subscriptiontracker(subtype,value)
{
pageTracker._addTrans(
orderID, // Order ID
"", // Affiliation
value, // Total
"", // Tax
"", // Shipping
"", // City
"", // State
"" // Country
);
pageTracker._addItem(
orderID, // Order ID
subtype, // SKU
subtype, // Product Name
"blog", // Category
value, // Price
"1" // Quantity
);
pageTracker._trackTrans();
alert("Test successful");
}