标签: cookieconsent

我选择谁作为我的Admob广告技术提供商

根据GDPR,Google表示我必须"选择广告技术提供商"并获得用户的同意.但是,如果任何发布商ID使用常用的广告技术提供商,则不支持Google提供的同意书.这意味着我需要为我的帐户手动选择广告技术提供商,以避免使用"使用发布商管理的同意收集选项"自行获得同意.我在这里空白.

我应该选择哪些,如果我不使用调解而只使用admob,会有什么不同?我应该只使用一个提供商,即Google吗?

编辑:谢谢你的downvotes.老实说,我不明白为什么这不是一个有效的问题,除了可能应该在其他地方问过,我寻求指导.

admob cookieconsent

18
推荐指数
2
解决办法
928
查看次数

同意与第三方共享数据[GDPR]

您是否需要获得明确的肯定用户同意才能将其数据发送给第三方?

目前,我们在我们的网站上有一个表格供用户填写以注册对我们服务的兴趣.然后将该数据存储在我们自己的数据库中,但也将其发送给销售服务提供商和营销服务提供商.

我们是否需要获得用户的明确同意才能将这些详细信息(个人身份信息,包括姓名和电话号码)发送给这些第三方服务?

因为用户愿意向我们提供这些信息,将数据发送给第三方还是需要同意?

data-protection cookieconsent

5
推荐指数
1
解决办法
187
查看次数

为什么我在角度通用的 ngx_cookieconsent_NgcCookieConsentService.init 中无法读取未定义的属性“初始化”?

CookieConsent 和库版本?

\n
- cookieconsent version: 3.1.1\n- ngx-cookieconsent version: 2.2.3\n- Angular CLI: 10.0.3\n- Angular SSR (universal)\n
Run Code Online (Sandbox Code Playgroud)\n\n

我正在运行以下命令:

\n
npm run build:ssr && npm run serve:ssr\n
Run Code Online (Sandbox Code Playgroud)\n

在哪里:

\n
"serve:ssr": "node dist/compy/server/main.js",\n\n"build:ssr": "ng build --prod && ng run compy:server:production",\n
Run Code Online (Sandbox Code Playgroud)\n

失败给出的日志

\n\n
Node Express server listening on http://localhost:4000\n\nERROR TypeError: Cannot read property 'initialise' of undefined\n    at NgcCookieConsentService.init (C:\\Coding\\compyFront\\dist\\compy\\server\\main.js:1:3482889)\n    at new NgcCookieConsentService (C:\\Coding\\compyFront\\dist\\compy\\server\\main.js:1:3482119)\n    at Object.NgcCookieConsentService_Factory [as factory] (C:\\Coding\\compyFront\\dist\\compy\\server\\main.js:1:3484065)\n    at R3Injector.hydrate (C:\\Coding\\compyFront\\dist\\compy\\server\\main.js:1:2802301)\n    at R3Injector.get (C:\\Coding\\compyFront\\dist\\compy\\server\\main.js:1:2799033)\n    at NgModuleRef$1.get (C:\\Coding\\compyFront\\dist\\compy\\server\\main.js:1:2977443)\n    at Object.get (C:\\Coding\\compyFront\\dist\\compy\\server\\main.js:1:2946537)\n    at …
Run Code Online (Sandbox Code Playgroud)

server-side-rendering angular-universal angular cookieconsent

4
推荐指数
1
解决办法
3699
查看次数

Android:使用 Admob 的 Consent SDK 获取用户的位置

我对 AdMob 的新“同意 SDK”有疑问;该集成指南说,到把下列的onCreate ...

public class MainActivity extends Activity {
    ...

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        ...
        ConsentInformation consentInformation = ConsentInformation.getInstance(context);
        String[] publisherIds = {"pub-xxxxxxxxxxxxxxxx"};
        consentInformation.requestConsentInfoUpdate(publisherIds, new ConsentInfoUpdateListener() {
            @Override
            public void onConsentInfoUpdated(ConsentStatus consentStatus) {
                 // User's consent status successfully updated.
            }

            @Override
            public void onFailedToUpdateConsentInfo(String errorDescription) {
                 // User's consent status failed to update.
            }
        });
        ...
    }
    ...
}
Run Code Online (Sandbox Code Playgroud)

然后拨打以下电话:

ConsentInformation.getInstance(context).isRequestLocationInEeaOrUnknown()
Run Code Online (Sandbox Code Playgroud)

我遇到的问题是,当应用程序第一次安装/启动,isRequestLocationInEeaOrUnknown()总是返回“假”(我在欧洲经济区的方式)。

如果我然后退出应用程序并重新启动它,它会返回“true” - 这是正确的。如果我然后进入我的设备设置并在我的应用程序上执行“清除数据”并重新启动它,它再次返回“false”。 …

android admob google-admob cookieconsent

3
推荐指数
1
解决办法
2222
查看次数

Cookie 同意后如何加载 Adsense?

该网站设置为选择接受 Cookie 同意,但当首次访问者单击接受 Cookie 按钮时,除非刷新整个页面,否则 AdSense 代码不会加载。

有没有办法实现点击cookie接受按钮后加载广告,而不必刷新整个页面?

使用此 cookie 同意 jquery 插件:IHaveCookies

这是我正在使用的允许加载 adsense 的代码的一部分:

    $(document).ready(function() {
    $('body').ihavecookies(options);

if ($.fn.ihavecookies.preference('ads') === true) {
    var src = "//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js";
    var newScript = document.createElement("script");
    newScript.type = "text/javascript";
    newScript.setAttribute("async", "true");
    newScript.setAttribute("src", src);
    document.body.appendChild(newScript);
}
Run Code Online (Sandbox Code Playgroud)

上面的代码确实有效,但它不允许广告在页面刷新后出现。是否可以在上述代码中添加“刷新”属性,以使广告在“ ihavecookies.preference('ads') === true) ”上加载而无需刷新页面?

我实现此功能的网站可以在这里查看

仅供参考......目前没有为欧盟或加利福尼亚访问者加载广告(但这是一个单独的问题,不在此主题中解决)

javascript cookies jquery adsense cookieconsent

3
推荐指数
1
解决办法
3674
查看次数

GDPR 同意对话框不会显示

我正在尝试通过使用谷歌的新同意 SDK将GDPR 同意 添加dialog到我的应用程序中,(我不住在欧盟)但是当我运行它时我不能这是我的代码对话框不会打开,我尝试使用 VPN 但仍然没有出现相同的对话框

/*GDRP*/
        ConsentInformation consentInformation = ConsentInformation.getInstance(this);
        String[] publisherIds = {"pub-xxxxx...."};
        consentInformation.requestConsentInfoUpdate(publisherIds, new ConsentInfoUpdateListener() {
            @Override
            public void onConsentInfoUpdated(ConsentStatus consentStatus) {
            }
            @Override
            public void onFailedToUpdateConsentInfo(String errorDescription) {

            }
        });
        URL privacyUrl = null;
        try {
            // TODO: Replace with your app's privacy policy URL.
            privacyUrl = new URL("URL");
        } catch (MalformedURLException e) {
            e.printStackTrace();
            // Handle error.
        }
        form = new ConsentForm.Builder(this, privacyUrl)
                .withListener(new ConsentFormListener() {
                    @Override
                    public void onConsentFormLoaded(){
                        showForm();
                    } …
Run Code Online (Sandbox Code Playgroud)

java android admob cookieconsent

2
推荐指数
1
解决办法
2079
查看次数

如何修复 Google Analytics 的选择加入解决方案

我正在建立一个新网站并希望使用 Google Analytics 跟踪综合浏览量。由于我住在欧盟,我需要遵守 GDPR 并实施选择加入解决方案,允许用户在开始跟踪之前允许或拒绝 cookie。我偶然发现了 Cookie Consent 并尝试使用它的选择加入解决方案,但它似乎不起作用。即使出现横幅,在您点击“接受”后,Google Analytics 也不会开始跟踪。我非常感谢你的帮助。

我已经尝试过这个解决方案,但不幸的是它没有帮助:https : //github.com/osano/cookieconsent/issues/489

我也没有成功尝试过这个代码:https : //www.dair-media.net/blog/google-analytics-mit-optin-implementieren/

<!-- Instead of 'UA-XXXXXXXXX-X' I will be using my individual tag -->
<script src="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js"></script>
    <script>
    window.addEventListener("load", function(){
    window.cookieconsent.initialise({
      "palette": {
        "popup": {
          "background": "#dcdcdc",
          "text": "#000000"
        },
        "button": {
          "background": "#7fb2e5",
          "text": "#000000"
        }
      },
      "theme": "classic",
      "position": "bottom-left",
      "type": "opt-in",
      "content": {
        "message": "Some text",
        "dismiss": "Deny",
        "deny": "Deny",
        "allow": "Allow Cookies",
        "link": "Learn more",
        "href": "somelink"
      },
        onStatusChange: …
Run Code Online (Sandbox Code Playgroud)

html javascript cookies google-analytics cookieconsent

2
推荐指数
1
解决办法
2664
查看次数