• Resolved jiivee

    (@jiivee)


    Hi,

    Thank you for the great plugin!
    Can you consider adding query string in page data?

    I understand its privacy point, but it could be boolean in setting whether to include query strings or not.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hi @jiivee,

    Query strings are currently filtered out on a whitelist basis, so only certain commonly used query strings are allowed. This value defaults to the ones used by WordPress core (p, cat, tag, etc.) but we can definitely make this customizable.

    What query parameter are you thinking of specifically? This can help us decide whether it is one we want to support by default.

    Kind regards,
    Danny

    Thread Starter jiivee

    (@jiivee)

    Thank you for the quick reply Danny😀

    For me the query string parameter “area” is essential to sort different areas of service.
    I now use Matomo to get out but would be fantastic to have it from Koko Analytics.

    Br,

    Janne

    Plugin Author Danny van Kooten

    (@dvankooten)

    Thanks @jiivee – I’ll see what we can do to support this and will keep you posted in this thread!

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi @jiivee,

    The next release of the Koko Analytics plugin comes with a new filter hook that you can use to allow additional query variables, like area in your example.

    A sample use of this filter hook can be found here: https://github.com/ibericode/koko-analytics/blob/main/code-snippets/allow-query-vars.php

    (You can save this file in your /wp-content/plugins/ directory and then activate it as a regular WordPress plugin.)

    Please know that the snippet will have no effect until we release the next version of Koko Analytics, which is due in about ~2 weeks.

    I hope that helps. If not, let me know please.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.