#268 closed defect (bug) (fixed)
Update Quantcast script to support https without SSL erros
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Component: | General | Keywords: | has-patch |
| Cc: |
Description
Reported by Mike.
The new code block:
<script type="text/javascript">
var _qevents = _qevents || [];
(function() {
var elem = document.createElement('script');
elem.src = (document.location.protocol == "https:" ? "https://secure" : "http://edge")
+ ".quantserve.com/quant.js";
elem.async = true;
elem.type = "text/javascript";
var scpt = document.getElementsByTagName('script')[0];
scpt.parentNode.insertBefore(elem, scpt);
})();
</script>
Attachments (2)
Change History (6)
#2
@
12 years ago
Thanks for making the ticket.
The linked source recommends putting the first block at the end of the document's <head>. Not sure if it will break the tracking if it is not?
Otherwise, you can just merge the two script tags together.
This ticket was mentioned in PR #600 on WordPress/wporg-mu-plugins by @dd32.
22 months ago
#3
- Keywords has-patch added
Fixes #268
The current admin bar links to the Profile edit, which can be confusing for some.
| Before | Proposed in PR |
|---|---|
| | |
@dufresnesteven commented on PR #600:
21 months ago
#4
@dionysous Is this what you are expecting?
Note: See
TracTickets for help on using
tickets.
In 223: