utm parameters in links to homepage

czech translation improved
This commit is contained in:
Jindra Petřík
2015-02-21 08:33:50 +01:00
parent 17c34d86c4
commit ae06be4703
5 changed files with 14 additions and 8 deletions

View File

@@ -244,14 +244,14 @@ public abstract class MainFrameMenu {
}
protected void helpUs() {
String helpUsURL = ApplicationInfo.PROJECT_PAGE + "/help_us.html?ref=app";
String helpUsURL = ApplicationInfo.PROJECT_PAGE + "/help_us.html?utm_source=app&utm_medium=menu&utm_campaign=app";
if (!View.navigateUrl(helpUsURL)) {
View.showMessageDialog(null, translate("message.helpus").replace("%url%", helpUsURL));
}
}
protected void homePage() {
String homePageURL = ApplicationInfo.PROJECT_PAGE+"?ref=app";
String homePageURL = ApplicationInfo.PROJECT_PAGE+"?utm_source=app&utm_medium=menu&utm_campaign=app";
if (!View.navigateUrl(homePageURL)) {
View.showMessageDialog(null, translate("message.homepage").replace("%url%", homePageURL));
}