Skip to content

Commit

Permalink
Bug 1454298 - Add utm_source and utm_medium parameters to DevTools me…
Browse files Browse the repository at this point in the history
…nu links; r=jryans

MozReview-Commit-ID: BVn1DXBdaMY
  • Loading branch information
birtles committed Apr 25, 2018
1 parent 373fef1 commit ea2f81e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions devtools/client/framework/components/toolbox-toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,10 @@ function showMeatballMenu(
id: "toolbox-meatball-menu-documentation",
label: L10N.getStr("toolbox.meatballMenu.documentation.label"),
click: () => {
openWebLink("https://developer.mozilla.org/docs/Tools", toolbox);
openWebLink(
"https://developer.mozilla.org/docs/Tools?utm_source=devtools&utm_medium=tabbar-menu",
toolbox
);
},
}));

Expand All @@ -421,7 +424,10 @@ function showMeatballMenu(
id: "toolbox-meatball-menu-community",
label: L10N.getStr("toolbox.meatballMenu.community.label"),
click: () => {
openWebLink("https://discourse.mozilla.org/c/devtools", toolbox);
openWebLink(
"https://discourse.mozilla.org/c/devtools?utm_source=devtools&utm_medium=tabbar-menu",
toolbox
);
},
}));

Expand Down

0 comments on commit ea2f81e

Please sign in to comment.