Skip to content

Conversation

@jacooobi
Copy link
Member

No description provided.

@jacooobi jacooobi self-assigned this Jan 19, 2026
@jacooobi jacooobi force-pushed the refactor-tracking-and-ingestion-modules branch 6 times, most recently from 83d16f2 to 79f08d0 Compare January 20, 2026 11:04
@jacooobi jacooobi force-pushed the refactor-tracking-and-ingestion-modules branch from 79f08d0 to 21a92d9 Compare January 20, 2026 11:22
@jacooobi jacooobi marked this pull request as ready for review January 20, 2026 11:22
additional_params = parse_additional_params(params)
params = Map.merge(core_params, additional_params)

ua = parse_user_agent(conn)
Copy link

@siepet siepet Jan 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does ua stand for? user-agent?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

end)
end

defp build_event_attrs(params, ua, uri, host, query, ref, location_details) do
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe build a type out of this and extract to separate module as a struct?

@@ -0,0 +1,80 @@
defmodule Plausible.Test.EventHelpers do
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plausible_event_helpers maybe to indicate the scope of the file?

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

Successfully merging this pull request may close these issues.

3 participants