Title: Proxy Tracking
Last modified: August 21, 2016

---

# Proxy Tracking

 *  Resolved [kosella](https://wordpress.org/support/users/kosella/)
 * (@kosella)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/proxy-tracking/)
 * 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/](http://wordpress.org/extend/plugins/wp-piwik/)

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

 *  Plugin Author [braekling](https://wordpress.org/support/users/braekling/)
 * (@braekling)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/proxy-tracking/#post-3859113)
 * 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)?
 *  Thread Starter [kosella](https://wordpress.org/support/users/kosella/)
 * (@kosella)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/proxy-tracking/#post-3859121)
 * Very strange.
 * In the WP-Piwik settings, the “[http://&#8221](http://&#8221); 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!

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

The topic ‘Proxy Tracking’ is closed to new replies.

 * ![](https://ps.w.org/wp-piwik/assets/icon-256x256.png?rev=3529668)
 * [Connect Matomo - Analytics Dashboard for WordPress](https://wordpress.org/plugins/wp-piwik/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-piwik/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-piwik/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-piwik/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-piwik/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-piwik/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [kosella](https://wordpress.org/support/users/kosella/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/proxy-tracking/#post-3859121)
 * Status: resolved