Where do you put the [quote=piwikTracker.setDocumentTitle(New title here)]
[/quote] and what do you put in “New Title here”
When I use the 1st tracking code in the Doc with the
[quote="[…] piwikTracker.setDocumentTitle(document.title);
piwikTracker.trackPageView(); […]"]
[/quote]
The tracking code picks up only the title of the privacy policy content located at the bottom of the index page which is the last
tag of the content.
When I use the Asynchronuus code, piwik only picks up the the title of the page set in the tag of between the tags of the document.but not the
Title
set for in the page and pulled in by a php call [quote="<?php echo $$PageNum; ?>"][/quote] whch “print” the name of the title of the “page” content.
I’ve tried to put this php code in the header of the page like this:
[quote="<?php echo $$BusinessName ?> | <?php echo $$PageNum; ?>"][/quote]
The business name works, but the PageNum tag cause a php error.