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);
})();
_qevents.push ({
qacct:”p-_your_account_number”
});
This is a JavaScript script that sets up tracking using Quantcast, a popular tool for measuring and analyzing web traffic. The script creates a new script element in the DOM, sets the source of the newly created script element to the URL of Quantcast’s JavaScript, inserts the newly created script into the DOM, and then adds your Quantcast account number to the list of accounts to track.
Remember to replace “_your_account_number” with your actual Quantcast account number.
You will need to place this script on every page that you want to track.
No events or user actions are being tracked – this code will simply measure page views and collect anonymous traffic data.