This repository was archived by the owner on Apr 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
domains/dashboard/components/migration-modal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ import {
1717
1818import { ConnectionModalStatusContent } from "./types"
1919
20+ const utm_campaign = "agent_nudge_to_cloud"
21+
2022export type CloudConnectionStatusModalProps = ConnectionModalStatusContent & {
2123 closeModal : ( ) => void
2224 onRefresh ?: ( ) => void
@@ -70,7 +72,7 @@ const CloudConnectionStatusModal = ({
7072 </ ModalBody >
7173 < ModalFooter >
7274 < Box data-testid = "cta1" margin = { [ 0 , 2 , 0 , 0 ] } width = { { min : 40 } } >
73- < GoToCloud utmParameters = { { content : "connection-to-cloud" } } >
75+ < GoToCloud utmParameters = { { content : "connection_to_cloud" , utm_campaign } } >
7476 { ( { link } ) => (
7577 < Button
7678 data-ga = { `connection-to-cloud::click-ct1::ad` }
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ import {
1515 Checkbox ,
1616} from "@netdata/netdata-ui"
1717
18+ const utm_campaign = "agent_nudge_to_cloud"
19+
1820const MigrationModal = ( {
1921 migrationModalPromoInfo,
2022 setUserPrefrence,
@@ -119,7 +121,7 @@ const MigrationModal = ({
119121 />
120122 </ Box >
121123 < Box data-testid = "cta1" margin = { [ 0 , 2 , 0 , 0 ] } width = { { min : 40 } } >
122- < GoToCloud utmParameters = { { content : migrationModalPromo } } >
124+ < GoToCloud utmParameters = { { content : migrationModalPromo , utm_campaign } } >
123125 { ( { link } ) => (
124126 < Button
125127 data-ga = { `${ migrationModalPromo } ::click-ct1::ad` }
You can’t perform that action at this time.
0 commit comments