Forum Replies Created
-
AuthorPosts
-
January 27, 2014 at 3:21 am in reply to: How to exclude admin activity in Google Analytics statistics #87204mynymMember
@songdogtech, Thanks for the hint. Though the additional features are interesting, I try to keep the number of plugins installed as low as possible. Therefore I will first try the workaround using stuff already 'on board'. Maybe I'll come back to the plugin later.
January 26, 2014 at 7:35 pm in reply to: How to exclude admin activity in Google Analytics statistics #87157mynymMemberHi handsome jack
Thanks for your advice.
Another alternative would be to block your own IP address from within Google Analytics (it’s a good practice to do so anyway).
My problems with this:
A. I checked with Google, but it was not obvious on the first glance how to block an IP address. This is nothing seriouc, I just will have to dive into the matter a little deeper. More critical is
B. As far as I know, my IP address changes periodically, depending on the Intenet service provider that gets me online. Plus there will be differetn IP addresse at my office, at home, at Starbucks, etc. Or am I wrong, and "MY" IP address is tied to the machine I use to go online?January 26, 2014 at 7:26 pm in reply to: How to exclude admin activity in Google Analytics statistics #87156mynymMemberHi rfmeier
Thanks for the example. I am already using Simple Hooks and will move my Analytics snippet from the Genesis settings to this section.Just to make sure: You wrote
This code will only add the script if the current user is logged-in and an administrator.
What I want is exactly the opposite of that behavior, the script should only be added if the current user is NOT logged in and an administrator. As far as I know, the "!" stands for "not", so the code seems to to what I want, does it...?
mynymMemberThanks for the code, but it does not work. Maybe I enter the code in the wrong place (functions.php)? It has no effect at all, firebug still shows the <div id=”header”> on every single page.
mynymMemberHi, I have the same issue: I have quite a large header on the home page, and I want to hide this on all other inner pages (no replacement needed).
I tried both versions listed above on the website http://www.smart-change-management-camp.com (I copied the code to the function.php), but with no effect (neither on home page nor inner pages)
I get the result I want if I use firebug, and delete the
<div id="header">
Section in the code displayed. Thanks for ideas how to achieve that automatically by adding something somewhere 😉
-
AuthorPosts