Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

待新增功能:如果使用者將GA擋掉的話,須新增自定義ID作為送至db的client id #19

Open
dyfu95 opened this issue Dec 1, 2021 · 0 comments
Assignees

Comments

@dyfu95
Copy link
Collaborator

dyfu95 commented Dec 1, 2021

送至db的client id有三種來源:

  1. ga tracker沒有被擋:google 的client id (存在cookie)
  2. ga tracker被擋,但內含gtag() ga()的js file仍可以開啟:自定義ID
  3. ga tracker被擋,內含gtag() ga()的js file無法開啟:需自定義ID

目前commit 0d051b0 可以取得情境1.的client ID,
情境2. 僅針對https://www.google-analytics.com/collect 的情求若被block的話,則自定義ID。
情境3. 則尚無解決方案。
針對情境2�與3,程式碼需要再完善。

@dyfu95 dyfu95 self-assigned this Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant