Commit Graph

130 Commits

Author SHA1 Message Date
kmbn 3feb7e7f7f Fix variable referenced before assignment error 2017-07-25 14:56:40 +02:00
Sergey 7c805cd7b2 Merge pull request #32 from gleb-rudenko/tracking_interface
#22 / no interface needed, function _post_analytics modified
2017-05-04 13:14:53 +03:00
Gleb e49e8bbac7 #22 / no interface needed, function _post_analytics modified 2017-03-27 15:43:39 +03:00
Sergey 4ace99329f Merge pull request #31 from gleb-rudenko/url-ga-parameter
#30 / Extension adds ?_ga=... parameters to all external links
2017-03-27 14:57:45 +03:00
Gleb 3a589bf40e feedback alt 2017-03-27 14:57:12 +03:00
Sergey 6dfadd61d0 Merge pull request #28 from gleb-rudenko/extension-does-not-respect-custom-uploader-implementations
Extension does not respect custom uploader implementations
2017-03-27 14:53:39 +03:00
Gleb 437c4a8646 #30 / Extension adds ?_ga=... parameters to all external links 2017-03-13 15:46:38 +02:00
Sergey f57820fcb2 Merge pull request #27 from insertjokehere/linked_domains_invalid_json
Fix a bug introduced in #25
2017-02-14 11:37:02 +02:00
Gleb b7238dc8c8 #16 / ga works with default uploader 2017-02-14 10:04:34 +02:00
Gleb 1165fdf22f #16 / reworking google analytics resource download tracking 2017-02-13 15:56:10 +02:00
Sergey 302aa3116f Merge pull request #26 from smotornyuk/use-service-account
Use google service account instead of temporary tokens
2017-02-13 14:56:19 +02:00
William Hughes 812b6e6098 Fix a bug introduced in #25
Setting a googleanalytics_fields key to `True` as in #25 causes the
resulting Javascript to also include the literal `True`, which is not
valid. This works around that by setting the key to `'true'` which
when evaluated in an if statement is truthy, serving the same purpose
2017-02-09 16:23:31 +13:00
Sergey Motornyuk 90bc97a326 Use google service account instead of temporary tokens 2017-02-08 15:06:52 +02:00
Sergey 8e36a4fcd2 Merge pull request #25 from insertjokehere/ga_linked_domains
Add support for Google Analytics domain linking
2017-02-06 14:02:07 +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
Sergey ece14b8e43 Merge pull request #21 from miguelbgouveia/20-remove-genshi-reference
Remove genshi reference
2017-01-29 00:30:43 +02:00
Sergey 148d52fe9f Merge pull request #19 from aptivate/fields-config
Allow fields to be specified when creating the tracker
2017-01-29 00:22:17 +02:00
Sergey e7a8219456 Merge pull request #24 from ckan/revert-23-master
Revert "Added custom dimensions"
2017-01-25 16:19:26 +02:00
Sergey 59cff2f0b1 Revert "Added custom dimensions" 2017-01-25 16:18:57 +02:00
Sergey 1f096549d2 Merge pull request #23 from Engerrs/master
Added custom dimensions
2017-01-25 16:01:13 +02:00
Mark Gregson 2bf48aed54 Merge pull request #3 from Engerrs/GA_fix_resource_download_method
OEHXCDHG-171 GA now uses CloudStorage resource_download method, if it…
2016-11-30 11:20:53 +11:00
Yan c7638e31d6 OEHXCDHG-171 GA now uses CloudStorage resource_download method, if it's presents in Ckan plugin list 2016-11-29 10:01:51 +02:00
Sergey Motornyuk 45d97159a7 SXOEHXZDG-103 / custom dimensions 2016-11-16 12:09:34 +02:00
Martin Burchell 52df40e58b Store fields config value as python dict 2016-09-20 17:39:14 +01:00
Miguel Gouveia 9292140282 Delete the genshi references in orther to use in ckan >= 2.6 versions (delete comments). 2016-09-08 14:13:00 +00:00
Miguel Gouveia ae2f1a58d4 Delete the genshi references in orther to use in ckan >= 2.6 versions. 2016-09-08 14:11:50 +00:00
Martin Burchell a46cc5299c Allow fields to be specified when creating the tracker 2016-07-04 15:46:50 +01:00
amercader 3be1e138df Merge branch 'keitaroinc-master' 2016-02-04 10:12:56 +00:00
Visar Zejnullahu a6b27e40d7 Remove calls to get_top_packages
get_top_packages is broken, and needs to be rewritten to work with
CKAN 2.*. This is because ckan.authz has been removed in CKAN 2.*

See commit ffa86c010d
2016-02-03 18:21:55 +01:00
amercader eda687c556 Fix legacy search endpoint, which wasn't calling the parent one 2015-11-20 13:25:39 +00:00
joetsoi 8dd54a1862 fix resource controller import 2015-11-16 00:39:56 +00:00
joetsoi 0652beb2d0 add resource downloads 2015-11-16 00:09:55 +00:00
Joe Tsoi f9d0bba7df Merge pull request #13 from ckan/unstable
Redo the threading bits
2015-11-10 12:16:55 +00:00
Ian Ward eee49aef51 Merge pull request #14 from gjlawran/master
Adding AGPL 3  license to repo.
2015-06-10 11:19:34 -04:00
Greg Lawrance 3fc3838b15 Adding AGPL 3 license to repo. 2015-04-21 12:43:30 -07:00
nigelb 7c723aa3dc Merge remote-tracking branch 'maxious/api-analytics-event-tracking' into unstable
Conflicts:
	ckanext/googleanalytics/__init__.py
2015-02-17 11:07:06 +05:30
nigelb 13cc8c28d5 Re-land the new tracking from @maxious
This reverts commit f4fce47601.
2015-02-17 11:05:19 +05:30
Alex Sadleir d2d5a5fc48 Move API analytics thread pool initialisation to plugin configuration
One pool should then be available to all controllers avoiding errors with
mod_wsgi under Apache as the number of threads grows infinitely.
2015-02-16 17:52:27 +11:00
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
Alex Sadleir 803b3f7f81 Use pool of threads and queue for Google Analytics Event Tracking requests 2014-11-05 13:39:53 +11:00
Alex Sadleir 5809f205f5 Use urllib2 timeout for Google Analytics Event Tracking requests 2014-11-05 12:51:51 +11:00
Alex Sadleir d9f811cea7 PEP8 fixes for Google Analytics Event Tracking for CKAN API 2014-11-05 12:43:24 +11:00
root f83664c98e fix typo 2014-07-24 22:58:40 +00:00
Nigel Babu e45d73d7a3 Merge pull request #10 from alexandrainst/master
Declare namespace in ckanext/googleanalytics/__init__.py
2014-07-10 14:15:15 +05:30
Justas Azna 51c212c57c Declare namespace in ckanext/googleanalytics/__init__.py 2014-07-09 18:24:05 +02:00
CKAN data.gov.au 482d8e2ada Use universal analytics 2014-05-22 07:06:47 +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 6d7aa555c3 Fix resource download event tracking js 2013-04-15 19:55:31 +02:00