Skip to content

Commit

Permalink
fix: Use session timestamp rather than first click timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaeelaudibert committed Dec 16, 2024
1 parent a216659 commit 8cba875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/hogql_queries/web_analytics/external_clicks.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def to_query(self) -> ast.SelectQuery:
any(person_id) AS filtered_person_id,
count() AS filtered_click_count,
{url_expr} AS url,
MIN(timestamp) AS start_timestamp
MIN(session.$timestamp) AS start_timestamp
FROM events
WHERE and(
events.event == '$autocapture',
Expand Down

0 comments on commit 8cba875

Please sign in to comment.