Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经编写了一个小应用程序,我计划在其中集成广告(例如 adsense)。
一种方法是有一个 QWebView 项目,它将在应用程序窗口中显示广告。 你能建议另一种方式吗?我必须拥有一个网站才能做到这一点吗?
谢谢。
你能建议另一种方式吗?
这是唯一的方法。
我必须拥有一个网站才能做到这一点吗?
不,只是在 QWebView 中显示 adsense 代码。
我正在尝试包含一些用于谷歌分析电子商务跟踪的 javascript。
在示例代码中,我看到类似这样的内容,其中我用自己的变量替换了变量。
<?php function getTransactionJs(&$order) { return <<<HTML ga('