Commit Graph

19 Commits

Author SHA1 Message Date
Sergey Motornyuk 7f5c2c03d9 Add config declarations 2022-05-06 19:01:29 +03:00
Sergey Motornyuk 02dc6f22a5 Standard version check 2021-02-10 09:41:18 +07:00
Sergey Motornyuk f67777c547 Add webassets / some clean-up 2019-12-09 15:23:33 +02:00
William Hughes 798bf28b95 Add support for Google Analytics domain linking
This allows for cross-domain tracking. See Google documentation for more detail:
https://support.google.com/analytics/answer/1034342?hl=en
2017-02-03 14:32:49 +13:00
Martin Burchell a46cc5299c Allow fields to be specified when creating the tracker 2016-07-04 15:46:50 +01:00
nigelb 13cc8c28d5 Re-land the new tracking from @maxious
This reverts commit f4fce47601.
2015-02-17 11:05:19 +05:30
nigelb f4fce47601 Revert "Merge pull request #6 from datagovau/api-analytics-event-tracking"
This reverts commit 0febe11dc5, reversing
changes made to e45d73d7a3.

This has been reverted for caushing Apache to max out threads when running
under mod_wsgi.
2015-02-13 14:22:53 +05:30
CKAN data.gov.au 482d8e2ada Use universal analytics 2014-05-22 07:06:47 +00:00
Sean Hammond b9879ad28d Use g not config in templates
config is no longer available to templates (changed in CKAN core), use g
instead.

This means I have to rename googleanalytics.resource_prefix to
googleanalytics_resource_prefix, because it's now an attribute and can't
have a . in it.

Should probably be using g rather than config to access the setting in
the Python code as well..
2012-12-20 21:39:24 +00:00
Sean Hammond 70dc8c78d4 Add CKAN 2.0 resource download event tracking 2012-10-19 16:10:58 +02:00
Sean Hammond a1672cb0ad Remove googleanalytics_footer
It didn't do anything yet and I don't think it will be needed for Google
Analytics Event Tracking with CKAN 2.0 anyway.
2012-10-18 19:46:03 +02:00
Sean Hammond 53a778161f Add CKAN 2.0 templates for Google Analytics tracking
Everything should still work as it did with CKAN 1.x templates _if_
ckan.legacy_templates is set in your ini file.

The event tracking javascript (ckanext-googleanalytics.js) still needs
to be updated for CKAN 2.0.

Also there is some code in plugin.py:filter() that adds something to the
package and group pages that I haven't implemented for CKAN 2.0 yet.

Tests need to be updated.

README needs to be updated.
2012-10-17 13:06:31 +02:00
Sean Hammond bdef9ea233 Move templates and public to legacy_templates and legacy_public
Making way for new CKAN 2.0 templates and scripts to be added.

This shouldn't break existing CKAN 1.x functionality.
2012-10-16 15:39:27 +02:00
amercader 1f534141ed [ui][xs] Show downloads instead of headers on table headers 2012-05-10 16:47:20 +01:00
amercader a8747809d2 [ui] Update summary page design and links 2012-05-10 13:44:29 +01:00
John Glover deb99ebdc3 Change 'package' to 'dataset' in report 2011-12-21 11:45:45 +00:00
Seb Bacon 8dfa04434f move local styling to plugin, so we don't override other layout.html files 2011-04-07 09:18:35 +01:00
Seb Bacon c91ab410c0 more refactoring 2011-04-05 10:38:25 +01:00
Seb Bacon 4d18d1c13d proof of concept for accessing analytics data from CKAN 2011-02-11 11:21:19 +00:00