New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asynchronous JavaScript tracking code #1842
Comments
(In [3374]) fixes #1842, refs #739 - implement asynchronous tracking (thanks Xaver); see updated documentation, http://piwik.org/doc/javascript-tracking/ |
Excellent!!!
|
This was largely Xaver's code. I've updated the docs and opened a new ticket for the outstanding questions/ideas. Replying to matt:
Yes, we should. This is required per HTML4 spec, but was optional in practice. Thus, in HTML5 'text/javascript' is the default if type is unspecified.
I've changed it to use the old code so that it's clearer. But it is a clever optimization. The URI spec contains rules to resolves URI references. In this case, it should use the document's base URI to determine the scheme, if not specified.
To save bytes. I've removed the parameters.
Opening a new ticket for these. |
Replying to vipsoft:
"it" == a conforming user agent. |
Thanks for the updates, looks good! |
see #1845 |
Provide fast asynchronous javascript tag in Piwik 1.1
See the new documentation in http://piwik.org/docs/javascript-tracking/#toc-asynchronous-tracking
The text was updated successfully, but these errors were encountered: