← back to IWasCute
iwascute: add sitewide AdSense adsbygoogle.js loader to root layout for Auto Ads eligibility (TK-11412)
5dd39c21ac7b9c5194c8e271074d4a0da3e4ca19 · 2026-09-10 13:30:12 -0700 · Steve Abrams
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QTGuKtAvmVMngA9PyTiftG
Files touched
Diff
commit 5dd39c21ac7b9c5194c8e271074d4a0da3e4ca19
Author: Steve Abrams <steve@designerwallcoverings.com>
Date: Thu Sep 10 13:30:12 2026 -0700
iwascute: add sitewide AdSense adsbygoogle.js loader to root layout for Auto Ads eligibility (TK-11412)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QTGuKtAvmVMngA9PyTiftG
---
src/app/layout.tsx | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 024476e..e3d437b 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -17,7 +17,6 @@ const geistMono = Geist_Mono({
export const metadata: Metadata = {
title: "I was Cute — Your Childhood Photos, Legally Licensed",
description: "Upload your childhood photos, clear the rights, and earn royalties.",
- // Verify ownership without executing advertising code in photo/account flows.
other: { "google-adsense-account": "ca-pub-5278231299883833" },
};
@@ -32,6 +31,13 @@ export default function RootLayout({
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
>
<body className="min-h-full flex flex-col">
+ {/* Google AdSense loader — sitewide Auto Ads eligibility (TK-11412). */}
+ <Script
+ async
+ src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5278231299883833"
+ strategy="afterInteractive"
+ crossOrigin="anonymous"
+ />
<Script
src="https://www.googletagmanager.com/gtag/js?id=G-2DHDBP8R78"
strategy="afterInteractive"
← c6ece76 iwascute: add FAQ page (content depth), wire into footer + s
·
back to IWasCute
·
iwascute: exclude prod verification/ artifacts from rsync de 3c1cc30 →