Skip to content

Commit

Permalink
add google ads
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie85270 committed Mar 12, 2021
1 parent eb2e092 commit b6c4f79
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ export default class MyDocument extends Document {
return (
<Html lang="en">
<Head>
<script
data-ad-client="ca-pub-9198515375847190"
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"
></script>
{/* Global Site Tag (gtag.js) - Google Analytics */}
<script async src={`https://www.googletagmanager.com/gtag/js?id=${GA_TRACKING_ID}`} />
<script
Expand Down

0 comments on commit b6c4f79

Please sign in to comment.