Viewing the analytics data
Debug Logging
Sometimes it is helpful to view debug logging when working with
Google Analytics for Firebase. This can easily be enabled in Xcode by
specifying -FIRAnalyticsDebugEnabled
as a runtime argument.
Using Xcode's menu bar, navigate to Product
→ Scheme
→ Edit Scheme...
.
Using the vertical menu on the left, select the Run scheme.
Then click Arguments and add -FIRAnalyticsDebugEnabled
as an
argument passed on launch. Done! ✓
As you interact with the controls in the quickstart, analytics data will be sent to the
Firebase Console. To view and interact with this stream, navigate to the project you
set up for this quickstart on the Firebase Console. Select DebugView under the
Analytics on the vertical menu on the left. From here, you can interact with the
quickstart and see the related analytics data show up live on the Firebase Console.
Support
License
Copyright 2020 Google LLC
Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
additional information regarding copyright ownership. The ASF licenses this
file to you under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.