Counter for a unique URL


 

Current User: Guest Login Register
Please consider registering

Search 
Search Forums:


 




Counter for a unique URL

Add a New Topic Reply to Post
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 254

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 254

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 254

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.

Add a New Topic Reply to Post


Reply to Topic: Counter for a unique URL

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

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 11 + 6        (Required)

Topic Reply:


 

WebStats1


About the InternetOfficer.com forum

Currently Online:

4 Guests

Maximum Online: 31

Forums:

Groups: 2

Forums: 7

Topics: 116

Posts: 566

Members:

There are 34 members

There are 96 guests


Jean-Luc has made 254 posts

Top Posters:

Steve - 14

flwg - 10

angelko - 5

cwei - 4

legend - 3

Administrator: Jean-Luc | Moderators: Jean-Luc


© Simple:Press Forum - Version 3.1.2 (Build 340)