Skip to content

Commit bb95d69

Browse files
authored
Merge pull request #2132 from h5bp/remove-analytics-defer
Remove 'defer' from Google Analytics snippet
2 parents d351553 + e942f9c commit bb95d69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: dist/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
window.ga = function () { ga.q.push(arguments) }; ga.q = []; ga.l = +new Date;
3636
ga('create', 'UA-XXXXX-Y', 'auto'); ga('set','transport','beacon'); ga('send', 'pageview')
3737
</script>
38-
<script src="https://www.google-analytics.com/analytics.js" async defer></script>
38+
<script src="https://www.google-analytics.com/analytics.js" async></script>
3939
</body>
4040

4141
</html>

Diff for: src/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
window.ga = function () { ga.q.push(arguments) }; ga.q = []; ga.l = +new Date;
3636
ga('create', 'UA-XXXXX-Y', 'auto'); ga('set','transport','beacon'); ga('send', 'pageview')
3737
</script>
38-
<script src="https://www.google-analytics.com/analytics.js" async defer></script>
38+
<script src="https://www.google-analytics.com/analytics.js" async></script>
3939
</body>
4040

4141
</html>

0 commit comments

Comments
 (0)