简体   繁体   中英

GA Measurement Protocol: All events showing as unique

I'm using the new Google Analytics Measurement Protocol and running into a problem where all my events are coming is as "new visitor" even though I'm sending the same client ID for all of the requests.

I assume Google is using the client ID to determine if a visitor is new or not, but it appears to be ignoring this value.

Here's the variables I'm sending in the POST request:

Array
(
    [v] => 1
    [tid] => *OBFUSCATED*
    [cid] => E19A0922-ABDF-D704-E4D4-620FB7AD7885
    [t] => event
    [sr] => 1280x720
    [ec] => Video%20Plays
    [ea] => Sample
    [el] => Roku%20App
    [ev] => 1
)

Other events are similar, where the cid remains the same but the event category and values change.

经过一整天的等待并再次发送了一些事件后,它们看起来像是回访。

Your cid is wrong I guess. it should be a 32bit id separated from a dot. Find a actual case study in my blog post http://www.niroshan-samuel.com/google-universal-analytics-isnt-linking-offline-and-online-user-properly/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM