mirror of
https://github.com/plausible/analytics.git
synced 2024-11-28 04:30:42 +03:00
Skip tracking on share email
This commit is contained in:
parent
f587e348cd
commit
e7cd441a43
@ -62,7 +62,9 @@ defmodule PlausibleWeb.StatsController do
|
||||
|
||||
if shared_link do
|
||||
if shared_link.password_hash do
|
||||
render(conn, "shared_link_password.html", link: shared_link, layout: {PlausibleWeb.LayoutView, "focus.html"})
|
||||
conn
|
||||
|> assign(:skip_plausible_tracking, true)
|
||||
|> render("shared_link_password.html", link: shared_link, layout: {PlausibleWeb.LayoutView, "focus.html"})
|
||||
else
|
||||
shared_link_auth_success(conn, shared_link)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user