[quote=habakuk @ Jun 28 2009, 08:22 PM]Hello,
i have 3 sites where I tried to include the Piwik JavaScript, but it works only on one site… style_emoticons/<#EMO_DIR#>/sad.gif[/quote]
Now it looks like it would work on all sites; but i didn’t chnage anything since yesterday…
I know that this thread is a little rusty. But I recently faced the same problem as habakuk (new domain, same settings as working domain, but error: Piwik is not defined) and after two hours reinstalling, changing javascript etc. I found the solution:
Adblock plus
I did’nt have the new domain in my whitelist and so Adblock plus stopped piwik from loading, thus throwing the error. After whitelisting the new domain, everything ran smoothly.
Anyone know how to take care of this in a WordPress environment?
I’m not sure if I should enqueue piwik.js separately or if the plugin already takes care of that (What are the downsides to enqueueing a script twice?)
Also, there’s a piwik.js on the Piwik folder and also in the Piwik/js folder. Which one is being queued?