# Google-analytics-ecommerce-tracking

The app allows you to track the sales, your customers, and their behavior. This helps you understand your customers and implement better marketing efforts.

## Installation <a href="#installation" id="installation"></a>

**Step 1:** Go to our [J2Commerce website](https://www.j2commerce.com/) > Extensions > Apps

<figure><img src="https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2FGkzgnbBpdyi6BdkXjmzP%2Fgoogle-1.webp?alt=media&#x26;token=96ed20bc-6d0c-4994-bf51-e0393ea0c815" alt=""><figcaption></figcaption></figure>

**Step 2:** Locate the Google Analytics eCommerce Tracking App > click View Details > Add to cart > Checkout.&#x20;

**Step 3:** Go to your My Downloads under your profile button at the top right corner and search for the app. Click Available Versions > View Files > Download Now

**Step 4:** Use the Joomla! installer to install the app. Go to System > Install > Extensions > Download the app

<figure><img src="https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2FkWoFTcrldK3R0xUdQO8a%2Fuser-group-3.webp?alt=media&#x26;token=4efdc59c-2a06-41a4-a60a-78168cf13e7f" alt=""><figcaption></figcaption></figure>

**Step 5:** Go back to System > Manage > Extensions.

<figure><img src="https://1405307842-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkVKvFBYm8luCOko7zt2v%2Fuploads%2FwZj6kUktGoWaoH0zZKJh%2Fuser-group-5.webp?alt=media&#x26;token=a6aa1f08-497e-454c-85b7-6478882baf66" alt=""><figcaption></figcaption></figure>

**Step 6:** Search for the app and enable it.

**Set up E-commerce Tracking in Google Analytics Account**

You need to enable e-commerce reporting in the view in which you want to see the data.

* Sign in to your Google Analytics account.
* Navigate to the desired account, property, and view.
* In the VIEW column, select Ecommerce Settings.
* Click the toggle ON.
* Optional: Turn ON Enhanced Ecommerce.
* Click Submit.

**Setting up the Application**

Now it's time to open the app and configure the settings.&#x20;

**Step 1:** Go to Components > J2Commerce > Apps. Enable the Google Analytics ECommerce App. Open it to configure it

**Tracking ID:** Enter your Google Analytics Tracking ID (Example: UA-XXXXX-X)

**Tracking Type:** If you know which type of analytics is enabled in your account, then you choose the type of JavaScript library here. Otherwise, leave it as Classic Google Analytics.

**Category / variations:** You can choose to send the product category or the variation data to Google Analytics. It may sometimes cause issues. If you think you are not receiving the Analytics data in your account, then set this to NONE.
