Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Add UTM to button text

Uku Taht0c8de55c444e
diff --git a/assets/js/dashboard/stats/sources/source-list.js b/assets/js/dashboard/stats/sources/source-list.js
index fe55264d1d..68e05c88ef 100644
--- a/assets/js/dashboard/stats/sources/source-list.js
+++ b/assets/js/dashboard/stats/sources/source-list.js
@@ -295,7 +295,6 @@ export default class SourceList extends React.Component {
const defaultClass = 'hover:text-indigo-600 cursor-pointer truncate text-left'
const dropdownOptions = ['utm_medium', 'utm_source', 'utm_campaign']
let buttonText = UTM_TAGS[this.state.tab] ? UTM_TAGS[this.state.tab].label : 'Campaigns'
- buttonText = buttonText.replace(/^UTM /, '')
return (
<div className="flex text-xs font-medium text-gray-500 dark:text-gray-400 space-x-2">