Browse Source

Add missing campaign tags

CURA-8441
Konstantinos Karmas 3 years ago
parent
commit
b37716de58

+ 1 - 1
cura/CuraActions.py

@@ -35,7 +35,7 @@ class CuraActions(QObject):
         # Starting a web browser from a signal handler connected to a menu will crash on windows.
         # Starting a web browser from a signal handler connected to a menu will crash on windows.
         # So instead, defer the call to the next run of the event loop, since that does work.
         # So instead, defer the call to the next run of the event loop, since that does work.
         # Note that weirdly enough, only signal handlers that open a web browser fail like that.
         # Note that weirdly enough, only signal handlers that open a web browser fail like that.
-        event = CallFunctionEvent(self._openUrl, [QUrl("https://ultimaker.com/en/resources/manuals/software")], {})
+        event = CallFunctionEvent(self._openUrl, [QUrl("https://ultimaker.com/en/resources/manuals/software?utm_source=cura&utm_medium=software&utm_campaign=dropdown-documentation")], {})
         cura.CuraApplication.CuraApplication.getInstance().functionEvent(event)
         cura.CuraApplication.CuraApplication.getInstance().functionEvent(event)
 
 
     @pyqtSlot()
     @pyqtSlot()

+ 1 - 1
resources/qml/Actions.qml

@@ -79,7 +79,7 @@ Item
     Action
     Action
     {
     {
         id: showTroubleShootingAction
         id: showTroubleShootingAction
-        onTriggered: Qt.openUrlExternally("https://ultimaker.com/en/troubleshooting")
+        onTriggered: Qt.openUrlExternally("https://ultimaker.com/en/troubleshooting?utm_source=cura&utm_medium=software&utm_campaign=dropdown-troubleshooting")
         text: catalog.i18nc("@action:inmenu", "Show Online Troubleshooting Guide");
         text: catalog.i18nc("@action:inmenu", "Show Online Troubleshooting Guide");
     }
     }
 
 

+ 1 - 1
resources/qml/WelcomePages/AddNetworkPrinterScrollView.qml

@@ -251,7 +251,7 @@ Item
                 onClicked:
                 onClicked:
                 {
                 {
                     // open the troubleshooting URL with web browser
                     // open the troubleshooting URL with web browser
-                    const url = "https://ultimaker.com/in/cura/troubleshooting/network"
+                    const url = "https://ultimaker.com/in/cura/troubleshooting/network?utm_source=cura&utm_medium=software&utm_campaign=add-network-printer"
                     Qt.openUrlExternally(url)
                     Qt.openUrlExternally(url)
                 }
                 }
                 onEntered:
                 onEntered: