Ticket #687 (closed Bug: duplicate)

Opened 3 years ago

Last modified 18 months ago

IE7 can not load

Reported by: DigitalGoldfish Owned by: vipsoft
Priority: normal Milestone: Piwik 0.6.1
Component: Core Keywords:
Cc: Sensitive: no

Description

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.

Change History

Changed 3 years ago by vipsoft

  • milestone set to DigitalVibes

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?

Changed 3 years ago by vipsoft

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

Changed 3 years ago by vipsoft

  • owner set to vipsoft
  • priority changed from major to normal
  • status changed from new to assigned

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

Changed 3 years ago by vipsoft

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

Changed 3 years ago by vipsoft

  • status changed from assigned to closed
  • resolution set to duplicate

Changed 2 years ago by koteiko

Changed 2 years ago by spomoni

Changed 18 months ago by vipsoft

  • keywords IE7 tracking code removed
  • sensitive unset
Note: See TracTickets for help on using tickets.