feat(gui): Add ref params to homepage links in menu

This adds a `ref` param to the URLs in the menu,
in order to see where page views are coming from.

Change-Type: patch
This commit is contained in:
Jonas Hermsmeier 2018-01-30 18:23:21 +01:00
parent 41a694e4a4
commit 5754b4c6af
No known key found for this signature in database
GPG Key ID: 1B870F801A0CEE9F

View File

@ -84,13 +84,13 @@ const buildWindowMenu = (window) => {
{
label: 'Etcher Pro',
click () {
electron.shell.openExternal('https://etcher.io/pro')
electron.shell.openExternal('https://etcher.io/pro?utm_source=etcher_menu&ref=etcher_menu')
}
},
{
label: 'Etcher Website',
click () {
electron.shell.openExternal('https://etcher.io')
electron.shell.openExternal('https://etcher.io?ref=etcher_menu')
}
},
{