How To Add Google Analytics To Your Website - The easy way

This tutorial is over a year old and may not apply to your version of Concrete CMS.
Oct 9, 2020

Adding analytics to your website is an important part of running your website. There’s no need to edit your theme or install a plugin to add a tracking code to Concrete CMS. Go to your Google Analytics analytics and grab your google analytics code. Find your Tracking ID and global site tag 1. Sign in to your Analytics account. 2. Click Admin. 3. Select an account from the menu in the ACCOUNT column. 4. Select a property from the menu in the PROPERTY column. 5. Under PROPERTY, click Tracking Info > Tracking Code.

Your Tracking ID is displayed at the top of the page.

Your global site tag is displayed farther down the page in a text box under Website Tracking > Global Site Tag (gtag.js)

Copy the entire contents of the text box and go to your concrete Website. Goto Dashboard -> System & Settings -> SEO & Statistics ->Tracking Codes text

Paste your Google Analytics Code in the Header Tracking Tracking Codes text

Results:

You should now see your google analytics code on every page of your website right after the text

Recent Tutorials
Create custom Site Health tasks
Apr 19, 2024
By myq.

This tutorial will guide you through the creation of a new Site Health task

Reusing the same Express entity in multiple associations
Apr 11, 2024
By myq.

How to create and manage multiple associations in Express

Express Form Styling
Apr 11, 2024
By myq.

Different ways to style Express forms

Setting addon/theme version compatibility in the marketplace
Jan 9, 2024

For developers worn out with setting the latest addon or theme version manually across too many core versions, here is a JavaScript bookmarklet to do it for you.

How to get the locale of a page
Jan 8, 2024
By wtfdesign.

Now, why don't we just have a getLocale() method on Page objects beats me, but here's how you work around it

Using a Redis Server
Jun 16, 2023
By mlocati.

How to configure Concrete to use one or more Redis servers to persist the cache.

Improvements?

Let us know by posting here.