From e84bdb5eefebacc24af662fc75921c39bc3fdd4c Mon Sep 17 00:00:00 2001 From: Alexander Date: Mon, 28 Oct 2024 18:47:31 +0100 Subject: [PATCH] Patch/patch ch clicks with url (#2698) * added url and url_path to click events * added app_crash support * fixed an url in click event --- ee/backend/pkg/db/clickhouse/connector.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ee/backend/pkg/db/clickhouse/connector.go b/ee/backend/pkg/db/clickhouse/connector.go index f3ba969ce..20afa9d87 100644 --- a/ee/backend/pkg/db/clickhouse/connector.go +++ b/ee/backend/pkg/db/clickhouse/connector.go @@ -423,8 +423,8 @@ func (c *connectorImpl) InsertWebClickEvent(session *sessions.Session, msg *mess msg.Selector, nX, nY, - msg.URL, - extractUrlPath(msg.URL), + msg.Url, + extractUrlPath(msg.Url), ); err != nil { c.checkError("clicks", err) return fmt.Errorf("can't append to clicks batch: %s", err)