Confirmation Output Tags

Upon a successful checkout with a custom order confirmation page configured, the following output tags are available.

NOTE: This requires the file order-confirmation.flex and must be tied to a page to render. These output tags will not load on any other FLEX file.

Output Tag Description
{fn_order_id} Order ID
{fn_order_total} Order Total
{fn_order_tax} Order Tax Total
{fn_order_shipping} Order Shipping Total
{fn_customer_name} Customer Full Name
{fn_customer_email} Customer Email
{fn_customer_phone} Customer Phone
{fn_payment_type} Order Payment Method/Type
{fn_payment_id} Order Payment Method/Type ID
{fn_payment_amount} Customer Payment Amount
{fn_customer_address_1} Customer Shipping Address 1
{fn_customer_address_2} Customer Shipping Address 2
{fn_customer_city} Customer Shipping City
{fn_customer_address_region} Customer Shipping Region/Country
{fn_customer_address_subregion} Customer Shipping Subregion/State
{fn_customer_postal_code} Customer Shipping Postal Code
{fn_order_transaction_g_universal} Google Universal Analytics addTransaction
{fn_order_item_g_universal} Google Universal Analytics addItem

The following output tags are available for the loop fn_order_item.

Operational Tag Description
{product_sku} Product SKU Number
{product_name} Name of the product
{product_variation} If any variations of the product. Example (blue, small)
{product_price} The price of the product for the customer
{product_quantity} The quantity of the product ordered


 {% loop fn_order_item %}
{% endloop fn_order_item %}

Ecommerce Analytics

Some customers like to capture analytics about their order to services such as Google Analytics. For your convenience, we have provided a working example of Google Analytics Ecommerce and Google Universal Analytics Ecommerce tracking code.

To use the code below, change XX-XXXXXXX-X to your account number. Please make sure you have google ecommerce tracking enabled:

NOTE: We highly recommend you use Google Universal Anaytics Code over Google Classic. To upgrade your Google Analytics account to Universal, click here.

To enable Ecommerce in your universal analytics account, please follow the link:

Universal Analytics
Google Classic Analytics
<script type="text/javascript">
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

  ga('create', 'XX-XXXXXXX-X', 'auto');
  ga('send', 'pageview');
  ga('require', 'ecommerce', 'ecommerce.js');

  //setup order transaction details

  //items to be added for transaction


<script type="text/javascript">
  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'XX-XXXXXXX-X']);
    '{fn_order_id}',                    // transaction ID - required
    '{business_name}',                  // affiliation or store name
    '{fn_order_total}',                 // total - required
    '{fn_order_tax}',                   // tax
    '{fn_order_shipping}',              // shipping
    '{fn_customer_city}',               // city
    '{fn_customer_address_subregion}',  // state or province
    '{fn_customer_address_region}'      // country
   // add item might be called for every item in the shopping cart
   // where your ecommerce engine loops through each item in the cart and
   // prints out _addItem for each
 {% loop fn_order_item %}
    '{fn_order_id}',                       // transaction ID - required
    '{fn_order_item.product_sku}',         // SKU/code - required
    '{fn_order_item.product_name}',        // product name
    '{fn_order_item.product_variation}',   // category or variation
    '{fn_order_item.product_price}',       // unit price - required
    '{fn_order_item.product_quantity}'     // quantity - required
{% endloop fn_order_item %}
  _gaq.push(['_trackTrans']); //submits transaction to the Analytics servers
  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

Start your free, no-risk trial today.