Just discovered this
Code:
<!-- global scripts -->
<script type="text/javascript" src="http://assets.pottermore.com/site/js/third-party/jquery.js?v=0.34.1.6"></script>
<script type="text/javascript" src="/en/_assets/js/resources.js"></script>
<script type="text/javascript" src="http://assets.pottermore.com/site/js/globalplugins.min.js?v=0.34.1.6"></script>
<script type="text/javascript" id="globalJs" src="http://assets.pottermore.com/site/js/global.min.js?v=0.34.1.6"></script>
<script type="text/javascript">
var Language = 'en';
var PageCategory = 'potions';
var PageSubCategory = 'resume';
var AgeCategory ='over13';
var SexCategory = '*';
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
var ajaxAnalytics = {
/*global variables should remain constant*/
global:{
"AnalyticsAccount":"UA-222**532-2",
"Language":"en",
"PageCategory":"potions",
"PageSubCategory":"resume",
"AgeCategory": "over13",
"SexCategory": "M"
},
"Category":"",
"SubCategory":""
};
//<![CDATA[
(function() {
var AR = "over13";
if("potions" == "registration" && "over13" == "unknown") { try { AR = (isUnder13Reg == "True") ? "under13" : "over13"; } catch(e){} }; _gaq.push(['_setCustomVar', 5, 'Age-Range', **, 3]);
})();
//]]>
_gaq.push(['_setAccount', "UA-222**532-2"]);
_gaq.push(['_setCustomVar', 1, 'Site-Area', "potions", 3]);
_gaq.push(['_setCustomVar', 2, 'Sub-Area', "resume", 3]);
_gaq.push(['_setCustomVar', 3, 'Language', "**", 3]);
_gaq.push(['_setCustomVar', 4, 'Sex', "*", 3]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
analytics.init();
</script>
<script>
wand = {
wandHandle: "http://assets.pottermore.com/site/media/wand/handles/2-brown-dark.sm.png",
wandShaft: "http://assets.pottermore.com/site/media/wand/shafts/gray-light.sm.png"
}
restUrl = "/api/en/potions/";
potionData = {
lang: "en",
apihost: "https://api.pottermore.com/",
gameInstanceID: "fc01cad2-8**d-4851-a9**-34cf9c271b5f",
selectedPotion: "swelling-solution",
selectedCauldron: ""
};
</script>
<script type="text/javascript" src="http://assets.pottermore.com/site/js/html5/games/potions.min.js?v=0.34.1.6"></script>
<script type="text/javascript" src="/Html5GameAssets/potions/game.min.js"></script>
</body>
</html>
Its seems that pottermore.com is tracking us... could a smart person explane this? The '*' in the code are to protect me ... to see the fullcode goto www.minosshell.weebly.com and shoot me a form asking so.