mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
update analytic event details
This commit is contained in:
parent
34c214e7d8
commit
f64bd4700f
1 changed files with 8 additions and 4 deletions
|
|
@ -152,8 +152,10 @@ export const contentFetchRequestHandler: RequestHandler = async (req, res) => {
|
|||
users.forEach((user) => {
|
||||
analytics.capture({
|
||||
distinctId: user.id,
|
||||
event: 'content-fetch-failure',
|
||||
properties: logRecord,
|
||||
event: 'content_fetch_failure',
|
||||
properties: {
|
||||
url,
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
|
|
@ -167,8 +169,10 @@ export const contentFetchRequestHandler: RequestHandler = async (req, res) => {
|
|||
users.forEach((user) => {
|
||||
analytics.capture({
|
||||
distinctId: user.id,
|
||||
event: 'content-fetch-success',
|
||||
properties: logRecord,
|
||||
event: 'content_fetch_success',
|
||||
properties: {
|
||||
url,
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue