Support » Plugin: EU Cookie Law Compliance » google analytics

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author zafrira


    Hi Shorif2000,

    thank you for your questions, here the answers:

    Q: Does this stop google analytics?
    A: It does not stop anything, if you have an active Google Analytics plugin you should deactivate this for the plugin to it’s work.
    The plugin in general is meant as a tool to help you dividing the actions taken when user allow or disallow cookie usage.

    Q: What would happen if user selects deny?
    A: If the user hits deny all actions will be taken that you defined to be taken when the user does not allow the cookie usage. Based on your settings in the plugin it will not ask the user the same question again, or it will (as you choose to do so) show a bar on the bottom that keeps asking for approval.
    The plugin is meant to be used as opt-in, this is as we know the most strict option that is implemented in the EU countries. Some EU countries adopted the opt-out option, in this case you can use the Deny function to remove allready set cookies.

    Q: What would happen if i do not fill in the option in google analytics options
    A: It will not track your visits with Google Analytics. This is just an extra option of the plugin, so you do not have to hook the Google Analytics funtionallity yourself into the plugin.
    When you do activate the Google Analytics function it will make you be able to do minimal tracking on your page views and visits, even when the user denied cookie usage. When activated and the user denied, it will not track returning visits as a cookie would be needed to track this, it will only track the session.

    Hope the above do answer your questions.
    If not, or if you have additional questions, please let us know.

    Kind regards

    I have the following in thematic/header.php the google analytics code

    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'xxx']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

    What do I need to do to make sure this works?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘google analytics’ is closed to new replies.