![]() create a new property on the same account.Īfter you have successfully created a Google Analytics account, you should see a screen something like this:.If you want to analyze more than one site, you can either.You can have multiple properties (each with a different tracking ID) tied to an Analytics account.You can have multiple Analytics accounts tied to your single Google account.You can have multiple users on your Analytics account, each with various permissions levels.Pick an Industry Category and Time Zone and create your Analytics account.įor simplicity’s sake, these instructions will assume you have one site, one account, one user, and one property. If you have a mapped site, enter your domain name rather than your Commons site URL. Since all sites on the Commons are use an encrypted protocol, pick in the dropdown. You should see the following:Ĭlick on the Sign up button to create a free Analytics account.Įnter your Account Name (free form – can just be your name), Website Name (this is the title of your Commons site), and the Website URL. To get started, log into your Google account and go to Analytics –. Site admins can set up Google Analytics on their sites to gather and analyze site traffic. Once you do this, Google will start collecting metrics for your site. Whichever version you are using, your first step is to go to your WP Dashboard, to Settings>General and enter either your Tracking ID or Measurement ID. The new version uses Measurement ID which has a format like this: G-XXXXXXXXXX. The older versions use a “ Tracking ID” which has a format like this: UA-XXXXXXXX-X. The most important difference in the various versions is the way your site pings Google to gather metrics. Follow this link to upgrade from Universal Analytics to Google Analytics 4. The Commons supports all these versions, but it’s probably good at some point to upgrade, since it is unclear how long Google will support the older version. The newer version is quite different, and slightly easier to use. If you started after that, you are probably using the newer version, Google Analytics 4. If you signed up for Google Analytics before October, 2020, you are probably using Universal Analytics (aka Google Analytics 2 or 3). ![]() So, that means that the Monsterinsights plugin is probably using gaTracker just to be safe and to avoid conflicts with any other elements using the ga.It isn’t easy to tell which version of Google Analytics you are using. ![]() To deal with this, analytics.js provides a mechanism for renaming the global ga object. In some cases you’d like to add analytics.js to your page, but the ga variable is already being used for something else. Why does the plugin use _gaTracker?Īs Google states on their advanced Analytics page of renaming the ga object: In a bit we will explain why this has a fundamental impact on your event tracking, but first, let’s dive into what _gaTracker is and why the Monsterinsights plugin uses this format. Now, see that little difference in front of the Analytics code? Definitely something different, but it still works. _gaTracker('require', 'displayfeatures') _gaTracker('create', 'UA-XXXXXXXX-X', 'auto') M=s.getElementsByTagName(o) a.async=1 a.src=g m.parentNode.insertBefore(a,m) What is the difference between the _gaTracker and ga Analytics trackers?īasically, the difference is pretty obvious: Original Analytics tracking code ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |