Standard Google Analytics code should always be placed in the
tag of the page. Let’s suppose you placed your analytics code at the bottom of the page, this may lead to incorrect or half tracking.Google’s official recommendation for adding the Google Analytic tracking code is place the tracking code in the HEADER SECTION (
) of the website. The code should be added near the top of the tag and before any other script or CSS tags, and the string ‘UA-XXXXX-Y’ should be replaced with the property ID (also called the “tracking ID”) of the Google Analytics property you wish to track.You could be wondering “What Google Analytics code should be on the page?”
That pretty much should be the only code on the page. That and related Java. Script and Data. Layer objects are okay, but the important part for this is that there is no other Google Analytics code on the page, either for firing Pageviews or Events.
Click your site’s name in the Accounts list. Now, click the Edit link on the right of your site’s name. Click the Check Status link in the top right corner. You’ll now see the complete Google Analytics code for your site near the bottom of the page. Select it all and copy it, and now you can add the code to your site as usual.
Where do I add the Google Analytics tracking code?
It’s recommended to add the Google Analytics tracking code in the header section (
).Where do I find my Google Analytics tracking code?
To find your Google Analytics tracking code, go to your account and access your tracking info as we described in the previous method. You can then copy the script from the box under Google Site Tag: To add it to your Word. Press site, go to Appearance > Theme Editor.
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.
First, sign in to Google Analytics. The fastest way to find the UA code for each property, is to click “All Accounts” at the top of the screen to activate the dropdown menu, then locate the account and in the middle column and you will see the UA number below the Property (see screenshot).
How do I install Google Analytics on my CMS?
Each Google Analytics property created in your account will be assigned a unique Tracking ID. Make sure to use the appropriate Tracking ID or code for each domain. With your tracking code in hand, you’re ready to install! Log into your CMS and access your site’s HTML code.
How do I check if Google Analytics is installed?
Click “Check Status” located in the “Main Website Profile Information” menu. This will tell you whether or not the Google Analytics tracking code is properly installed and gathering information about your website. Scroll down until you see the “Instructions for Adding Tracking” portion of the page.
In most cases, you can quickly identify if a site has Google Analytics installed by looking at the webpage’s site code. You can use Google Chrome to visit a site and then right-click to see its PAGE SOURCE (site code). If the site has Google Analytics installed, you’ll find the Google Analytics tracking info within the code, as seen below.