• Resolved Jerome

    (@market4android)


    I have been chasing this issue for 4 months and just now found it. Using this plugin, inserted http://sub.domain.com as the PIWIK URL (REST API). Checked the tracking code using the Tracking tab of the plugin and it is dropping the http: for some reason. This has completely broken tracking and even trying to re-save settings does not fix the problem.

    https://wordpress.org/plugins/wp-piwik/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author braekling

    (@braekling)

    The tracking code is delivered by Piwik itself. The http is dropped because the tracking code checks whether http or https is used:

    var u=(("https:" == document.location.protocol) ? "https" : "http") + "://sub.domain.com/";

    Please also check if a CDN URL is defined. Make sure both text boxes are empty.

    Thread Starter Jerome

    (@market4android)

    this really doesn’t tell me where to look to fix the problem… both CDN boxes are empty.

    Plugin Author braekling

    (@braekling)

    It is hard to help you without more information.

    Can you give some details about your tracking configuration and post your tracking code, please?

    Plugin Author braekling

    (@braekling)

    Dropping the http/https is done by Piwik, replacement by WP-Piwik is fixed since 0.9.9.13

    (Old WP-Piwik adds ://, since 0.9.9.13 it adds // related to the removed protocol (http/https) identifier.)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘0.9.9.2 is dropping http: in tracking, breaking tracking’ is closed to new replies.