Tracking statistic of a single page

Hi, I use Piwik 1.0 (I thought i’ve already updated to a newer version).

But now I want to check explicitly the page views of a sub page …
Represented by: index.php?main=MAIN&sub=SUB

I want to see a graph like I usually see for the overview.

Is there a possibility?

Last time i lost my old Statistics due a Update (backup needed),
is the update from 1.0 -->1.6 more save?

Hi!

I now updated to 1.6 without any Problem.
(didn’t found a comment if I have to Update the Javascript snippet … ?)

Now I found in the FAQ the following:
How do I control the categories tree structure in the Page URLs and Page titles reports?
http://piwik.org/faq/how-to/#faq_62

I think that is what I’m looking for.
But I’m not shure if it work also If I do it now effecting older data …

JavaScript snippet should be ok. We try to maintain backward compatibility.

[quote=vipsoft]
JavaScript snippet should be ok. We try to maintain backward compatibility.[/quote]

That Sounds good,
But it seems not working for me.

I try to get more detailed info about my seperate pages of my site.
But I still get:[ul]
[li] On “Actions/Pages”: Only one Page URL group called: "Page URL not defined "
[/li][li] On “Actions/Pages titles”: Only one Page Name group called: "Page Name not defined "
[/li][li] On “Actions/Entry page” and “Actions/Exit page” there is no data ???
[/li][/ul]

I thought I added the new JS to add a Page name …


	<script type="text/javascript">
	var pkBaseURL = (("https:" == document.location.protocol) ? "https://domain.at/piwik/" : "http://domain.at/piwik/");
	document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
	</script>
	<script type="text/javascript">
	<!--
	piwik_action_name = '';
	piwik_idsite = 1;
	piwik_url = pkBaseURL + "piwik.php";
	piwik_log(piwik_action_name, piwik_idsite, piwik_url);
	//-->
	try {
	  var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
	  piwikTracker.trackPageView();
	  piwikTracker.enableLinkTracking();
	  piwikTracker.setDocumentTitle("<?php echo $piwikTitle ?>");
	} catch( err ) {}
	</script>

The $piwikTitle is generated in php and correct. (displayed in page source code)

Is there still some Code Snippet/syntax missing/wrong?

You’re mixing legacy and OO tracking tags.

The default OO tracking tag will use the document title and window location url.

[quote=vipsoft]
You’re mixing legacy and OO tracking tags.

The default OO tracking tag will use the document title and window location url.[/quote]

Would this look better?

	<script type="text/javascript">
	var pkBaseURL = (("https:" == document.location.protocol) ? "https://domain.at/piwik/" : "http://domain.at/piwik/";
	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 + "piwik.php", 1);
	  piwikTracker.trackPageView();
	  piwikTracker.enableLinkTracking();
	  piwikTracker.setDocumentTitle("<?php echo $piwikTitle ?>";
	} catch( err ) {}
	//-->
	</script>

But I still do not found any names in my Piwik output.
Neither the one set in the Javascript shown above nor the one of the html-title tag. (beside they are the same now for my). Does I need to trigger something else?

The site name is something like “Main/Sub”

You have to setDocumentTitle before you trackPageView.

[quote=vipsoft]
You have to setDocumentTitle before you trackPageView.[/quote]

Yep, That is it … THANKS!

setdocument took care of my problem also. Thanks