WordPress.org

Ready to get started?Download WordPress

Forums

WP-Piwik
[resolved] Proxy Tracking (3 posts)

  1. kosella
    Member
    Posted 1 year ago #

    Not positive if this is due to WP-Piwik or Piwik's API, but when I use the proxy selection for tracking code - the code breaks here:

    var u=(("https:" == document.location.protocol) ? "https" : "http") + "://://domain.org/wp-content/plugins/wp-piwik/";

    Obviously ://:// should just be ://

    Thanks.

    http://wordpress.org/extend/plugins/wp-piwik/

  2. braekling
    Member
    Plugin Author

    Posted 1 year ago #

    Looks fine here...

    var u=(("https:" == document.location.protocol) ? "https" : "http") + "://localhost:8888/wp-piwik/wp-content/plugins/wp-piwik/";

    Can you have a look at your URL configuration (WP-Piwik -> Piwik URL, WordPress general settings -> blog & site URL)?

  3. kosella
    Member
    Posted 1 year ago #

    Very strange.

    In the WP-Piwik settings, the "http://" had been stripped off the Piwik URL on each site this is installed on. Once I added it back in, the code is fine.

    I'll let you know if I experience it again somehow.

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.