Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] 对使用自定义域名的网站添加 Google Adsense 代码以便作者获得广告收益 #2172

Open
cjh0613 opened this issue Sep 3, 2024 · 0 comments

Comments

@cjh0613
Copy link

cjh0613 commented Sep 3, 2024

xlog 团队,

你们好,

我想给出如下建议:对使用自定义域名的网站添加 Google Adsense 代码以便作者获得广告收益

具体地,对使用自定义域名的网站,增加如下代码

<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1234567890123456"
     crossorigin="anonymous"></script>

其中 ca-pub-1234567890123456 自定义

可参考:

AdSense 代码简介 - Google AdSense帮助

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

No branches or pull requests

1 participant