There are numerous types of visitor counters, but it's always best to use one written in code that your web site design software works well with. If you use standard HTML for your site, I recommend using a visitor counter like the ones at http://www.hodgesstudios.com. The code is all in HTML and it's very short & clean.
Sorry, but this does not work with wikidot "embedding html" syntax. I have tested it..
Service is my success.
My webtips:www.blender.org, www.zusi.de
Dear admins! Your engine is really great, but GoogleAnalytics support needs a feature: possibility of setting custom cookies as described in GA docs to filter own traffic. It needs something like <body onLoad="…"> now.
Maybe, it's possible in other way - please tell.
you can do this from your google analytics account.
All you need do is set up GA function in site manager, then from the GA account apply the filter.
setting custom cookies … to filter own traffic
I'm excluding my own traffic by:
1. Having [Greasemonkey] installed on every PC I'm using to access my Wikidot site
2. Adding the following User script to Greasemonkey (replace (mysitename) with the name of your site and UA-1234567-8 with your own Google Analytics code):
// ==UserScript== // @name (mysitename).wikidot.admins // @namespace http://geizhals.at/greasemonkeyscripts // @description Google Analytics Marker for (mysitename).wikidot.com // @include http://(mysitename).wikidot.com/ // @include https://(mysitename).wikidot.com/ // ==/UserScript== unsafeWindow._uacct="UA-1234567-8"; unsafeWindow.__utmSetVar("no_track");
3. Setting up the following filter on Google Analytics Edit Filter:
Filter Name: Exclude 'no_track'
Filter Type: Custom Filter
Exclude: (checked)
Filter Field: User Defined
Filter Pattern: no_track
Case Sensitive: Yes
I'm coming kind of late to this game, but how can I be certain its working? I've got it running, enabled, but when I check my cookies (firefox), I'm unable to find one named as my filter pattern (test_value instead of no_track), and unable to find any under wiihd.wikidot.com with test_value anywhere in it.
I'm seeing the following (Firefox) cookie. Just type “no_track” (in your case “test_value”) into the Cookie Search box (Tools, Options, Privacy, Show Cookies).
Site: wikidot.com
Name: __utmv
Content: 97012121.no_track
Path: /
Be sure that you at least once have visited the exact page that you specified in the Greasemonkey script. In the below case this would be http://(mysitename).wikidot.com/ (not http://(mysitename).wikidot.com/start or something).
// @include http://(mysitename).wikidot.com/
If you're not on the correct page, your Greasemonkey icon in the lower right corner will show “No scripts installed!” when right-clicked. If you are on the correct page, you'll see the script's name with a check-mark when right-clicking the Greasemonkey icon .
To test this in Google Analytics, set up a GA profile where you do not filter out your “test_value.” Then go to Visitors, User Defined, and you should see traffic with both a User Defined value of “(not set)” and “test_value”.
I've set up three GA profiles, called All Traffic, External Traffic, and Internal Traffic.
- All Traffic doesn't filter by User Defined Value
- External Traffic excludes all User Defined Value = “no_track” (“test_value” in your case)
- Internal Traffic includes User Defined Value = “no_track” only
I can not seem to get this work. I was hoping for a snippet that I could compare against in case my syntax is wrong…. but I can't seem to locate any. Can anyone help out? I'm trying to use the StatCounter. Thanks :)
have a look at this thread, might help
http://community.wikidot.com/forum/t-1513/embed-problems#post-154421
I generated HTML code for StatCounter and embedding didn't work. I found out that I must remove title=XYZ attribute of <a> tag to make it work!
With external code file:
iframe http://your_address.wikidot.com/your_code_file/code frameborder="0" width="" height="" scrolling="no"