projects / org / ezproject2010 / ezgoogleanalytics / gallery / screenshots / pagedata
Find the Exponential Software extensions you want
« Previous image | Screenshots | Next image »
Shows an example of how the fetch / googleanalytics / pagedata function can be used to show statistics about an article.
Code:
{def $pagedata=fetch('googleanalytics', 'pagedata', hash( 'node_id', $module_result.node_id ) )}This page has been viewed {$pagedata.pageviews} times, for a total of {$pagedata.timeonpage} seconds !