Don't allow google to index the stats page

This commit is contained in:
Uku Taht 2020-03-17 15:14:50 +02:00
parent 05d24bf493
commit 8db9a83cf7

View File

@ -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),