Skip to main content

filter · JavaScript filters

Async Google Analytics (make_google_analytics_async)

Category:
JavaScript
CoreFilters:
No
OptimizeForBandwidth:
No
Risk:
Dangerous set

Deprecated and a no-op: it rewrote the retired ga.js snippet to its asynchronous form. The name is accepted so old configurations load; remove it.

When to use it

  • Deprecated: the module accepts the name so that an existing configuration loads, and does nothing with it.
  • Risk rating on these docs: Dangerous.
  • Targets the retired ga.js.

Risks

The JavaScript filters page lists no specific risks for this filter.

Frequently asked questions

What does the make_google_analytics_async filter do?
Deprecated and a no-op: it rewrote the retired ga.js snippet to its asynchronous form. The name is accepted so old configurations load; remove it.
Is make_google_analytics_async enabled by default?
No. The module accepts the name so that existing configurations load, but the filter does nothing.
Should I remove make_google_analytics_async from my configuration?
Yes. The name is kept only so that an existing configuration still loads; removing it changes nothing in the output.

This page is drawn from the make_google_analytics_async entry on JavaScript filters. Every filter in one table: PageSpeed filters.

Google Analytics, AdSense, Fonts and Hosted Libraries are Google products. We-Amp isn't affiliated with or endorsed by Google.

Search