• Resolved nicokobel

    (@nicokobel)


    Hi there

    What exactly is the purpose of the page reload after accepting or declining the cookies?

    “cli_action=” inside the URL kinda messes up my Google Analytics Reports so I would like to deactive it.
    Can i just deactivate the reload option or are there some drawbacks?

    • This topic was modified 4 years, 6 months ago by nicokobel.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @nicokobel,

    In the current version of the plugin, the script added via our plugin will run only after page reload. If you disable it, the cookies will be set for the user who accepts only when the click in any links in the site or reload the page manually.

    We added the URL parameter to refresh the page as an attempt to load the page without caching in case of cache implemented sites.

    To disable cache flushing ( Removes cli_action parameter from the URL ), please copy below code snippet to your active theme’s functions.php

    add_filter( 'wt_cli_enable_cache_flush', '__return_false');

    Make sure that you are using the latest version(1.8.8) of the plugin.

    Thread Starter nicokobel

    (@nicokobel)

    Thanks for your help!

    Will there be any drawbacks in regards of analytics when disabling cache flushing?

    Plugin Author WebToffee

    (@webtoffee)

    Hi @nicokobel,

    If you have any caching implemented in your site, the script will not run which means analytic data will not be tracked.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Purpose of reload’ is closed to new replies.