Forum Moderators: DixonJones
Or, change ".htm#" to "-" resulting in a URL of "page-anchorname" rather than "page.htm#anchorname. WebTrends should be able to handle files with no extension (depends on the version of WT).
There are several ways to do it, as you can see, and your choice will depend on what's happening with the rest of your logs. But they all start with URL Search And Replace. (On some sites I deal with, every single page on the site gets URL S&R'd - it's a great feature.)
One important thing to know about URL S&R is that it happens before anything else happens at all in WebTrends. It's the very first operation. (knowing that will help you make other decisions that may come up).
And, URL S&R does not change the original log at all.
Hope this helps.
The experience within WW is just great!
Unfortunately I could not find how to replace a single character.
I have
Replace from:
start of first: #
Up to:
start of next:
But I could not find a wildcard to tell Webtrends to change only the #.
The dropdown for "Up to" gives me only 3 options:
start of next
end of next
end of string
Only the "start of next" option would work but there might be any caracter after the #. So I would need to tell Webtrends that it shall change up to start of next * [wildcard, any caracter].
How could you solve this?
I really appreciate your help on this!
You could make the link something like [example.com#whatever?anchor=faq1...] - this would reload the page and let you know which link they're clicking. It would also reload the page, which defeats the point a little... ;)
[webmasterworld.com...]
From our logs it looks like the only browser consistently passing the anchor in the referer is MSIE5.x(Mac_PowerPC). That suggests to me that it's not something that should be done ;)
217.232.254.152 - - [16/Jun/2004:17:23:24 +0200] "GET /pageXY.htm HTTP/1.1" 304 - "http://www.domain.com/pageXY.htm#02_09_Internet_Widget" "Mozilla/4.0 (compatible; MSIE 5.23; Mac_PowerPC)"
80.140.162.115 - - [07/Jun/2004:11:17:04 +0200] "GET /pictures/news/0302-picture.gif HTTP/1.1" 200 12994 "http://www.domain.com/pageZZZ.htm#03_02_text" "Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.0.1) Gecko/20020823 Netscape/7.0"
MSIE 5.x (Mac)
Netscape 4.7x
Netscape/7.0x (Mozilla rv:0.9.x - 1.0.x)
Safari/85.7 (Mac)
In total they add up to <<1% of browsers so I don't see any value in analysing the anchors for such a small sample.
Going back to the original question, now that I realize I was working from an entirely incorrect premise ... it would take a not-too-difficult text manipulating script to get the bookmark into the URL as a parameter, or perhaps the referrers report output could just be analyzed ... but I agree that this group of browsers is really small and probably doesn't accurately represent the whole visitor population anyway.
It would be GREAT if there was this kind of information on the WWW but I guess the programmers work on the premise that any problems are going to be fixed 'in the next version'.