mirror of
https://github.com/plausible/analytics.git
synced 2024-12-24 01:54:34 +03:00
Don't allow google to index the stats page
This commit is contained in:
parent
05d24bf493
commit
8db9a83cf7
@ -18,6 +18,7 @@ defmodule PlausibleWeb.StatsController do
|
||||
conn
|
||||
|> assign(:skip_plausible_tracking, !demo)
|
||||
|> put_session(site.domain <> "_offer_email_report", nil)
|
||||
|> put_resp_header("x-robots-tag", "noindex")
|
||||
|> render("stats.html",
|
||||
site: site,
|
||||
has_goals: Plausible.Sites.has_goals?(site),
|
||||
|
Loading…
Reference in New Issue
Block a user