[closed]
How do I ignore my visits?
(32 posts)
-
Hi, I was wondering how would I ignore my own visits on my blog? Thanks
-
You can't at the moment. We are working on that.
-
ok.. i hope it would be worked out soon coz it changes the result... :(
-
I use NoScript when I visit my own sites and block the analytic scripts running on my pages
-
Hi,
Someone knows if is there some news regarding ignoring site owner visits?
Is there some way to "exclude a IP", for example?
Regards.
-
I'm using Wordpress and installed the Woopra Plugin. I added the following line after line 36 in the woopra.php :
if ($woo_username != NULL) return;
It works for me.
-
It will exclude all your returning visitors doing this :/
You should better use my plugin:
http://www.aixo.fr/aixostats
-
Hello,
Thank you all for your help!
Ek0, thank you for your suggestion. :) Does your plugin exclude "only" my own visits securely, i.e., will it not exclude any other visit?
Regards.
-
Couldn't you add something to the woopra code that checks to see if you're logged in to Wordpress? I would like to exclude all of the traffic that I generate while I am logged into the admin dashboard. Right now, I can see that "admin" is connected to the site, which makes it easier to delineate, but I'm visual and would like a true graphical representation of all traffic sans mine.
-
If you are using php and you know your IP address you can just omit the woopra JS with.
<?
if($_SERVER['REMOTE_ADDR'] != '123.123.123.123')
{
?>
<script type="text/javascript">
var woopra_id = '9999999999';
</script>
<script src="http://static.woopra.com/js/woopra.js"></script>
<?
}
?>
--
Dylan T
HostRail.com
-
Yes, this will be a really nice addition to what I see as a top notch application.
Looking forward to this addition.
Dennis
-
I am a NEWBIE, so forgive my ignorance in PHP coding.
When looking at HOSTRAILs post, I suppose that I replace 123.123.123.123 with my actual IP address and I replace var woopra_id = '9999999999' with my actual Woopra ID?
Right?
Thanks for the answer!
Mark
-
I like woopra, I really do, but it's pretty useless to me unless I can block my own site visits. Please let us know when this will be possible. Greg
-
gregtallent look at hotrails post, he actually gives a solution
-
guys,
do I add hostrails code to woopra.php?
With the correct IP and Wbsite code, right?
Thanks
-
hi there
I tried the Hotrail solution by adding the code to woopra.php and it didn't do the job. It did all other kinds of things, but not the idea it's supposed to...
any ideas anyone?
Mark
-
Thanks, pmk. The hostrails solution worked for me. I'm not running a wordpress blog, though, it's on a website - http://www.TalkAboutADate.com.
-
Until they get this fixed, this should work.. just replace XXX with your IP address and YYY with your woopra site number.
<script src="http://skidvis.com/myip.aspx"></script>
<script type="text/javascript">
if(myIP != 'XXX')
var woopra_id = 'YYY';
</script>
<script src="http://static.woopra.com/js/woopra.js"></script>
If you don't know your IP address you can find it at
http://www.shortlynx.com/
-
I understand that IP address is an integral means of knowing who you are, for those of us on DHCP cable modem, it can change, which means we would need to change it in Woopra whenever the IP changes.
Is there another solution that would block visits by Woopra ID only?
This would also resolve the issue of checking from multiple locations. For example, I work on my site from multiple places and login to my page often.
Even if I could view the results, omitting the sites I visited my page from, that would be an option.
-
If using the idea of logged in users are anything to go by, I think this helps, it is working for me.
<?php if ( !$user_ID ) { ?>
<script type="text/javascript">var woopra_id = '2159796716';</script>
<script src="http://static.woopra.com/js/woopra.js"></script> <?php } ?>
Replace the woopra id number '2159796716' with your own.
-
If you want to block multiple ip addresses, ie several computers you may be working on, this works:
<?
if($_SERVER['REMOTE_ADDR'] != '[ipaddress]' AND $_SERVER['REMOTE_ADDR'] != '[ipaddress]' )
{
?>
<script type="text/javascript">
var woopra_id = '[your id]';
</script>
<script src="http://static.woopra.com/js/woopra.js"></script>
<?
}
?>
I put this before the closing body tag on all pages on the site: http://www.TalkAboutADate.com
-
Will this work with an IP range also or just two computers?
-
Whoaa back guys... Adding code to Woopra that is not sanctioned from development, is not what we beta testers are supposed to be doing.
By adding code, you may break something else and end up placing bogus bug reports.
Personally, I am waiting for Woopra to add this feature and am not going to mess around with their code. This is their job.
Just my 2 cents.
Dennis
-
The idea suggested by gregtallent is a good solution.
We have this feature implemented on our servers, but we're still working on the interface for that feature! I think it will be adding in next week's release.
Chief Eye Candy Officer
-
In a system such as WordPress you can block loading the script based on a check for your own username. Thus if you remain logged in, you won't be tracked.
The other possibility of course is to tag yourself within Woopra, and then you can see how much of the stats are your visits. This might be the best method....
-
HI everyone, my blog just got approved recently.
Did anyone try limetouch's script? Where should I put the code in? I want to try this method because I am on dynamic IP and I don't want to tag myself, as I often login from different computers.
Thanks.
-
A pretty easy solution is to add this =>
if ( !current_user_can('edit_plugins') )
{
<= before the javascript-code in the woopra.php file
(don't forget to add the closing-} after the javascript-include)
=> Usually you're the admin of your blog and only the admin can edit plugins. I'm checking if the visitor can edit plugins - if he can, the woopra js-code won't be included =)
more detailed (in german): http://www.georg-weidner.de/woopra-admin-user-nicht-tracken/
-
Limetouch's code in my page.php seems to work where none of the other suggestions did. Just FYI I'm using self hosted Wordpress 2.6. In case that makes a difference as to what code works best.
-
The code I provided will not modify any of Woopra's behavior, it simply checks whether an admin is logged in, if he is, then we include Woopra's script, if he isn't, we don't. As simple as that. I am sticking to it until Woopra comes with their own mechanism of blocking traffic from an admin.
It is best to put that code in the footer.php of your WordPress theme. Hope that helps!
-
Does anyone else find this annoying? I mean, it's been several months and several updates of Woopra, and they STILL haven't implemented what should have been one of the FIRST features written into this thing? I'm having issues with the logic of this. No one that I know wants their own visits contaminating their results. Why won't they include this ability?
Limetouchs code doesn't seem to work for me. :(
Topic Closed
This topic has been closed to new replies.
|