Skip to content

Commit ee09168

Browse files
committed
script async に変更
1 parent 8aec47c commit ee09168

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update-google-analytics.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# <script type="text/javascript" src="/hoge/huga/hoge.js"></script>
1818
def replace_js_file(path, out_path, js_file):
1919
data = '''<!-- Start Google Analytics -->
20-
<script type="text/javascript" src="{filename}"></script>
20+
<script async type="text/javascript" src="{filename}"></script>
2121
<!-- End Google Analytics -->
2222
'''.format(filename=js_file)
2323

0 commit comments

Comments
 (0)