Google Analytics Plugin - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: Google Analytics Plugin (/showthread.php?tid=2152) Pages:
1
2
|
RE: Google Analytics Plugin - plazma - 2013-11-05 I tried this and it did not work. I added manually the code to all pages and it started working instantly. What is that <?php get_header(); ?> tag about? RE: Google Analytics Plugin - Carlos - 2013-11-05 (2013-11-05, 03:10:37)plazma Wrote: I tried this and it did not work. I added manually the code to all pages and it started working instantly. It's a template tag that must (or may) be in the <header> of your template. It is required by some plugins (like this) to insert their code or scripts there. RE: Google Analytics Plugin - plazma - 2013-11-24 (2013-11-05, 06:49:44)Carlos Wrote:(2013-11-05, 03:10:37)plazma Wrote: I tried this and it did not work. I added manually the code to all pages and it started working instantly. So I have to place the code: <header><?php get_header(); ?></header> into every page? RE: Google Analytics Plugin - Carlos - 2013-11-25 (2013-11-24, 23:22:57)plazma Wrote: So I have to place the code: You have to insert <?php get_header(); ?> (or <?php get_header(false); ?> if you don't want the meta canonical tag) in your template, between <head> and </head>, preferably after the <title> tag. RE: Google Analytics Plugin - shawn_a - 2014-05-20 Anyone familiar with 404 tracking with this, I do not seem to see 404s in my google analytics. I figured it out, It only lets you filter by page title for these, so you have to filter by your page title which does not contain `404` try oops instead. RE: Google Analytics Plugin - HelgeSverre - 2015-07-09 (2015-07-09, 19:52:26)dcistudiosltd Wrote: Hi, I have entered and saved my tracking id correctly, however the markup shows only I'd assume that it means that you are logged in as the administrator of GetSimple and it is not displaying the code because usually you don't want to track your own clicks and such when you are working on the site. TL;DR: You're logged in as admin and therefore it's not displaying the tracking code, try logging out and check again. RE: Google Analytics Plugin - nakeviadesigns - 2018-01-26 (2011-09-07, 01:56:03)filupn Wrote: Here is my first plugin for GetSimple: Google Analytics 0.1. The purpose of this plugin is to provide an easy way to add Google Analytics tracking code to your GetSimple site, without tracking logged in admin users. When an admin cookie is detected, the plugin will remove the tracking code so that site admins will not influence Google Analytics visitor statistics. Hi, I have uploaded the files to the plugin directory and plugin shows up in the installed plugin list, but it will not activate. Did I miss something? -Nakevia RE: Google Analytics Plugin - Rene - 2018-05-01 FYI Google has renewed its GA code (see below). New rules on GDPR (AVG) will be introduced in May this year. If you do not ask your users consent to use Google Analytics on your site it is advisable to anonymize the IP addresses. Add the following to your GA script ... , { 'anonymize_ip': true } Code: <!-- Global site tag (gtag.js) - Google Analytics --> |