Support » Plugin: Koko Analytics » Not Counting Stats when WP in Subfolder?

  • Resolved 12ender

    (@12ender)


    Hi,

    first of all thanks for that great plug-in!

    Beginning with Version 1.0.13 (also tested with 1.0.15) Koko isn’t counting any stats on two sites where wp-installation is in a subfolder and wordpress-adress and website-adress differ. With 1.0.12 it worked so I stay with that version for the moment.
    On a third site with wp in root and koko 1.0.15 there are no problems, all stats are counted correct.

    Can you help? Thanks in advance.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Lap

    (@lapzor)

    Can you add the following line of code via a Code Snippets plugin or in the functions.php of your child theme and see if that solves it:

    define( ‘KOKO_ANALYTICS_USE_CUSTOM_ENDPOINT’, false );

    Hope that helps. If you have any questions, please let me know!

    Sorry, doesn’t help.
    1.0.12 works, 1.0.15 with or without snippet not.

    Plugin Support Lap

    (@lapzor)

    Please send a link to this thread to support -at- kokoanalytics.com

    Thanks

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi @12ender,

    
    define( ‘KOKO_ANALYTICS_USE_CUSTOM_ENDPOINT’, false );
    

    Needs to be placed in your wp-config.php file for it to work.

    That said, we’ve also addressed an issue that sounds similar to this one in version 1.0.16. Can you let us know whether updating to version 1.0.16 fixes this issue for you?

    Hi Danny,

    thanks for the update and the snippet.

    But sorry, also with 1.0.16 no change in behavior: same folder -> everything ok, different folders -> no counting.

    When using the snippet (with 1.0.16 as with 1.0.12) I’m getting a php-error (“Warning: Use of undefined constant “KOKO_ANALYTICS_USE_CUSTOM_ENDPOINT” …” and “Warning: Cannot modify header information – headers already sent by …”)

    As I said it’s no problem to stay with 1.0.12 at the moment.

    Thanks

    Plugin Support Lap

    (@lapzor)

    Can you please send me a link to this thread on support@kokoanalytics.com ?

    Thanks!

    Hi,

    I just wanted to let you know, that I encountered this bug with version 1.0.19, but luckuly putting the code Danny mentioned into the config.php helped.

    I hope you can fix this problem in future releases, so I can remove the code.

    Thx.

    It’s not working

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.