|
Before you begin using Google Analytics with X-Cart:
| 2. | Sign in to Google Analytics and set up an account: |
| a) | Provide general information: Website's URL (URL of the site you wish to track), Account name (a name as it should appear in your Google Analytics reports), Time zone country or territory and Time zone. |
Note: If you'd like to track more than one website, you can add more sites once your account has been set up.)
| b) | Provide your contact information: Last name, First name, Phone number, Country or territory. |
| c) | Accept the User Agreement. |
You will then be provided with a snippet of code. In this snippet, you will find a line like the following:
var pageTracker = _gat._getTracker("UA-xxxxxx-x");
In this line, the value that stands in the place of "UA-xxxxxxx-y" is your account number. Later, you will need to enter this number into the 'Google Analytics account number' field on the 'General settings/Google Analytics' page of your store.
| 3. | If you wish to use E-Commerce Analysis, let Google Analytics know that your site is an e-Commerce website. To do so, edit the profile settings of your store's website in your Google Analytics account as follows: |
| a) | In the 'Website profiles' section, click the 'Edit' link opposite your store website URL. The 'Profile Settings' page for the selected website opens. |
| b) | On the 'Profile Settings', click the 'Edit' link at the top of the 'Main Website Profile Information' box. |
| c) | Set the option 'E-Commerce Website' to Yes. |
| d) | Click the Save Changes button. |
After you have completed the above steps, you can go to the administration back end of your store to enable and configure Google Analytics module:
| 1. | Go to the 'Modules' section of your store (Administration menu->Modules) and enable Google Analytics module. |
When the module is enabled, a section titled 'Google Analytics' appears in General settings/Modules options.
| 2. | Use the 'Google Analytics' section to adjust the module settings: |

| a) | Google Analytics account number: Copy your account number from the code snippet provided to you as a result of Google Analytics account signup and paste it into this field. |
| c) | Click the Save button to save the changes. |
|