@fbe wrote:
Hi there,
I am experiencing problems using 'setDocumentTitle' and 'setCustomURL' with the asynchronous API.
Using
_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:
T() piwik.js:22
window.Piwik<() piwik.js:63
piwik.js:21Using
_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.
Best regards
Frank
Posts: 2
Participants: 2