Contents
Where to put Google Analytics code in Magento2?
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:
- 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.
- Click on the Save Config button to save these changes.
How do I add a script to GA?
Adding Scripts for Google Analytics – FitMetrix
- Log in to fitmetrix.io at the facility level.
- Click the Settings option in the Navigation bar to access the General Settings screen.
- Click the.
- Click the Advanced tab.
- In the Head Tag CSS/JS field, enter the script for Google Analytics tracking.
What is Google Analytics in Magento2?
Google offers a free service that allows you to track and monitor the traffic and conversion rate in a few clicks. The service goes by the name of Google Analytics. By using it, you can also determine the user engagement on every page of your store which will help you in improving the SEO of Magento store.
How do I generate a tracking code?
Find your tracking ID and tag
- Sign in to your Analytics account.
- Click Admin.
- 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 and property number are displayed at the top of the page.
Where do I put the Google Analytics script?
You can put it anywhere you want really, and It’ll run anywhere on the page whether it’s in the head or the body. It’s recommended you put it in the head though, so it can be as accurate as possible. You see, the Pageview is recorded only after that code is loaded up.
Can I still use Universal Analytics?
You can still create Universal Analytics properties Even though Google is heavily pushing the new Google Analytics 4 (and when you try to create a new property, it’s GA4 by default), it’s still possible to create Universal Analytics properties.