|
|
1 |
<?php if ($dimension_properties): ?>
|
|
|
2 |
<div class="owa_reportSectionContent">
|
|
|
3 |
<?php echo $this->renderDimension($dimension_template, $dimension_properties);?>
|
|
|
4 |
</div>
|
|
|
5 |
<?php endif;?>
|
|
|
6 |
|
|
|
7 |
<?php require('report_trend_section.php');?>
|
|
|
8 |
|
|
|
9 |
<div class="owa_reportSectionContent">
|
|
|
10 |
<table style="width:100%;">
|
|
|
11 |
<TR>
|
|
|
12 |
|
|
|
13 |
<TD width="50%" valign="top">
|
|
|
14 |
<div class="owa_reportSectionContent">
|
|
|
15 |
<div class="owa_reportSectionHeader">Next Pages Viewed</div>
|
|
|
16 |
<div id="nextpages"></div>
|
|
|
17 |
</div>
|
|
|
18 |
<div class="owa_reportSectionContent">
|
|
|
19 |
<div class="owa_reportSectionHeader">Prior Pages Viewed</div>
|
|
|
20 |
<div id="priorpages"></div>
|
|
|
21 |
</div>
|
|
|
22 |
</TD>
|
|
|
23 |
<TD width="50%" valign="top">
|
|
|
24 |
<div class="owa_reportSectionHeader">Related Reports:</div>
|
|
|
25 |
|
|
|
26 |
<P>
|
|
|
27 |
<span class="inline_h3"><a href="<?php echo $this->makeLink(array('do' => 'base.overlayLauncher', 'document_id' =>$document->get('id'), 'overlay_params' => urlencode($this->makeParamString(array('action' => 'loadHeatmap', 'api_url' => owa_coreAPI::getSetting('base', 'api_url'), 'document_id' => $document->get('id')), true, 'cookie'))));?>" target="_blank">Heatmap Overlay</a></span> (Firefox 3.5+ required)
|
|
|
28 |
</P>
|
|
|
29 |
|
|
|
30 |
<P>
|
|
|
31 |
<span class="inline_h3"><a href="<?php echo $this->makeLink(array('do' => 'base.reportDomstreams', 'document_id' => $document->get('id')), true);?>">Domstreams</a></span> - mouse movement recordings.
|
|
|
32 |
</P>
|
|
|
33 |
|
|
|
34 |
<P>
|
|
|
35 |
<span class="inline_h3"><a href="<?php echo $this->makeLink(array('do' => 'base.reportDomClicks', 'document_id' => $document->get('id')), true);?>">Dom Clicks</a></span> - analysis of dom clicks.
|
|
|
36 |
</P>
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
</TD>
|
|
|
40 |
</TR>
|
|
|
41 |
</table>
|
|
|
42 |
</div>
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
<script>
|
|
|
47 |
var trurl = '<?php echo $this->makeApiLink(array('do' => 'getResultSet',
|
|
|
48 |
'metrics' => 'visits',
|
|
|
49 |
'dimensions' => 'pagePath,pageTitle',
|
|
|
50 |
'sort' => 'visits-',
|
|
|
51 |
'resultsPerPage' => 15,
|
|
|
52 |
'constraints' => 'priorPageUrl=='.urlencode($dimension_properties->get('url')),
|
|
|
53 |
'format' => 'json'), true);?>';
|
|
|
54 |
|
|
|
55 |
var trshre = new OWA.resultSetExplorer('nextpages');
|
|
|
56 |
var link = '<?php echo $this->makeLink(array('do' => 'base.reportDocument', 'pagePath' => '%s'), true);?>';
|
|
|
57 |
trshre.addLinkToColumn('pagePath', link, ['pagePath']);
|
|
|
58 |
trshre.asyncQueue.push(['refreshGrid']);
|
|
|
59 |
trshre.load(trurl);
|
|
|
60 |
|
|
|
61 |
var prurl = '<?php echo $this->makeApiLink(array('do' => 'getResultSet',
|
|
|
62 |
'metrics' => 'visits',
|
|
|
63 |
'dimensions' => 'priorPagePath,priorPageTitle',
|
|
|
64 |
'sort' => 'visits-',
|
|
|
65 |
'resultsPerPage' => 15,
|
|
|
66 |
'constraints' => 'pageUrl=='.urlencode($dimension_properties->get('url')),
|
|
|
67 |
'format' => 'json'), true);?>';
|
|
|
68 |
|
|
|
69 |
var prshre = new OWA.resultSetExplorer('priorpages');
|
|
|
70 |
var link = '<?php echo $this->makeLink(array('do' => 'base.reportDocument', 'pagePath' => '%s'), true);?>';
|
|
|
71 |
prshre.addLinkToColumn('priorPagePath', link, ['priorPagePath']);
|
|
|
72 |
prshre.asyncQueue.push(['refreshGrid']);
|
|
|
73 |
prshre.load(prurl);
|
|
|
74 |
</script>
|
|
|
75 |
|
|
|
76 |
<?php require_once('js_report_templates.php');?> |