Comment 13 for bug 578713

Revision history for this message
Rance Lucifinil (lambo) wrote : Re: [Bug 578713] Re: Autoptimize breaks Google Analytics

After two and half hours test, I enabled Optimize JavaScript Code? and
Optimize CSS Code? in the option,

And google analytics is still working. Congratulations.

2010/7/5 Emilio <email address hidden>

> It doesn't really matter much when it comes to Autoptimize, but
> according to Google, the asynchronous code should be put just before
> </head>. From
> http://code.google.com/apis/analytics/docs/tracking/asyncTracking.html :
>
> "Insert the asynchronous snippet at the bottom of the <head> section
> of your pages, after any other scripts your page or template might use.
> [...] We've determined that on most pages, the optimal location for the
> asynchronous snippet is at the bottom of the <head> section, just before
> the closing </head> tag."
>
> Please report back the results of your testing :)
>
> --
> Autoptimize breaks Google Analytics
> https://bugs.launchpad.net/bugs/578713
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Autoptimize: Fix Committed
>
> Bug description:
> I tried your Autoptimize plugin for wordpress. blog.iobit.com
>
> Once I installed your plugin, it really worked, increased speed for opening
> my pages.
>
> However, since then, there is no Google Analytics data any more!
>
> two hours later, I found this issue, so I deleted your plugin at
> background.
>
> 2 hours later again, there is still no analytics data. I entered my server,
> found that there are some files of Autoptimize still there under cache
> folder. Then I deleted this folder completely.
>
> 1 hour later again, there is till no analytics data. I don't know where I
> didn't delete.
>
> During these period, I didn't edit any code of my blog, just installed and
> uninstalled your plugin.
>
> Is there anyway you can make my blog google analytics normal?
>
> I have already deleted Autoptimize files at background and cache folder at
> wp-content/
>
> Many thanks
>
> --
> Leonard Lambo
> GM Department
>
> IObit.com
> Http://blog.iobit.com
>
> Tel:+86-13402886117
> Email:<email address hidden> <Email%<email address hidden>>
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/autoptimize/+bug/578713/+subscribe
>

--
Leonard Lambo
GM Department

IObit.com
Http://blog.iobit.com

Tel:+86-13402886117
Email:<email address hidden> <Email%<email address hidden>>