[ckan-dev] Website Visitors with googleanalytics extension

Alex Palcuie alex.palcuie at gmail.com
Sun Jul 10 11:42:08 UTC 2016


I did this for the Romanian portal[0]. However, I used custom
code[1][2] to generate a token, so I could embed the charts using the
Google Analytics API[3].

[0]: https://data.gov.ro/romania_theme/ga
[1]: https://github.com/govro/ckanext-romania_theme/blob/master/ckanext/romania_theme/controllers/gacontroller.py
[2]: https://github.com/govro/ckanext-romania_theme/blob/master/ckanext/romania_theme/templates/romania_theme/ga.html
[3]: https://developers.google.com/analytics/devguides/reporting/core/v4/


Alex


On Sat, Jul 9, 2016 at 2:21 PM, Teg-wende Idriss TINTO
<tinto.jean at titinto.net> wrote:
> Hi,
>
> I want to know if it is possible with googleanalytics, to displays a
> visitors counter in the frontend of a ckan data portal.
> If some of you,have already done this, can they share the method?
>
> thanks
> --
> Teg-Wende Idriss TINTO
> Software Engineer
> Open Knowledge Burkina Faso
> Open Burkina
> - Mobile : (00226) 70102936
> - Email : tinto.jean at titinto.net
> - Twitter : @titinto_
> - skype : tinto.jean
> - Telegram : titinto
> PGP Key-ID: 0x40A4F0FE
> PGP Fingerprint: D58E 610C 5F14 8E8F E13E 04DB BFE9 D633 40A4 F0FE
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev
>



More information about the ckan-dev mailing list