[ckan-dev] Google Analytics extension

Toby Dacre toby.okfn at gmail.com
Tue Aug 7 15:58:12 UTC 2012


On 3 August 2012 21:27, Jim Craner <jim at codeforamerica.org> wrote:

> Hi,
>
> The docs for the Google Analytics extension specify that we need to enter
> the GA user account's username and password into the configuration, and
> caution that the credentials could be read by other people.
>
> Can anyone tell me if this is still accurate?  Is there a reason we need
> to enter the username and password to integrate with Google Analytics as
> opposed to an API key or something?
>
>
The username/password is used for pulling the google-analytics data back
into ckan.  If you're not going to do that then It should be happy if you
don't add them.

They are not shown to site users

Toby

The username/password can be read by people who have access to the
configuration and ckan and it's extensions but should not be displayed to
users of the website unless explicity added to a template

> If our city government isn't comfortable entering those credentials into
> the CKAN GA config, is it still OK to hand-code the GA script into the
> templating system so it still gets included on every page?
>
> Thanks for your advice!
> Jim
>
> --
> -----
> Jim Craner, 2012 Fellow
> Code for America
> jim at codeforamerica.org
> (+1) 773-809-4546
> http://codeforamerica.org
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120807/7c56dc5e/attachment-0001.html>


More information about the ckan-dev mailing list