【问题标题】:Campaign measurement is not sent to Google Analytics account广告系列测量不会发送到 Google Analytics(分析)帐户
【发布时间】:2016-07-29 09:55:04
【问题描述】:

我正在按照广告系列衡量指南去做

https://developers.google.com/analytics/devguides/collection/android/v4/campaigns

  1. Google Play 广告活动归因
  2. 一般广告系列和流量来源归因

对于 Google Play 广告系列归因,在将广告系列服务和接收器添加到 androidManifest.xml 后,我遵循了测试指南。 https://developers.google.com/analytics/solutions/testing-play-campaigns

在日志中成功收到了 install referrer intent。

07-29 17:05:32.968 8333-8363/? D/GAv4:收到的安装活动:content=test_content,keyword=test_term,medium=test_medium,name=test_name,source=test_source

但在我的 google 分析帐户中,Acquisition -> Sources -> All,没有任何显示。谁能知道根本原因是什么?

我还实现了点击屏幕分析,这是有效的。

我的 google-services.json 如下:

{
  "project_info": {
    "project_number": "123456788680",
    "project_id": "test-app-project"
  },
  "client": [
    {
      "client_info": {
        "mobilesdk_app_id": "1:12345678680:android:488edac1c6c2df62",
        "android_client_info": {
          "package_name": "com.example.test.analytic"
        }
      },
      "oauth_client": [],
      "api_key": [
        {
          "current_key": "xxxxxxxx_xxxxxxxxxxxxxxKoT0XEkMgOCUe0c"
        }
      ],
      "services": {
        "analytics_service": {
          "status": 2,
          "analytics_property": {
            "tracking_id": "UA-xxxxxxxx-2"
          }
        },
        "appinvite_service": {
          "status": 1,
          "other_platform_oauth_client": []
        },
        "ads_service": {
          "status": 1
        }
      }
    },
    {
      "client_info": {
        "mobilesdk_app_id": "1:12345678680:android:6092a3d09b6b18d2",
        "android_client_info": {
          "package_name": "com.example.test"
        }
      },
      "oauth_client": [],
      "api_key": [
        {
          "current_key": "xxxxxxxx_xxxxxxxxxxxxxxKoT0XEkMgOCUe0c"
        }
      ],
      "services": {
        "analytics_service": {
          "status": 2,
          "analytics_property": {
            "tracking_id": "UA-xxxxxxxx-2"
          }
        },
        "appinvite_service": {
          "status": 1,
          "other_platform_oauth_client": []
        },
        "ads_service": {
          "status": 1
        }
      }
    }
  ],
  "configuration_version": "1"
}

我修改了项目名称和在此处发布的密钥。在我的实际项目中,我没有修改任何东西。有 2 个不同包名称的客户端,因为我有 2 个项目,一个是主入口应用程序,另一个是库。两者都需要向谷歌分析发送信息。但是两者都在一个应用程序中,所以我将它设置为在向 google 请求配置时使用相同的分析属性。那是影响吗?我认为不应该。

谁能帮帮我?

【问题讨论】:

    标签: google-analytics


    【解决方案1】:

    对我来说,在第一次构建跟踪器之前没有发送信息。 发送广播后,我也只得到:

    D/GAv4: Received installation campaign: content=test_content, keyword=test_term, medium=test_medium, name=test_name, source=test_source
    

    然后在将我自己的第一个跟踪信息发送到 Google Analytis 后,我得到:

    D/GAv4: Sending first hit to property: UA-63098830-1
    D/GAv4: Found relevant installation campaign: content=test_content, keyword=test_term, medium=test_medium, name=test_name, source=test_source
    D/GAv4: Sending installation campaign to: UA-63098830-1, content=test_content, keyword=test_term, medium=test_medium, name=test_name, source=test_source
    

    【讨论】:

      猜你喜欢
      • 2014-05-03
      • 1970-01-01
      • 2011-11-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多