如何在Big Query中找到唯一事件的数量?我很难计算Unique事件的数量并将其与GA接口匹配。
答案 0 :(得分:2)
如何使用它的两种方式:
1)正如原始链接文档所说的那样,要结合完整的访问者用户ID和他们不同的会话ID:visitId,并计算这些。
del intermediate1.ts
del f.txt
echo file intermediate1.ts>f.txt
echo file intermediate1.ts>>f.txt
echo file intermediate1.ts>>f.txt
echo file intermediate1.ts>>f.txt
echo file intermediate1.ts>>f.txt
echo file intermediate1.ts>>f.txt
echo file intermediate1.ts>>f.txt
echo file intermediate1.ts>>f.txt
echo file intermediate1.ts>>f.txt
echo file intermediate1.ts>>f.txt
echo file intermediate1.ts>>f.txt
echo file intermediate1.ts>>f.txt
echo file intermediate1.ts>>f.txt
echo file intermediate1.ts>>f.txt
echo file intermediate1.ts>>f.txt
echo file intermediate1.ts>>f.txt
echo file intermediate1.ts>>f.txt
ffmpeg -i "SHORT MUSIC.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts -nostdin
ffmpeg -f concat -i f.txt -c copy -bsf:a aac_adtstoasc "LONG MUSIC.mp4" -nostdin
2)另一个只计算不同的fullVisitorIds
SELECT
EXACT_COUNT_DISTINCT(combinedVisitorId)
FROM (
SELECT
CONCAT(fullVisitorId,string(VisitId)) AS combinedVisitorId
FROM
[google.com:analytics-bigquery:LondonCycleHelmet.ga_sessions_20130910]
WHERE
hits.type='PAGE' )