- Issue created by @rupl
- 🇦🇺Australia dpi Perth, Australia
Thanks for the issue @rupl.
Do you think we can get away with universally adding defer?
In keeping with the project mandate, build in configuration is something I want to avoid.
At most, I'd want to make it alterable by a render alter hook or something.
Is the local caching necessary to achieve this? this is a feature I'd really want to avoid. For which the main GTM project → would be best.
- 🇩🇪Germany rupl
Do you think we can get away with universally adding defer?
Adding it universally would be possible and I'd personally like that, but it creates a chance that some very quick bounces aren't counted. Some folks would undoubtedly find it undesirable.
Is the local caching necessary to achieve this? this is a feature I'd really want to avoid.
Yes, using the
<script defer>
requires an external JS reference (using thesrc
attribute). So the module would have to write JS to the files dir during cache rebuild or cron. If that's a deal-breaker then I'll go ahead and close the issue.Thanks for the response!
- Status changed to Closed: won't fix
about 1 year ago 9:11am 22 January 2024