analytics/PlausibleWeb.SiteController.html
github-merge-queue[bot] 9982267580 deploy: b16bd91600
2024-10-31 10:30:50 +00:00

1588 lines
48 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="ExDoc v0.31.1">
<meta name="project" content="Plausible v0.0.1">
<title>PlausibleWeb.SiteController — Plausible v0.0.1</title>
<link rel="stylesheet" href="dist/html-elixir-FM2CSD74.css" />
<script src="dist/handlebars.runtime-NWIB6V2M.js"></script>
<script src="dist/handlebars.templates-43PMFBC7.js"></script>
<script src="dist/sidebar_items-35867281.js"></script>
<script src="docs_config.js"></script>
<script async src="dist/html-L4O5OK2K.js"></script>
</head>
<body data-type="modules" class="page-module">
<script>
try {
var settings = JSON.parse(localStorage.getItem('ex_doc:settings') || '{}');
if (settings.theme === 'dark' ||
((settings.theme === 'system' || settings.theme == null) &&
window.matchMedia('(prefers-color-scheme: dark)').matches)
) {
document.body.classList.add('dark')
}
} catch (error) { }
</script>
<div class="main">
<button id="sidebar-menu" class="sidebar-button sidebar-toggle" aria-label="toggle sidebar" aria-controls="sidebar">
<i class="ri-menu-line ri-lg" title="Collapse/expand sidebar"></i>
</button>
<div class="background-layer"></div>
<nav id="sidebar" class="sidebar">
<div class="sidebar-header">
<div class="sidebar-projectInfo">
<a href="readme.html" class="sidebar-projectImage">
<img src="assets/logo.png" alt="Plausible" />
</a>
<div>
<a href="readme.html" class="sidebar-projectName" translate="no">
Plausible
</a>
<div class="sidebar-projectVersion" translate="no">
v0.0.1
</div>
</div>
</div>
<ul id="sidebar-listNav" class="sidebar-listNav" role="tablist">
<li>
<button id="extras-list-tab-button" role="tab" data-type="extras" aria-controls="extras-tab-panel" aria-selected="true" tabindex="0">
Pages
</button>
</li>
<li>
<button id="modules-list-tab-button" role="tab" data-type="modules" aria-controls="modules-tab-panel" aria-selected="false" tabindex="-1">
Modules
</button>
</li>
<li>
<button id="tasks-list-tab-button" role="tab" data-type="tasks" aria-controls="tasks-tab-panel" aria-selected="false" tabindex="-1">
<span translate="no">Mix</span> Tasks
</button>
</li>
</ul>
</div>
<div id="extras-tab-panel" class="sidebar-tabpanel" role="tabpanel" aria-labelledby="extras-list-tab-button">
<ul id="extras-full-list" class="full-list"></ul>
</div>
<div id="modules-tab-panel" class="sidebar-tabpanel" role="tabpanel" aria-labelledby="modules-list-tab-button" hidden>
<ul id="modules-full-list" class="full-list"></ul>
</div>
<div id="tasks-tab-panel" class="sidebar-tabpanel" role="tabpanel" aria-labelledby="tasks-list-tab-button" hidden>
<ul id="tasks-full-list" class="full-list"></ul>
</div>
</nav>
<main class="content">
<output role="status" id="toast"></output>
<div class="content-outer">
<div id="content" class="content-inner">
<div class="top-search">
<div class="search-settings">
<form class="search-bar" action="search.html">
<label class="search-label">
<span class="sr-only">Search documentation of Plausible</span>
<input name="q" type="text" class="search-input" placeholder="Search Documentation (press /)" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
</label>
<button type="submit" class="search-button" aria-label="Submit Search">
<i class="ri-search-2-line ri-lg" aria-hidden="true" title="Submit search"></i>
</button>
<button type="button" tabindex="-1" class="search-close-button" aria-hidden="true">
<i class="ri-close-line ri-lg" title="Cancel search"></i>
</button>
</form>
<div class="autocomplete">
</div>
<button class="icon-settings display-settings">
<i class="ri-settings-3-line"></i>
<span class="sr-only">Settings</span>
</button>
</div>
</div>
<h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L1" title="View Source" class="icon-action" rel="help">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
<span translate="no">PlausibleWeb.SiteController</span>
<small class="app-vsn" translate="no">(Plausible v0.0.1)</small>
</h1>
<section id="summary" class="details-list">
<h1 class="section-heading">
<a class="hover-link" href="#summary">
<i class="ri-link-m" aria-hidden="true"></i>
</a>
<span class="text">Summary</span>
</h1>
<div class="summary-functions summary">
<h2>
<a href="#functions">Functions</a>
</h2>
<div class="summary-row">
<div class="summary-signature">
<a href="#add_monthly_report_recipient/2" translate="no">add_monthly_report_recipient(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#add_traffic_change_notification_recipient/2" translate="no">add_traffic_change_notification_recipient(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#add_weekly_report_recipient/2" translate="no">add_weekly_report_recipient(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#change_domain/2" translate="no">change_domain(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#change_domain_submit/2" translate="no">change_domain_submit(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#create_shared_link/2" translate="no">create_shared_link(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#create_site/2" translate="no">create_site(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#csv_import/2" translate="no">csv_import(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#delete_google_auth/2" translate="no">delete_google_auth(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#delete_shared_link/2" translate="no">delete_shared_link(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#delete_site/2" translate="no">delete_site(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#disable_monthly_report/2" translate="no">disable_monthly_report(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#disable_traffic_change_notification/2" translate="no">disable_traffic_change_notification(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#disable_weekly_report/2" translate="no">disable_weekly_report(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#download_export/2" translate="no">download_export(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#edit_shared_link/2" translate="no">edit_shared_link(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#enable_monthly_report/2" translate="no">enable_monthly_report(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#enable_traffic_change_notification/2" translate="no">enable_traffic_change_notification(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#enable_weekly_report/2" translate="no">enable_weekly_report(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#forget_import/2" translate="no">forget_import(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#forget_imported/2" translate="no">forget_imported(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#make_private/2" translate="no">make_private(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#make_public/2" translate="no">make_public(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#new/2" translate="no">new(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#new_shared_link/2" translate="no">new_shared_link(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#remove_monthly_report_recipient/2" translate="no">remove_monthly_report_recipient(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#remove_traffic_change_notification_recipient/2" translate="no">remove_traffic_change_notification_recipient(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#remove_weekly_report_recipient/2" translate="no">remove_weekly_report_recipient(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#reset_stats/2" translate="no">reset_stats(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#settings/2" translate="no">settings(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#settings_danger_zone/2" translate="no">settings_danger_zone(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#settings_email_reports/2" translate="no">settings_email_reports(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#settings_funnels/2" translate="no">settings_funnels(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#settings_general/2" translate="no">settings_general(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#settings_goals/2" translate="no">settings_goals(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#settings_imports_exports/2" translate="no">settings_imports_exports(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#settings_integrations/2" translate="no">settings_integrations(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#settings_people/2" translate="no">settings_people(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#settings_props/2" translate="no">settings_props(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#settings_shields/2" translate="no">settings_shields(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#settings_visibility/2" translate="no">settings_visibility(conn, params)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#update_feature_visibility/2" translate="no">update_feature_visibility(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#update_google_auth/2" translate="no">update_google_auth(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#update_settings/2" translate="no">update_settings(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#update_shared_link/2" translate="no">update_shared_link(conn, map)</a>
</div>
</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#update_traffic_change_notification/2" translate="no">update_traffic_change_notification(conn, map)</a>
</div>
</div>
</div>
</section>
<section id="functions" class="details-list">
<h1 class="section-heading">
<a class="hover-link" href="#functions">
<i class="ri-link-m" aria-hidden="true"></i>
</a>
<span class="text">Functions</span>
</h1>
<div class="functions-list">
<section class="detail" id="add_monthly_report_recipient/2">
<div class="detail-header">
<a href="#add_monthly_report_recipient/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">add_monthly_report_recipient(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L437" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="add_traffic_change_notification_recipient/2">
<div class="detail-header">
<a href="#add_traffic_change_notification_recipient/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">add_traffic_change_notification_recipient(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L523" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="add_weekly_report_recipient/2">
<div class="detail-header">
<a href="#add_weekly_report_recipient/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">add_weekly_report_recipient(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L383" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="change_domain/2">
<div class="detail-header">
<a href="#change_domain/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">change_domain(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L726" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="change_domain_submit/2">
<div class="detail-header">
<a href="#change_domain_submit/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">change_domain_submit(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L735" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="create_shared_link/2">
<div class="detail-header">
<a href="#create_shared_link/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">create_shared_link(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L565" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="create_site/2">
<div class="detail-header">
<a href="#create_site/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">create_site(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L29" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="csv_import/2">
<div class="detail-header">
<a href="#csv_import/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">csv_import(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L718" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="delete_google_auth/2">
<div class="detail-header">
<a href="#delete_google_auth/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">delete_google_auth(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L280" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="delete_shared_link/2">
<div class="detail-header">
<a href="#delete_shared_link/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">delete_shared_link(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L614" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="delete_site/2">
<div class="detail-header">
<a href="#delete_site/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">delete_site(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L325" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="disable_monthly_report/2">
<div class="detail-header">
<a href="#disable_monthly_report/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">disable_monthly_report(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L428" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="disable_traffic_change_notification/2">
<div class="detail-header">
<a href="#disable_traffic_change_notification/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">disable_traffic_change_notification(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L492" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="disable_weekly_report/2">
<div class="detail-header">
<a href="#disable_weekly_report/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">disable_weekly_report(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L374" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="download_export/2">
<div class="detail-header">
<a href="#download_export/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">download_export(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L686" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="edit_shared_link/2">
<div class="detail-header">
<a href="#edit_shared_link/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">edit_shared_link(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L582" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="enable_monthly_report/2">
<div class="detail-header">
<a href="#enable_monthly_report/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">enable_monthly_report(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L410" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="enable_traffic_change_notification/2">
<div class="detail-header">
<a href="#enable_traffic_change_notification/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">enable_traffic_change_notification(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L464" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="enable_weekly_report/2">
<div class="detail-header">
<a href="#enable_weekly_report/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">enable_weekly_report(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L357" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="forget_import/2">
<div class="detail-header">
<a href="#forget_import/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">forget_import(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L636" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="forget_imported/2">
<div class="detail-header">
<a href="#forget_imported/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">forget_imported(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L658" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="make_private/2">
<div class="detail-header">
<a href="#make_private/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">make_private(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L346" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="make_public/2">
<div class="detail-header">
<a href="#make_public/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">make_public(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L335" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="new/2">
<div class="detail-header">
<a href="#new/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">new(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L16" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="new_shared_link/2">
<div class="detail-header">
<a href="#new_shared_link/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">new_shared_link(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L553" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="remove_monthly_report_recipient/2">
<div class="detail-header">
<a href="#remove_monthly_report_recipient/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">remove_monthly_report_recipient(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L449" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="remove_traffic_change_notification_recipient/2">
<div class="detail-header">
<a href="#remove_traffic_change_notification_recipient/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">remove_traffic_change_notification_recipient(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L535" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="remove_weekly_report_recipient/2">
<div class="detail-header">
<a href="#remove_weekly_report_recipient/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">remove_weekly_report_recipient(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L395" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="reset_stats/2">
<div class="detail-header">
<a href="#reset_stats/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">reset_stats(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L316" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="settings/2">
<div class="detail-header">
<a href="#settings/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">settings(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L107" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="settings_danger_zone/2">
<div class="detail-header">
<a href="#settings_danger_zone/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">settings_danger_zone(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L209" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="settings_email_reports/2">
<div class="detail-header">
<a href="#settings_email_reports/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">settings_email_reports(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L192" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="settings_funnels/2">
<div class="detail-header">
<a href="#settings_funnels/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">settings_funnels(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L164" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="settings_general/2">
<div class="detail-header">
<a href="#settings_general/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">settings_general(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L111" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="settings_goals/2">
<div class="detail-header">
<a href="#settings_goals/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">settings_goals(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L150" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="settings_imports_exports/2">
<div class="detail-header">
<a href="#settings_imports_exports/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">settings_imports_exports(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L257" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="settings_integrations/2">
<div class="detail-header">
<a href="#settings_integrations/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">settings_integrations(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L220" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="settings_people/2">
<div class="detail-header">
<a href="#settings_people/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">settings_people(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L124" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="settings_props/2">
<div class="detail-header">
<a href="#settings_props/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">settings_props(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L178" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="settings_shields/2">
<div class="detail-header">
<a href="#settings_shields/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">settings_shields(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L243" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="settings_visibility/2">
<div class="detail-header">
<a href="#settings_visibility/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">settings_visibility(conn, params)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L137" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="update_feature_visibility/2">
<div class="detail-header">
<a href="#update_feature_visibility/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">update_feature_visibility(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L71" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="update_google_auth/2">
<div class="detail-header">
<a href="#update_google_auth/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">update_google_auth(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L269" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="update_settings/2">
<div class="detail-header">
<a href="#update_settings/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">update_settings(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L292" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="update_shared_link/2">
<div class="detail-header">
<a href="#update_shared_link/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">update_shared_link(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L595" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
<section class="detail" id="update_traffic_change_notification/2">
<div class="detail-header">
<a href="#update_traffic_change_notification/2" class="detail-link" title="Link to this function">
<i class="ri-link-m" aria-hidden="true"></i>
<span class="sr-only">Link to this function</span>
</a>
<h1 class="signature" translate="no">update_traffic_change_notification(conn, map)</h1>
<a href="https://github.com/plausible/analytics/blob/main/lib/plausible_web/controllers/site_controller.ex#L506" class="icon-action" rel="help" title="View Source">
<i class="ri-code-s-slash-line" aria-hidden="true"></i>
<span class="sr-only">View Source</span>
</a>
</div>
<section class="docstring">
</section>
</section>
</div>
</section>
<footer class="footer">
<p>
<span class="line">
<button class="a-main footer-button display-quick-switch" title="Search HexDocs packages">
Search HexDocs
</button>
<a href="Plausible.epub" title="ePub version">
Download ePub version
</a>
</span>
</p>
<p class="built-using">
Built using
<a href="https://github.com/elixir-lang/ex_doc" title="ExDoc" target="_blank" rel="help noopener" translate="no">ExDoc</a> (v0.31.1) for the
<a href="https://elixir-lang.org" title="Elixir" target="_blank" translate="no">Elixir programming language</a>
</p>
</footer>
</div>
</div>
</main>
</div>
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>mermaid.initialize({startOnLoad: true})</script>
</body>
</html>