Skip to content

Commit

Permalink
chore: add google analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
wojciechmarek committed Apr 21, 2023
1 parent 075a830 commit 5135564
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,28 @@
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<script type="module">
// Import the functions you need from the SDKs you need
import { initializeApp } from 'https://www.gstatic.com/firebasejs/9.20.0/firebase-app.js';
import { getAnalytics } from 'https://www.gstatic.com/firebasejs/9.20.0/firebase-analytics.js';
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries

// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
apiKey: 'AIzaSyCa07zE09ONmDK-UtdFJeug2oPoWy5Lcbk',
authDomain: 'awesome-react-navbar.firebaseapp.com',
projectId: 'awesome-react-navbar',
storageBucket: 'awesome-react-navbar.appspot.com',
messagingSenderId: '71219047347',
appId: '1:71219047347:web:82950dedc2ae77b85879c6',
measurementId: 'G-EYP11S18BM',
};

// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
</script>
</body>
</html>

1 comment on commit 5135564

@vercel
Copy link

@vercel vercel bot commented on 5135564 Apr 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.