or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Syncing
xxxxxxxxxx
讓你的聊天機器人也能看 Google Analytics
簡報:
https://lihi1.com/PGYr0
Who am I?
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →YouBike 小幫手
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More →有件事要請大家配合
小幫手的 GA 後台
請大家不要拍照錄影
緣起
原本只是要在 LIFF 裡面埋 GA
原本只是要在 LIFF 裡面埋 GA
然後就去研究了 GA 的文件
於是我就自己挖了一個坑
於是我就自己挖了一個坑
然後再自己把坑填掉
小幫手 GA 後台展示
請大家不要拍照錄影
後台展示
Note:
80641b8d-e6d2-2a85-8060-8e4d5acdbdfa
Measurement API 介紹
hit
用戶跟程式的互動資料
使用 HTTP 協定就能傳送 hit
申請 Google Analytics
建立資源
建立資料檢視
Collect API
Note:
https://www.google-analytics.com/collect
hit 中的必填欄位
匿名 Client ID (cid)
這個欄位必須是一個亂數 UUID v4
匿名 Client ID (cid)
screenview hit
實際送出的 screenview
GA 即時畫面
請大家不要拍照錄影
event hit
實際送出的 event
CAVEAT
Event 必須在 Screenview 之後
否則這些 Event 會被忽略
GA 即時事件
請大家不要拍照錄影
驗證 hit 正確性
用量限制 (單位: hit)
GA 批次發送
GA 批次發送限制
累積 20 個 hits 再一起送出去
定期把放太久的 hits 送出去
Queue Time (qt)
因為放在 Queue 中的 hit 不會被馬上送出
所以需要告知 hit 被放在 queue 中放了多久
Batch API
GA 即時畫面
請大家不要拍照錄影
Q & A