Google Analytics Events Not Logged in Firebase

I am trying to record simple analytic events in Firebase, but nothing ever appears on the Internet.

This is how I register the event:

    FIRAnalytics.logEventWithName("spot_view", parameters: [
        "spot_name": spotName,
        "is_private": isPrivate
        ])

I have runtime arguments to see Firebase exit, and I get the following:

<FIRAnalytics/DEBUG> Event logged. Event name, event params: spot_view, {
        "_o" = app;
        "is_private" = 1;
        "spot_name" = TestLogSpotView;
    }

So, the event is fired. I also confirm that the data is actually loading:

2016-06-09 12:12:13.567 [60279:] <FIRAnalytics/DEBUG> Measurement data sent to network. Timestamp (ms), data: 1465488733550, <ACPMeasurementBatch 0x7de7bb60>: {
        bundles {
          protocol_version: 1
          events {
            params {
              name: "_c"
              int_value: 1
            }
            params {
              name: "_o"
              string_value: "auto"
            }
            name: "_f"
            timestamp_millis: 1465488710347
          }
          events {
            params {
              name: "_et"
              int_value: 1
            }
            params {
              name: "_o"
              string_value: "auto"
            }
            name: "_e"
            timestamp_millis: 1465488710347
          }
          events {
            params {
              name: "_o"
              string_value: "app"
            }
            params {
              name: "is_private"
              int_value: 1
            }
            params {
              name: "spot_name"
              string_value: "TestLogSpotView"
            }
            name: "spot_view"
            timestamp_millis: 1465488710411
          }
          events {
            params {
              name: "content_type"
              string_value: "cont"
            }
            params {
              name: "_o"
              string_value: "app"
            }
            params {
              name: "item_id"
              string_value: "1"
            }
            name: "select_content"
            timestamp_millis: 1465488710411
          }
          user_attributes {
            set_timestamp_millis: 1465488710347
            name: "_fot"
            int_value: 1465491600000
          }
          upload_timestamp_millis: 1465488733550
          start_timestamp_millis: 1465488710347
          end_timestamp_millis: 1465488710411
          platform: "ios"
          os_version: "9.3"
          device_model: "x86_64"
          user_default_language: "en-us"
          time_zone_offset_minutes: -240
          app_store: "manual_install"
          app_id: "——"
          app_version: "0.0.0"
          gmp_version: 3200
          uploading_gmp_version: 3200
          resettable_device_id: "—"——
          limited_ad_tracking: false
          app_instance_id: "———"
          bundle_sequential_index: 1
          gmp_app_id: "———"
          firebase_instance_id: "———"
          app_version_major: 106
        }
    }
2016-06-09 12:12:13.568[60279:] <FIRAnalytics/DEBUG> Uploading data. Host: https://app-measurement.com/a
2016-06-09 12:12:13.595[60279:] <FIRAnalytics/DEBUG> Received SSL challenge for host. Host: https://app-measurement.com/a
2016-06-09 12:12:13.731[60279:] <FIRAnalytics/DEBUG> Successful upload. Got network response. Code, size: 204, 0

I ran the same code a couple of days ago, and so far nothing has appeared in Firebase.

I also tried recording an event copied directly from Firebase, which:

    FIRAnalytics.logEventWithName(kFIREventSelectContent, parameters: [
        kFIRParameterContentType:"cont",
        kFIRParameterItemID:"1"
        ])

What you can see on the output of the magazine published above.

, , GoogleService-Info.plist. IS_ANALYTICS_ENABLED, no. YES , , . , Google Analytics.

enter image description here


, , . , , .

+4
3

- , , . , , , Today. , " 30 " " 7 ", "".

, , .

+7

 Event name must contain only letters, numbers, or underscores. 

, .

+4

( ), , ANY Firebase analytics ( Firebase Firebase): - , , ,

FIRApp.configure()

, , Analytics, , . - - . configure() , ...

0

All Articles