document.title. Other page properties such as a page's section or author will only be tracked by populating those values via our section and author configuration variables in your Chartbeat tracking snippet.
authorsfields in your Chartbeat tag.
document.location.href.splitto parse these section and author values directly from existing metadata elements in your pages.
<link>element in your page HTML.
truetells our tracker to collect the path portion of your canonical URL for the Chartbeat page path.
useCanonicalDomainset to true tells our tracker to collect the domain portion of your canonical URL as well for the Chartbeat page path.
yourdomain.com/index.htmlwould be the expected Chartbeat page path we receive from a visitor who views this page in their browser:
useCanonicalDomainvariables provide a simple mechanism for sending consistent URLs as your Chartbeat page paths across all pages of your site. To use these variables, your site HTML should already include canonical links for every page. It's important that a given page which can be accessed via multiple unique URLs maintain an unchanging canonical URL set in the HTML of that page and all its versions.
document.title. Use this variable only if you need to override the default page title collected by our tracker (the value contained in the
<title>tags in your page HTML).
mobileAppshould be set to true for users of your webview mobile app in order to distinguish app users from mobile website visitors in your Chartbeat reports.
document.referrer. This variable can only be used to override the referring page URL for internal referred pageviews — meaning the user was referred to their current page by another page on your site.
aliason the article pages to the full URL as it appears in your homepage HTML to ensure proper referrer tracking as visitors move from your homepage to these article pages. This should only be needed to resolve missing pin issues in our Heads Up Display tool.