[multimedia/kdenlive] src: GIT_SILENT Improve Matomo parameter on urls (silent)

Julius Künzel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 259952f7530fc8db7a2217692d58774820a7df13 by Julius Künzel.
Committed on 16/08/2026 at 21:10.
Pushed by jlskuz into branch 'master'.

GIT_SILENT Improve Matomo parameter on urls

Switch from mtm_* to utm_* Matomo supports both and utm_ is more common. For us this is important because Donorbox only supports utm_* parameters.

M  +1    -1    src/assets/assetlist/view/assetlistwidget.cpp
M  +3    -3    src/dialogs/Simplesplash.qml
M  +6    -6    src/dialogs/Splash.qml
M  +1    -1    src/dialogs/settings/kdenlivesettingsdialog.cpp
M  +6    -3    src/dialogs/wizard.cpp
M  +3    -3    src/mainwindow.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/259952f7530fc8db7a2217692d58774820a7df13

diff --git a/src/assets/assetlist/view/assetlistwidget.cpp b/src/assets/assetlist/view/assetlistwidget.cpp
index f8359e2508..590e9d6215 100644
--- a/src/assets/assetlist/view/assetlistwidget.cpp
+++ b/src/assets/assetlist/view/assetlistwidget.cpp
@@ -618,7 +618,7 @@ const QString AssetListWidget::buildLink(const QString &id, AssetListType::Asset
     } else {
         prefix = QStringLiteral("other");
     }
-    return QStringLiteral("https://docs.kdenlive.org/%1/%2?mtm_campaign=inapp_asset_link&mtm_kwd=%3&mtm_campaign=%4")
+    return QStringLiteral("https://docs.kdenlive.org/%1/%2?utm_campaign=inapp_asset_link&utm_term=%3&utm_content=%4")
         .arg(prefix, id, id, KAboutData::applicationData().version());
 }
 
diff --git a/src/dialogs/Simplesplash.qml b/src/dialogs/Simplesplash.qml
index 4f3fc65002..c0e0c3d5db 100644
--- a/src/dialogs/Simplesplash.qml
+++ b/src/dialogs/Simplesplash.qml
@@ -276,8 +276,8 @@ Window {
                 anchors.right: notesButton.left
                 textFormat: Text.RichText
                 text: KI18n.i18n("Kdenlive was upgraded. If you like it, consider <a href=\"%1\">getting involved</a> or help <a href=\"%2\">funding</a>.",
-                           "https://kdenlive.org/get-involved/?mtm_campaign=kdenlive_inapp&mtm_kwd=splash_upgraded_contribute&mtm_content=" + splash.version,
-                           "https://kdenlive.org/fund/?mtm_campaign=kdenlive_inapp&mtm_kwd=splash_upgraded_donate&mtm_content=" + splash.version)
+                           "https://kdenlive.org/get-involved/?utm_campaign=kdenlive_inapp&utm_term=splash_upgraded_contribute&utm_content=" + splash.version,
+                           "https://kdenlive.org/fund/?utm_campaign=kdenlive_inapp&utm_term=splash_upgraded_donate&utm_content=" + splash.version)
                 wrapMode: Text.Wrap
                 HoverHandler {
                     enabled: upgradedLabel.hoveredLink
@@ -293,7 +293,7 @@ Window {
                 property bool buttonPressed: false
                 text: KI18n.i18n("What's New")
                 icon.name: "help-contents"
-                onClicked: splash.openLink("https://kdenlive.org/news/releases/" + splash.version + "?mtm_campaign=kdenlive_inapp&mtm_kwd=splash_upgraded_notes")
+                onClicked: splash.openLink("https://kdenlive.org/news/releases/" + splash.version + "?utm_campaign=kdenlive_inapp&utm_term=splash_upgraded_notes&utm_content=" + splash.version)
                 Keys.onPressed: (event)=> {
                     if (event.key === Qt.Key_Return) {
                         buttonPressed = true
diff --git a/src/dialogs/Splash.qml b/src/dialogs/Splash.qml
index 3433ef6188..af0b60af2b 100644
--- a/src/dialogs/Splash.qml
+++ b/src/dialogs/Splash.qml
@@ -684,8 +684,8 @@ Window {
                     anchors.leftMargin: 10
                     anchors.right: notesButton.left
                     text: KI18n.i18n("Kdenlive was upgraded. If you like it, consider <a href=\"%1\">getting involved</a> or help <a href=\"%2\">funding</a>.",
-                               "https://kdenlive.org/get-involved/?mtm_campaign=kdenlive_inapp&mtm_kwd=splash_upgraded_contribute&mtm_content=" + splash.version,
-                               "https://kdenlive.org/fund/?mtm_campaign=kdenlive_inapp&mtm_kwd=splash_upgraded_donate&mtm_content=" + splash.version)
+                               "https://kdenlive.org/get-involved/?utm_campaign=kdenlive_inapp&utm_term=splash_upgraded_contribute&utm_content=" + splash.version,
+                               "https://kdenlive.org/fund/?utm_campaign=kdenlive_inapp&utm_term=splash_upgraded_donate&utm_content=" + splash.version)
                     wrapMode: Text.Wrap
                     onLinkActivated: (link)=> splash.openLink(link)
                     textFormat: Text.RichText
@@ -702,7 +702,7 @@ Window {
                     enabled: splash.actionsEnabled
                     text: KI18n.i18n("What's New")
                     icon.name: "help-contents"
-                    onClicked: splash.openLink("https://kdenlive.org/news/releases/" + splash.version + "?mtm_campaign=kdenlive_inapp&mtm_kwd=splash_upgraded_notes&mtm_content=" + splash.version)
+                    onClicked: splash.openLink("https://kdenlive.org/news/releases/" + splash.version + "?utm_campaign=kdenlive_inapp&utm_term=splash_upgraded_notes&utm_content=" + splash.version)
                     KeyNavigation.tab: listView
                 }
             }
@@ -735,14 +735,14 @@ Window {
                         icon.name: "user-group-new"
                         text: KI18n.i18n("Contribute…")
                         enabled: splash.actionsEnabled
-                        onClicked: splash.openLink("https://kdenlive.org/get-involved?mtm_campaign=kdenlive_inapp&mtm_kwd=splash_donatebar_contribute&mtm_content=" + splash.version)
+                        onClicked: splash.openLink("https://kdenlive.org/get-involved?utm_campaign=kdenlive_inapp&utm_term=splash_donatebar_contribute&utm_content=" + splash.version)
                     }
 
                     ToolButton {
                         text: KI18n.i18n("Donate…")
                         icon.name: "donate"
                         enabled: splash.actionsEnabled
-                        onClicked: splash.openLink("https://kdenlive.org/fund?mtm_campaign=kdenlive_inapp&mtm_kwd=splash_donatebar_donate&mtm_content=" + splash.version)
+                        onClicked: splash.openLink("https://kdenlive.org/fund?utm_campaign=kdenlive_inapp&utm_term=splash_donatebar_donate&utm_content=" + splash.version)
                         KeyNavigation.tab: listView
                     }
 
@@ -1060,7 +1060,7 @@ Window {
                         text: KI18n.i18n("Check Online Documentation")
                         enabled: splash.actionsEnabled
                         Layout.alignment: Qt.AlignLeft
-                        onClicked: splash.openLink("https://docs.kdenlive.org?mtm_campaign=kdenlive_inapp&mtm_kwd=splash_dcumentation")
+                        onClicked: splash.openLink("https://docs.kdenlive.org?utm_campaign=kdenlive_inapp&utm_term=splash_documentation&utm_content=" + splash.version)
                     }
 
                     Button {
diff --git a/src/dialogs/settings/kdenlivesettingsdialog.cpp b/src/dialogs/settings/kdenlivesettingsdialog.cpp
index 1fbadb7011..ca3558fb17 100644
--- a/src/dialogs/settings/kdenlivesettingsdialog.cpp
+++ b/src/dialogs/settings/kdenlivesettingsdialog.cpp
@@ -622,7 +622,7 @@ void KdenliveSettingsDialog::initJogShuttlePage()
 #if defined(Q_OS_WIN)
     m_configShuttle.shuttledisabled->setText(i18n("For device configuration see <a "
                                                   "href=\"https://docs.kdenlive.org/getting_started/configure_kdenlive/configuration_jogshuttle.html"
-                                                  "#windows?mtm_campaign=kdenlive_inapp&mtm_kwd=jogshuttle_settings\">our "
+                                                  "#windows?utm_campaign=kdenlive_inapp&utm_term=jogshuttle_settings\">our "
                                                   "documentation</a>."));
     connect(m_configShuttle.shuttledisabled, &QLabel::linkActivated, this, &KdenliveSettingsDialog::openBrowserUrl);
 #endif
diff --git a/src/dialogs/wizard.cpp b/src/dialogs/wizard.cpp
index 32ffdb3c02..eab1202867 100644
--- a/src/dialogs/wizard.cpp
+++ b/src/dialogs/wizard.cpp
@@ -34,6 +34,7 @@
 #include <QTimer>
 #include <QXmlStreamWriter>
 
+#include <KAboutData>
 #include <KIO/JobUiDelegateFactory>
 #include <KIO/OpenUrlJob>
 
@@ -709,13 +710,15 @@ bool Wizard::isOk() const
 
 void Wizard::slotOpenManual()
 {
-    auto *job = new KIO::OpenUrlJob(
-        QUrl(QStringLiteral("https://docs.kdenlive.org/troubleshooting/installation_troubleshooting.html?mtm_campaign=kdenlive_inapp&mtm_kwd=welcome_wizard")));
+    auto *job = new KIO::OpenUrlJob(QUrl(
+        QStringLiteral(
+            "https://docs.kdenlive.org/troubleshooting/installation_troubleshooting.html?utm_campaign=kdenlive_inapp&utm_term=welcome_wizard&utm_content=%1")
+            .arg(KAboutData::applicationData().version())));
     job->setUiDelegate(KIO::createDefaultJobUiDelegate(KJobUiDelegate::AutoHandlingEnabled, this));
     // methods like setRunExecutables, setSuggestedFilename, setEnableExternalBrowser, setFollowRedirections
     // exist in both classes
     job->start();
-    // KIO::OpenUrlJob(QUrl(QStringLiteral("https://docs.kdenlive.org/troubleshooting/installation_troubleshooting.html?mtm_campaign=kdenlive_inapp&mtm_kwd=welcome_wizard")),
+    // KIO::OpenUrlJob(QUrl(QStringLiteral("https://docs.kdenlive.org/troubleshooting/installation_troubleshooting.html?utm_campaign=kdenlive_inapp&utm_term=welcome_wizard&utm_content=%1").arg(KAboutData::applicationData().version())),
     // QStringLiteral("text/html"));
 }
 
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index aa41f62ea6..5a06c7b11a 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -5554,7 +5554,7 @@ void MainWindow::checkMaxCacheSize()
                             QAction *updateAction = new QAction(i18n("Go to download page"), this);
                             connect(updateAction, &QAction::triggered, this, []() {
                                 QDesktopServices::openUrl(
-                                    QUrl(QStringLiteral("https://kdenlive.org/download?mtm_campaign=kdenlive_inapp&mtm_kwd=update_reminder&mtm_content=%1")
+                                    QUrl(QStringLiteral("https://kdenlive.org/download?utm_campaign=kdenlive_inapp&utm_term=update_reminder&utm_content=%1")
                                              .arg(KAboutData::applicationData().version())));
                             });
                             QAction *abortAction = new QAction(i18n("Never check again"), this);
@@ -5840,8 +5840,8 @@ void MainWindow::appHelpActivated()
 {
     // Don't use default help, show our website
     // QDesktopServices::openUrl(QUrl(QStringLiteral("help:kdenlive")));
-    const QString helpUrl =
-        QStringLiteral("https://docs.kdenlive.org?mtm_campaign=kdenlive_inapp&mtm_kwd=help_action&mtm_content=%1").arg(KAboutData::applicationData().version());
+    const QString helpUrl = QStringLiteral("https://docs.kdenlive.org?utm_campaign=kdenlive_inapp&utm_term=help_action&utm_content=%1")
+                                .arg(KAboutData::applicationData().version());
     if (pCore->packageType() == LinuxPackageType::AppImage) {
         qDebug() << "::::: LAUNCHING APPIMAGE BROWSER.........";
         QProcessEnvironment env = getCleanEnvironement();
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.