mirror of
https://github.com/plausible/analytics.git
synced 2024-11-23 03:04:43 +03:00
Show UTM term and content
This commit is contained in:
parent
0c8de55c44
commit
f34c90e26c
@ -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 (
|
||||
|
@ -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},
|
||||
|
Loading…
Reference in New Issue
Block a user