Google Firebase事件原始数据中关键字“previous_timestamp_micros”的含义是什么?

时间:2016-07-08 01:42:28

标签: firebase google-bigquery firebase-analytics

我已将Google Firebase事件原始数据导出到Google BigQuery。每个活动都有四个关键字:nameparamstimestamp_microsprevious_timestamp_micros。例如,我在session_start之前的事件中提取了从我的数据中提取的事件

"event_dim":[
    {"name":"session_start",
     "params":[
         {"key":"firebase_event_origin",
          "value":{"string_value":"auto"}}],
     "timestamp_micros":"1467374617058000",
     "previous_timestamp_micros":"1467191135684000"}, ...]

密钥previous_timestamp_micros的含义是什么?它是同一用户之前session_start的时间戳吗?或者它是同一用户之前事件的时间戳?我检查了数据,似乎猜测都是不正确的。

1 个答案:

答案 0 :(得分:3)

以下是来自event_dim架构

//controller
angular.module("myApp")
.controller("nav", ["$scope", "$window", function ($scope, $window) {

    $scope.newTabOne = function () {
        $window.open('http://example.com/#/1', '_blank');
        return $scope;
    };
    $scope.newTabTwo = function () {
        $window.open('http://example.com/#/2', '_blank');
        return $scope;
    };
    $scope.newTabThree = function () {
        $window.open('http://example.com/#/3', '_blank');
        return $scope;
    };

    $scope.links = [{name: 'Home', link: '#/Home', children: []},
                    {name: 'Drop Down 1', link: '', children: [
                            {name: 'One', link: '#/1', children: [], tab: 'newTabOne()'},
                            {name: 'Two', link: '#/2', children: [], tab: 'newTabTwo()'}
                     ]},
                     {name:'Drop Down 2', link:'', children:[
                            {name: 'Three', link: '#/3', children: [], tab: 'newTabThree()'}
                     ]}

    ];
}])

//view
<ul class="nav-list">
    <li ng-repeat="nav in links" >
        <a href="{{nav.link == '' ? 'javascript:;' : nav.link}}">
            <span class="text">{{topNav.name}}</span>
            <i ng-if="nav.children.length > 0" class="arrow fa fa-angle-right right"></i>
        </a>
        <ul ng-if="nav.children.length > 0" class="inner-drop list-unstyled">
            <li ng-repeat="childNav in nav.children">
                <a href="{{childNav.link}}">
                    <span class="text">{{childNav.name}}</span>
                </a>
                <button ng-click="{{childNav.tab}}"></button>
            </li>
        </ul>
    </li>
</ul>

查看更多详情here