Skip to content

feat(adsense): add responsive site-wide ad unit - #38

Merged
gbzarelli merged 1 commit into
mainfrom
gz/adsense-banner-footer
Oct 28, 2026
Merged

gbzarelli merged 1 commit into
mainfrom
gz/adsense-banner-footer

Conversation

@gbzarelli

@gbzarelli gbzarelli commented Oct 28, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add a discreet responsive AdSense placement after route content and before the shared footer.
  • Load the AdSense verification script in the document head and render the slot only when both IDs are present.
  • Add a privacy page covering Google Analytics and AdSense cookies, with a footer link and sitemap entry.
  • Read the public build IDs from GitHub Actions environment variables in deploy.

Validation

  • NEXT_PUBLIC_ADSENSE_CLIENT_ID=ca-pub-4334384724173584 npm run build
  • git diff --check
  • Confirmed the static export contains /privacidade and the AdSense verification script.
  • GitHub Actions environment deploy now contains publisher ID ca-pub-4334384724173584 and responsive slot ID 8535614411.

@gbzarelli
gbzarelli marked this pull request as ready for review October 28, 2026 18:33
@gbzarelli
gbzarelli merged commit d1b0cfd into main Oct 28, 2026
2 checks passed

This branch was successfully deployed

1 active deployment
deploy — 765ebdca Deployed Oct 28, 2026 by gbzarelli via build #89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant