Show UTM term and content

This commit is contained in:
Uku Taht 2021-12-17 16:00:06 +02:00
parent 0c8de55c44
commit f34c90e26c
2 changed files with 3 additions and 3 deletions

View File

@ -293,7 +293,7 @@ export default class SourceList extends React.Component {
renderTabs() {
const activeClass = 'inline-block h-5 text-indigo-700 dark:text-indigo-500 font-bold active-prop-heading truncate text-left'
const defaultClass = 'hover:text-indigo-600 cursor-pointer truncate text-left'
const dropdownOptions = ['utm_medium', 'utm_source', 'utm_campaign']
const dropdownOptions = ['utm_medium', 'utm_source', 'utm_campaign', 'utm_term', 'utm_content']
let buttonText = UTM_TAGS[this.state.tab] ? UTM_TAGS[this.state.tab].label : 'Campaigns'
return (

View File

@ -70,8 +70,8 @@ defmodule PlausibleWeb.StatsController do
{'utm_mediums.csv', fn -> Api.StatsController.utm_mediums(conn, params) end},
{'utm_sources.csv', fn -> Api.StatsController.utm_sources(conn, params) end},
{'utm_campaigns.csv', fn -> Api.StatsController.utm_campaigns(conn, params) end},
# {'utm_contents.csv', fn -> Api.StatsController.utm_contents(conn, params) end},
# {'utm_terms.csv', fn -> Api.StatsController.utm_terms(conn, params) end},
{'utm_contents.csv', fn -> Api.StatsController.utm_contents(conn, params) end},
{'utm_terms.csv', fn -> Api.StatsController.utm_terms(conn, params) end},
{'pages.csv', fn -> Api.StatsController.pages(conn, limited_params) end},
{'entry_pages.csv', fn -> Api.StatsController.entry_pages(conn, params) end},
{'exit_pages.csv', fn -> Api.StatsController.exit_pages(conn, limited_params) end},