Document title false


(beutel45009) #1

hello,

I have stated in the manual instead of trying the title in the url of the documents appear to have statistics.

Therefore, I have the command
piwikTracker.setDocumentTitle (document.title);
specified.

unfortunately shows me piwik to still the url.
have the 0.6.2 version.
is something wrong in the code?

<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) 
? "https://xxxxxxxxxxxxxxxxxxxxxxxxxx/" : 
"xxxxxxxxxxxxxxxxxxxxxxxxxxx/");
document.write(unescape("%3Cscript src='" + pkBaseURL + 
"piwik.js' type='text/javascript'%3E%3C/script%3E"));

</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + 
piwikTracker.setDocumentTitle(document.title);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script>
<noscript><p><img 
src="xxxxxxxxxxxxxxxxxxxxxxxxx/piwik.php?id
site=1" style="border:0" alt=""></p></noscript>

(h4wk) #2

Hi,

is there a solution for this problem? I have got the same problems. My code ist identical with the code of beutel45009. Is there any option I have to change in Piwik?

My Piwik version is 0.6.3

Greets

h4wk