Extension Google Analytics Integration


Extension Basics

Title
Google Analytics Integration
Name
ckanext-googleanalytics
Type
Public extension
Description
Comprehensive Google Analytics integration providing tracking, statistics, and download analytics for CKAN.
CKAN versions
Download-Url (zip)
Download-Url commit date
2024-07-31
Url to repo
Category
Visualization & Analytics


Background Infos

Description (long)
Show details

The Google Analytics Integration extension provides comprehensive web analytics capabilities for CKAN portals through seamless Google Analytics integration. This sophisticated extension implements both tracking and reporting functionality, automatically embedding Google Analytics tracking codes for page views, user behavior, and custom event tracking. The system captures detailed analytics for resource downloads, API usage, and user interactions, providing valuable insights into data portal usage patterns. Advanced features include cross-domain tracking for multi-domain deployments, user ID tracking for authenticated sessions, and custom event tracking APIs for extension developers. The extension retrieves analytics data from Google Analytics and displays download statistics directly on package pages, showing popularity metrics and usage trends. Administrative features include automated data imports via scheduled commands, popular package rankings, and comprehensive reporting dashboards. Authentication is handled through Google API service accounts with OAuth2 security. Essential for organizations requiring detailed usage analytics, performance monitoring, and data-driven decision making for portal optimization and content strategy development.

Version
1.0.0
Version release date
2024-07-31
Contact name
Datopian Team
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

Requires Google Analytics account, service account authentication for statistics retrieval

Plugins to configure (ckan.ini)
googleanalytics
CKAN Settings (ckan.ini)
# googleanalytics.id = 'UA-1010101-1' # googleanalytics.account = 'Account name' # googleanalytics.username = 'googleaccount@gmail.com' # googleanalytics.password = 'googlepassword' # googleanalytics_resource_prefix = '/downloads/' # googleanalytics.domain = 'auto' # googleanalytics.track_events = false # googleanalytics.fields = '{}' # googleanalytics.enable_user_id = false # googleanalytics.show_downloads = true # googleanalytics.linked_domains = 'domain1.com,domain2.com'
DB migration to be executed
initdb
<< back to Extensions