Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In the Ecommerce Transactions with Google Analytics, we can code as below:

    '1234',       // order ID
    'SitePoint',  // store
    '19.99',      // total
    '1.50',       // tax
    '3.00',       // shipping
    'Chicago',    // city
    'Illinois',   // state
    'USA'         // country

But I want to implement it for employer registration page where I wont get order_id and total fields. Instead can I use employer_id and company name by replacing oerder_id and store... Will it works ?

for reference you can see GA Ecommerce How to use it for employer registration ?

share|improve this question

You should create a Google Analytics profile for testing purposes. When you have modified your eCommerce tracking snippet to suit your needs and are satisfied with the results in GA you can then change the profile ID to a new account and start fresh. That's easier than trying to zero out transactions.

Remember though you do have custom variables to use _setCustomVar() https://developers.google.com/analytics/devguides/collection/gajs/methods/gaJSApiBasicConfiguration#_gat.GA_Tracker_._setCustomVar

A good article on uses of custom variables http://cutroni.com/blog/2011/06/14/5-google-analytics-custom-variables-for-ecommerce/

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.