I am experiencing problems using ‘setDocumentTitle’ and ‘setCustomURL’ with the asynchronous API.
_paq.push (['setDocumentTitle'], 'Test'); within the Piwik snippet (in page head) gives me the following error in console:
TypeError: Z.shift is not a function.
FF Console provides a little more data, I don’t know if it’s useful:
_paq.push (['setCustomURL'], 'http://' + window.location.host + '/test/'); gives me another error, it says:
TypeError: O[aa] is undefined.
FF console shows the same extra data as for the ‘setDocumentTitle’ statement.
I have tried moving the statements either before or after the ‘trackPageView’ statement, I even have disabled jQuery library and other scripts to track down possible interference, but the errors persist.
I have tested with two independent Piwik setups, both at version 2.16.1. Any hint/solution would be greatly appreciated.