Puppet Class: ckan::ext::ga_report

Defined in:
manifests/ext/ga_report.pp

Summary

Installs the google analytics report extension.

Overview

Requires the googleanalytics extension.

Parameters:

  • revision (String) (defaults to: 'dga-master')

    The version of dcat to install from github. Can be a git branch or git label.

  • report_period (String) (defaults to: 'monthly')

    The frequency of building period reports.

  • bounce_url (String) (defaults to: '/')

    Specifies a particular path to record the bounce rate for. Typically it is / (the home page).

See Also:



16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'manifests/ext/ga_report.pp', line 16

class ckan::ext::ga_report (
  String $revision      = 'dga-master',
  String $report_period = 'monthly',
  String $bounce_url    = '/',
) {
  ckan::ext { 'ga_report':
    revision => $revision,
    source   => 'http://github.com/datagovau/ckanext-ga-report',
    plugin   => ['ga-report'],
  }

  ckan::conf::setting { 'ga-report.period':
    value   => $report_period,
  }
  ckan::conf::setting { 'ga-report.bounce_url':
    value   => $bounce_url,
  }
}