By sergino on
Hello all,
I am new to Drupal and I hope this is the right place for get help.
I am managing a new Drupal site and looking arounf for a suitable theme I got one called Ability, from Xactive in http://drupal.org/project/ability.
After a clean installation ad a while of work. my Firefox begun to warn me about my site performing Google Analytics!
The code was in the page.tpl.php and the code is:
<div class="legal2">Copyright © <?php print date('Y') ?> <a href="/"><?php print $site_name ?></a></div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-2153060-1";
urchinTracker();
</script>
</div>
</q>
Is tis correct non to give immediate evidence that the code of GA is embedded in the style? Is it normal to fing GA in styles and/or modules and how much it jeopardize my and my customers privacy and/or security?
thanks
Comments
Strange
I don't know if there is an official policy, but I think it's strange to include GA in downloadable themes. Technically speaking, page.tpl.php is a good place to include the GA code, but I would only do that in my own 'private' themes. Maybe you can submit an issue on http://drupal.org/node/add/project_issue/ability/support and ask for the removal of the GA code.
As all themes (including
As all themes (including "ability" theme) hosted at drupal.org are licensed under GPL license, you are free to modify theme.
If you wish do remove GA code (embedded by developer of that theme), find and remove next code from ability/page.tpl.php
---
Drupal Theme Garden
Drupal Hosting Article