In my Joomla (1.5) installation I'm getting errors presumably because the JS code as it's pasted into the index.php file (above </head>
) is somehow changed when I look at the page source.
This is a set of screenshots of what's going on:
You can see my code is saying src="undefined"!==typeof
, while the page source is saying src="/undefined"!==typeof
.
I tried changing src="/undefined"!==typeof
to src=typeof MIX...!=='undefined'?==typeof
but it didn't help.
I get this in firebug:
ReferenceError: MIXPANEL_CUSTOM_LIB_URL is not defined
It's my analytics code for MixPanel, & it doesn't report page loads to my dashboard. I don't know how to get it to work.