Commit Graph

30 Commits

Author SHA1 Message Date
Gleb e49e8bbac7 #22 / no interface needed, function _post_analytics modified 2017-03-27 15:43:39 +03:00
Sergey Motornyuk 90bc97a326 Use google service account instead of temporary tokens 2017-02-08 15:06:52 +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
David Read 0febe11dc5 Merge pull request #6 from datagovau/api-analytics-event-tracking
Google Analytics Event Tracking for CKAN API
2014-11-05 11:38:26 +00:00
Nigel Babu 78cd2a95a6 Change github URL 2014-01-29 15:08:13 +05:30
Alex Sadleir 56fbb853a4 Adds Google Analytics Event Tracking to some API calls so that usage
of the CKAN API can be reported on via Google Analytics.
2013-11-26 20:26:09 +11: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 e6bf938054 Update the README 2012-10-19 17:15:45 +02:00
Ross Jones b1585b5c24 Update readme with info about legacy templates 2012-10-18 15:18:14 +01:00
Ross Jones 459ff608a6 Fixes to make sure that data collected for reports is working
Make sure we handle the changes to the API to ensure we collect the
dataset and resource information
2012-10-18 15:11:01 +01:00
Ross Jones 2283571562 Attempts to provide support for v3 of the Google Analytics API.
Since version 2 of the Google Analytics API was shelved the download
of previous data was broken.  This commit should, once the oauth dance
has been complete, allow it to work again by changing all of the calls.
See the README for instructions on setting up OAUTH.  Other bug fixes
are:

- Resources views are now clearly identified
- Package Ids are set for /dataset/edit requests
- Updated README
2012-10-18 13:47:30 +01:00
John Glover 03b4023676 Add 'track_events' config option, tidy up config
reading.
2012-07-11 14:34:18 +01:00
amercader 8f22a3a3a0 [doc] Update README 2012-05-10 13:43:36 +01:00
John Glover c9e8a6b5d9 change summary page to use /dataset, not /package 2011-11-29 17:56:47 +00:00
John Glover 251f896bc6 update readme for ckan 1.5 version of extension 2011-11-29 17:36:35 +00:00
John Glover 1588fbb110 change pip install bitbucket link to github link 2011-11-29 11:04:34 +00:00
Seb Bacon 4ad3402ca6 notes about restarting 2011-04-07 10:41:27 +01:00
Seb Bacon 0f1ee343bc mention activating the plugin 2011-04-07 10:37:47 +01:00
Seb Bacon 14f733bd9f factor out database init as separate install step 2011-04-07 10:24:22 +01:00
Seb Bacon 7bdd6e7b29 linkify 2011-04-06 12:15:09 +01:00
Seb Bacon ee3b30338e grammar 2011-04-06 12:14:18 +01:00
Seb Bacon 0397483a8c add 'domain' config option for tracking code 2011-04-06 12:01:21 +01:00
Seb Bacon 0ba01faed2 mention virtualenv 2011-04-06 11:05:00 +01:00
Seb Bacon aecdaac203 reflect move to OKFN bitbucket repo 2011-04-06 11:02:24 +01:00
Seb Bacon bf749dbf5c don't require profile_name option 2011-04-06 10:34:52 +01:00
Seb Bacon fd851678ba formatting tweaks 2011-04-06 10:07:58 +01:00
Seb Bacon f3baf8311a extra readme (and rename so it's parsed as reStructuredText by bitbucket)
--HG--
rename : README.txt => README.rst
2011-04-06 10:05:33 +01:00