Skip to content
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

IE7 can not load #687

Closed
anonymous-matomo-user opened this issue May 1, 2009 · 4 comments
Closed

IE7 can not load #687

anonymous-matomo-user opened this issue May 1, 2009 · 4 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously.
Milestone

Comments

@anonymous-matomo-user
Copy link

The tracking code displayed by piwik can cause IE7 to fail to load the page.

The reason is that IE7 does not like <script> tags that are not directly under the body to append an element to body. IE7 will not display the page at all but instead show an alert box with a message. Removing the <a> around the piwik tag will solve the problem.

Not all versions of IE7 are affected - however I have reports of this from both Win XP and Vista 32 & 64bit; It seems to be spreading as I got reports about problems with other scripts (not piwik) from sites that have . There is a microsoft knowledge base article detailing the problem and offering possible fixes (there is also a browser path) - I don't have the URL right now - I will add it later to this report.
I belive this bug is similar to the one described in #229 - the duplicate referenced did have nothing to do with the cause of the problem.

@robocoder
Copy link
Contributor

Are your pages XHTML?

Is there a difference when you load the script directly, e.g.,

<script type="text/javascript" src="http://your_site/path/piwik.js"></script>

Can you provide a URL to one of the pages you're tracking?

@robocoder
Copy link
Contributor

Pleae also provide a URL to the Microsoft KB article that you're referring to.

@robocoder
Copy link
Contributor

The closest thing I could find was http://support.microsoft.com/kb/933873

@robocoder
Copy link
Contributor

This will be fixed by ticket 355 ... piwik.js will no longer modify the DOM by either DOM manipulation like appendChild() or document.write().

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

2 participants