Skip to content

Commit

Permalink
Merge pull request #2132 from h5bp/remove-analytics-defer
Browse files Browse the repository at this point in the history
Remove 'defer' from Google Analytics snippet
  • Loading branch information
roblarsen authored Jun 3, 2019
2 parents d351553 + e942f9c commit bb95d69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
window.ga = function () { ga.q.push(arguments) }; ga.q = []; ga.l = +new Date;
ga('create', 'UA-XXXXX-Y', 'auto'); ga('set','transport','beacon'); ga('send', 'pageview')
</script>
<script src="https://www.google-analytics.com/analytics.js" async defer></script>
<script src="https://www.google-analytics.com/analytics.js" async></script>
</body>

</html>
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
window.ga = function () { ga.q.push(arguments) }; ga.q = []; ga.l = +new Date;
ga('create', 'UA-XXXXX-Y', 'auto'); ga('set','transport','beacon'); ga('send', 'pageview')
</script>
<script src="https://www.google-analytics.com/analytics.js" async defer></script>
<script src="https://www.google-analytics.com/analytics.js" async></script>
</body>

</html>

0 comments on commit bb95d69

Please sign in to comment.