Ecommerce Tracking With Google Analytic

Post on 21-Nov-2014

144 views 3 download

Tags:

description

know how to do ecommerce tracking for google analytic. Ecommerce tracking code example in google analytic.

transcript

Google Analytic

Understanding eCommerce Tracking

Some Basics

How It Works

How To Setup1.Click Admin from the menu bar at the top of any screen in Analytics.2.Use the drop down menus to select the Account, Property, and View.3.Click View Settings.4.In the Ecommerce Settings section, click the toggle so it says ON5.Click Save at the bottom of the page.

eCommerce Code

_addItem()

_addItem(transactionId, sku, name, category, price, quantity)

_gaq.push(['_addItem', '1234', // transaction ID - necessary to associate item with transaction 'DD44', // SKU/code - required 'T-Shirt', // product name - necessary to associate revenue with product 'Olive Medium', // category or variation '11.99', // unit price - required '1' // quantity - required ]);

_addTrans()

_addTrans(transactionId, affiliation, total, tax, shipping, city, state, country)

_gaq.push(['_addTrans', '1234', // transaction ID - required 'Womens Apparel', // affiliation or store name '28.28', // total - required; Shown as "Revenue" in the // Transactions report. Does not include Tax and Shipping. '1.29', // tax '15.00', // shipping 'San Jose', // city 'California', // state or province 'USA' // country ]);

_gaq.push(['_setAccount', 'UA-XXXXX-X']);_gaq.push(['_trackPageview']);_gaq.push(['_addTrans', '1234', // transaction ID - required 'Womens Apparel', // affiliation or store name '28.28', // total - required '1.29', // tax '15.00', // shipping 'San Jose', // city 'California', // state or province 'USA' // country]);_gaq.push(['_addItem', '1234', // transaction ID - necessary to associate item with transaction 'DD44', // SKU/code - required 'T-Shirt', // product name 'Olive Medium', // category or variation '11.99', // unit price - required '1' // quantity - required]);_gaq.push(['_trackTrans']);

Overview Of Account

Product Performance

Transactions

Time To Purchase

Get In Touch

@amolpomane