Quick Answer: Where To Put Google Analytics Code In Magento?

Login to your Magento 2 admin area and navigate to Stores → Configuration. Access the Sales Google API section, expand the Google Analytics option, Enable it and paste the tracking code in the Account Number field. Also click on the Save Config button to apply the changes.

How do I install Google Analytics code in Magento 1?

Log in to the admin panel and then open System -> Configuration tab in the top menu:

  1. Next step is to enter your Google Analytics tracking code to the Account Number field and set Enable option to Yes to display Google Analytics Tracking Code on the website’s pages.
  2. Click on the Save Config button to save these changes.

How do I activate Google Analytics in Magento?

Scroll down the configuration page and click on Google API under the SALES tab. Unfold the Google Analytics section, and select Yes from the Enable drop down menu, enter the Tracking ID (which you copied in the first step) in Account Number text field and select Yes from the Enable Content Experiments drop down menu.

Where do I put Google Analytics code on my website?

The Google Analytics tag should be added near the top of the <head> tag and before any other script or CSS tags, and add the property ID of the Google Analytics property you wish to work with.

How do I add Google Analytics code to my header?

Log in to your WordPress dashboard and navigate to Appearance » Theme Editor. Now click the Theme Header (header. php) file on the right-hand side below the Theme Files section. Paste the tracking code you just copied from your Analytics profile before the closing </head> tag.

You might be interested:  Who Needs Crm Analytics?

How do I add Google Analytics to Magento 2?

Log in to your Magento 2 admin panel. Go to Stores > Configuration > Sales >Google API. Expand the Google Analytics tab and Enable it. Add Google Analytics tracking ID under the “Account Number” option.

How do I get my Google Analytics code?

Where is the Google Analytics Code and Tracking ID?

  1. Sign in to your Google Analytics account.
  2. Click ‘Admin. ‘
  3. Next, click on the ‘Tracking info’ and from the drop-down menu. Select ‘Tracking code. ‘
  4. Here, you can find the Tracking ID and Tracking code. Copy this code and paste it into the header of your site.

How do I add Universal Analytics?

When you go to the Admin section of any Google Analytics property, click Create Property button. Enter your property name, choose the time zone, currency, and then click Show advanced options. After a new section appears, you need to click a toggle button next to a Create a Universal Analytics property.

What is Google tracking ID?

Find your Tracking ID and global site tag Select an account from the menu in the ACCOUNT column. Select a property from the menu in the PROPERTY column. Under PROPERTY, click Tracking Info > Tracking Code. Your Tracking ID is displayed at the top of the page.

How do I put a tracking code on my website?


  1. Introduction.
  2. 1Obtain your tracking code in your marketing automation tool.
  3. 2Locate your global footer in your content management system.
  4. 3When you have found your tracking code and located your global footer, copy and paste your tracking code into the footer.
You might be interested:  Often asked: How Do You Add A New Website To Google Analytics?

How do I put Google Analytics on my Web application?

Add analytics to your site

  1. Select the Admin tab.
  2. Under account, select your account (for example “PWA Training”) from the dropdown list.
  3. Then under property, select your property (for example “GA Code Lab Site”) from the dropdown list.
  4. Now choose Tracking Info, and then Tracking Code.

Should Google Analytics code go in header or footer?

Want to know where should you put your Google Analytics code? While it’s safe to put your code in the header or footer, Google recommends you to add your code to your WordPress header.

How do I add Google Analytics code to HTML?

Set Up Google Analytics

  1. Sign in or create a Google Analytics account.
  2. In the left bottom of the sidebar, click Admin.
  3. On the right side of the screen, select the account you would like to use or create a new account by clicking the + Create Account button.
  4. Click the + Create Property button.
  5. Select Website.

How do I add Google Analytics code to cPanel?

How to Install the Google Analytics Code Into Your Website

  1. 2) Sign into your cPanel account.
  2. 4) Go to your public_html folder.
  3. 5) Find and select the page that you wish to track.
  4. 6) With the file selected, click Edit.
  5. 7) Paste your Google Analytics code on the lines before </body>
  6. 8 ) Click Save Changes.

Leave a Reply

Your email address will not be published. Required fields are marked *