Skip to content

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

Revert "Add link to UTM builder (#2195)"

Uku Tahtaa7d7a35bdad
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2136c38d4c..71fed0dc73 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -31,7 +31,6 @@ All notable changes to this project will be documented in this file.
- The time format (12 hour or 24 hour) for graph timelines is now presented based on the browser's defined language
- Choice of metric for main-graph both in UI and API (visitors, pageviews, bounce_rate, visit_duration) plausible/analytics#1364
- New width=manual mode for embedded dashboards plausible/analytics#2148
-- Add link to UTM builder in the campaigns report plausible/analytics#2195
### Fixed
- Hash part of the URL can now be used when excluding pages with `script.exclusions.hash.js`.
diff --git a/assets/js/dashboard/stats/sources/source-list.js b/assets/js/dashboard/stats/sources/source-list.js
index de0de26747..2eb9b0c176 100644
--- a/assets/js/dashboard/stats/sources/source-list.js
+++ b/assets/js/dashboard/stats/sources/source-list.js
@@ -317,7 +317,7 @@ export default class SourceList extends React.Component {
leaveFrom="transform opacity-100 scale-100"
leaveTo="transform opacity-0 scale-95"
>
- <Menu.Items className="text-left origin-top-right absolute right-0 mt-2 w-56 divide-y divide-gray-100 rounded-md shadow-lg bg-white dark:bg-gray-800 ring-1 ring-black ring-opacity-5 focus:outline-none z-10">
+ <Menu.Items className="text-left origin-top-right absolute right-0 mt-2 w-56 rounded-md shadow-lg bg-white dark:bg-gray-800 ring-1 ring-black ring-opacity-5 focus:outline-none z-10">
<div className="py-1">
{dropdownOptions.map((option) => {
return (
@@ -338,27 +338,6 @@ export default class SourceList extends React.Component {
)
})}
</div>
- <div className="py-1">
- <Menu.Item key="utm_builder">
- {({ active }) => (
- <a
- href="https://plausible.io/blog/utm-tracking-tags#plausible-utm-tag-builder-tool"
- target="_blank"
- rel="noreferrer"
- className={classNames(
- active ? 'bg-gray-100 dark:bg-gray-900 text-gray-900 dark:text-gray-200 cursor-pointer' : 'text-gray-700 dark:text-gray-200',
- 'flex items-center px-4 py-2 text-sm'
- )}
- >
- UTM Tag builder
-
- <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" strokeWidth={1.5} stroke="currentColor" className="w-4 h-4 inline ml-1">
- <path strokeLinecap="round" strokeLinejoin="round" d="M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" />
- </svg>
- </a>
- )}
- </Menu.Item>
- </div>
</Menu.Items>
</Transition>
</Menu>