You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We remove the fork(ie copy) and upgrade extension for catalog & inventory and we have tested environment (needs to be signed off by GSA before proceeding)
When there's a new release upstream, we can get onto it in under an hour
When there's a new release upstream, we see a notification in a Slack channel
If the upstream maintainers don't already use versioning, there's an issue in their tracker requesting they do.
If the upstream maintainers don't already have tests, there's an issue in their tracker requesting they add them.
We have tests for this extension running in CI (upstream have tests but no CI)
Tasks
Define if we really need multiple tracker IDs. If we need this should be added as a new feature to upstream and create a PR for it.
GSA/ckanext-googleanalyticsbasic is a simple implementation of a single feature from ckan/ckanext-googleanalytics. It adds Google Analytics asynchronous tracking code to your page headers for page tracking.
It looks like most of the code in plugin.py from ckanext-googleanalyticsbasic (a good portion of the code) is identical to what's found in ckanext-googleanalytics. If it doesn't work out of the box, it shouldn't take much work to migrate to ckan/ckanext-googleanalytics, and it will add a lot of optional functionality. The extra functionality would include resource download tracking, some API usage tracking, custom event tracking for extensions, and editing user profiles.
Is to understand if they need multiple tracking ids... Main point of the fork/copy is to manage multiple ids but that doesn't seem in use
There is a small script for the Open Analytics
Recommendation
Recomendation is to use the community version with an GSA extension to customise (eg apply google analytics id(s)). In theory it could be handled with a GSA fork but would be better to upstream this.
This extension would be a super small script if 1 tracking id is needed. If multiple tracking ids are needed would send a PR to upstream to include this ability... if not we'd need to include this in the extension (needs further analysis).
The text was updated successfully, but these errors were encountered:
Description
As a part of a plan to upgrade CKAN extensions in use, and in order to improve the way that we manage forks we need to upgrade the Analytics extension in use. (This is part of the reduce/simplify fork epics.)
Acceptance Criteria
Tasks
Analysis & notes
We're using a copy-based (not a fork) Google Analytics extension
We consider as upstream the ckan/ckanext-googleanalytics repo
GSA/ckanext-googleanalyticsbasic
is a simple implementation of a single feature fromckan/ckanext-googleanalytics
. It adds Google Analytics asynchronous tracking code to your page headers for page tracking.It looks like most of the code in
plugin.py
fromckanext-googleanalyticsbasic
(a good portion of the code) is identical to what's found inckanext-googleanalytics
. If it doesn't work out of the box, it shouldn't take much work to migrate tockan/ckanext-googleanalytics
, and it will add a lot of optional functionality. The extra functionality would include resource download tracking, some API usage tracking, custom event tracking for extensions, and editing user profiles.More detailed code analysis is here
Two key points:
Recommendation
Recomendation is to use the community version with an GSA extension to customise (eg apply google analytics id(s)). In theory it could be handled with a GSA fork but would be better to upstream this.
This extension would be a super small script if 1 tracking id is needed. If multiple tracking ids are needed would send a PR to upstream to include this ability... if not we'd need to include this in the extension (needs further analysis).
The text was updated successfully, but these errors were encountered: