Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Counter for a unique URL

Reply to Post Add a New Topic
UserPost

6:01 am
July 1, 2008


Kinglui

Member

posts 3

Hello,

i try to count, whether a visitor used the english or the german Language.

The url differs in the following point:

(english)

/index.php?ILNKID=6&iL=2

(german)

/index.php?ILNKID=6&iL=1

I have no idea which i can do that in only one extra section.

ExtraSectionFirstColumnValues should be a english and a german country flag. I don't know how to do that.

Here is my termporarily extra section:

ExtraSectionName2=”Sprache”
ExtraSectionCodeFilter2=”200 304″
ExtraSectionCondition2=”URL,\\/index\\.php\\?ILNKID=6&iL=2*”
ExtraSectionFirstColumnTitle2=”Englische Sprache”
ExtraSectionFirstColumnValues2=”"
ExtraSectionFirstColumnFormat2=”%s”
ExtraSectionStatTypes2=HL
ExtraSectionAddAverageRow2=0
ExtraSectionAddSumRow2=1
MaxNbOfExtra2=2
MinHitExtra2=1

greets

Steffen

6:24 am
July 1, 2008


Jean-Luc

Admin

posts 1125

Hi,

If you want to count the number of hits on the English URL (/index.php?ILNKID=6&iL=2), I believe that you should use this:

ExtraSectionCondition2="URL,^\\/index\\.php\\?
ILNKID=6&iL=2"

and 

ExtraSectionFirstColumnValues2="URL,(.*)"

In fact, you do not need an extra section for that.

You can get the same result by going under "Viewed", then "Full list" and then selecting the appropriate filter (ILNKID=6&iL=2).

Not sure that I exactly understood what you try to do. If you want two lines in the extra section, one for English and one for German, use this:

ExtraSectionCondition2="URL,^\\/index\\.php\\?
ILNKID=6&iL="

7:19 am
July 1, 2008


Kinglui

Member

posts 3

Hello,

 i want two lines in the extra section. One for german and one for english.

I try your example, but nothing happens.

Here is an example Log Output oft the apache access_log:

213.39.240.61 – - [01/Jul/2008:13:54:16 +0200] “GET /images/ENG/BtnImprintSmallA.gif HTTP/1.0″ 200 402 “http://www.renderforce.de/index.php?ILNKID=6&iL=2& State=1100&ResetMI=1&PHPSESSID=9g9qkud0s0lsv2hjmvrb uu10buj3epsh” “Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12″ www.renderforce.de

Steffen

8:19 am
July 1, 2008


Jean-Luc

Admin

posts 1125

I see. Replace URL by URLWITHQUERY in ExtraSectionCondition2 and in ExtraSectionFirstColumnValues2.

The two lines will appear in the report after the next update that include new lines that meet the conditions of the extra section.

9:45 am
July 1, 2008


Kinglui

Member

posts 3

Hello Jean-Luc,

thanks for helping!

I decide to count only the english langauge, because i need the sum of every language and not the sum of both of them .Ok , i can configure 2 sections, but if you visit the domain directly, the default langauge is german (without pushing the langauge button). So i don't know how you can count that (perhaps with an or Agruement?)

Thanks a lot!

Steffen

11:16 am
July 1, 2008


Jean-Luc

Admin

posts 1125

You will get what you ask for with:

ExtraSectionCondition2="URL,^\\/index\\.php\\?
ILNKID=6&iL="

The extra section will contain one line with iL=1 and another line with iL=2.

Reply to Post

Reply to Topic:
Counter for a unique URL

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
9 + 8
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
13 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2712

Membership:

There are 257 Members
There have been 305 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)