Skip to content

Commit

Permalink
GA4の設定追加
Browse files Browse the repository at this point in the history
  • Loading branch information
hikaruworld authored Nov 12, 2023
1 parent a6ff349 commit 81e4a71
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ const { title } = Astro.props;
<!DOCTYPE html>
<html lang="ja">
<head>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3ENE2XQ27C"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-3ENE2XQ27C');
</script>
<meta charset="UTF-8" />
<meta name="description" content="寒ブリとIT技術者のマリアージュ">
<meta name="viewport" content="width=device-width" />
Expand Down

0 comments on commit 81e4a71

Please sign in to comment.