Why is it not possible to track an HTTPS site from an HTTP Piwik site?

I want to understand the technical background why it is not possible to track an HTTPS website with Piwik, when Piwik itself is installed on an HTTP server?

Somebody said, that if you would do that the browser would come up with an error message, but why?

I mean you do an HTTPS request, and on the bottom of the site is the tracking code to the HTTP Piwik site, that gets requested immediately. What's wrong about that?

-------------Problems Reply------------

All resources (such as the requests to Piwik) of the site requested through HTTPS have to go through the very same protocol since, otherwise, you will receive varying warning messages from different browsers (along the lines of "Your connection to XYZ is encrypted, however it contains resources that are not secure [...]").

So, to alleviate the problem, also Piwik has to be available via SSL. The Piwik Javascript snipped already checks the protocol and redirects the user to the respective protocol. Now all you need to ensure is that your Piwik installation resides somewhere that has a valid SSL certificate.

Category:http Views:0 Time:2012-03-02

Related post

  • Google Analytics multi-site tracker stopped collecting stats Nov 1, individual single-site trackers still working 2011-12-16

    I am using Google Analytics for a number of websites. I have one dedicated tracker for each site, as well as one global tracker (for network-wide stats). So each site is set up to use multiple trackers. I am loading Google Analytics asynchronously, a

  • How to track my flash video player embed on other sites 2010-02-19

    Setup: an online tv channel with "youtube" like clips and categories our own flash video player which can be embeded into other remote sites as2 flash player Goal: To track who's embedding my videos, at least with basic statistics per domain. Since i

  • Conversion tracking with Google Analytics on 3rd party (off-site) shopping cart 2010-10-06

    I have the following scenario: The user has an on-site shopping cart where he adds products. When the user clicks on checkout he is POSTed to a script that computes the buy link to an off-site shopping cart and redirects him with the Location header.

  • Are there any ways to track : Visitors of my site are come from which site? 2012-03-17

    This is a problem because when I do email campaign, There is a link on the email, that link to my company homepage, I would like to differentiate between the visitor come from another way (e.g. search on google) or the visitor come from the email I h

  • What is the most stable, least intrusive way to track web traffic between two sites? 2008-09-19

    I need to track traffic between a specific set of web sites. I would then store the number of clicks in a database table with the fields fromSite, toSite, day, noOfClicks. The complete urls are unimportant - only web site identity is needed. I've rul

  • Cross Domain User Tracking 2008-10-19

    We have several websites on different domains and I'd like to be able to track users' movements on these sites. Obviously cookies are not feasable, because they don't cross domain borders. I could look at a combination of IP address and User Agent, b

  • Keeping track of web site configuration details, action items, documentation? 2008-11-20

    Does anyone know of an application (hosted or otherwise) that I could use to keep track of details for a number of web sites? I manage 50+ web sites that range from custom solutions to open source platforms (WordPress, Joomla). I started to write my

  • Google Analytics to track FireFox extension use 2009-11-20

    I'm developing a Firefox extension and would like to track its use with google analytics, but I can't get it working. I've tried manually calling a function from ga.js, but that didn't work for some reason. No error was produced, but neither was any

  • Any way to track "load abandonment"? 2010-07-12

    Question: Is there any way to track how many website visitors are leaving your site because it takes too long to load? Running IIS (not sure the version), ASP.NET 1.1, Proprietary Compiled & Obfuscated CMS. Background: I'm currently working for a

  • what is the best tracking download method in php / java script? 2010-09-02

    Hi if i like to track and get all the possible info about users that downloading my application without forcing them to register what is the best php script for this ? or the best method to mange downloads? --------------Solutions------------- This i

  • Track a user and disallow multiple windows/tabs with php/javascript 2010-11-28

    I want to set up a system that allows a visitor to view only one webpage at a time. Only one browser window or tab should be allowed. I have implemented a session variable called "is_viewing". If it is true, the person is denied access to the pages (

  • How to tracking down slow loading JS in IE8? 2010-12-08

    One of the websites I work on loads extremely slow in IE8 and Im trying to track down the culprit. The website is virginwines.com Anyone have any advice around how I can use browser tools to figure out which JS is causing the issue(s)? --------------

  • What are useful parameters to store when tracking page views? 2010-12-18

    I want to implement a simple in-house table that tracks user page views on my website. Without targeting some specific hypothesis, what is useful data to store? Eventually I'll use it to build graphs or decision trees to better learn about our user b

  • how to track from where visitor come to my site php 2011-01-19

    I want to track the site URL from where user reached my site. From where he came i.el, Google, GMail, Facebook, etc. I tried $_SERVER['HTTP_REFERER'] but it does not contain anything when user click on my site link from any external site but resides

  • How to track directories but not their files with Git? 2011-02-23

    I've recently started using Git and am having trouble with just one thing. How can I track directories without tracking their contents? For example the site I'm working on allows uploads. I want to track the uploads directory so that it is created wh

  • Tracking users and gathering analytics on a second party site 2011-06-15

    I've got a Python/Django powered site that offers a service to clients. All the clients who use my service simply need to include a "single" JS tag in their page. All works fine but I need to some tracking on the client side. Clients could be using t

  • Django tracking anonymous users 2011-06-30

    I am building a system which serves content on external properties. I would like to track users which have not registered with my site with anonymous unique IDs. Then, if later they register with my site, I can covert them to regular Django users, bu

  • Track multiple, overlapping website domains with Piwik 2011-08-24

    I have a dynamic website that I'm integrating with Piwik for analytics. The website will allow users to have a public 'profile' page and several sub pages related to it. I want to use Piwik to record analytics for the entire website, and to record an

  • What are the likely causes of random crashes with cocos2d and how do I track them down? 2011-11-08

    I have an arcade style iPhone game that is built with Cocos2d-iPhone and works fine except that it randomly crashes for no apparent reason after an unpredictable amount of playing. Sometimes you can play several levels without a problem and others it

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.206 (s). 11 q(s)