v0.8.2: Adjusted analytics tracking codes on ingame links

This commit is contained in:
Evan Debenham 2020-08-05 10:50:42 -04:00
parent 2c4a880d67
commit f1c56ba6c7
4 changed files with 8 additions and 8 deletions

View File

@ -60,8 +60,8 @@ public class AboutScene extends PixelScene {
String shpxLink = "https://ShatteredPixel.com"; String shpxLink = "https://ShatteredPixel.com";
//tracking codes, so that the website knows where this pageview came from //tracking codes, so that the website knows where this pageview came from
shpxLink += "?utm_source=shatteredpd"; shpxLink += "?utm_source=shatteredpd";
shpxLink += "&utm_medium=android"; shpxLink += "&utm_medium=about_page";
shpxLink += "&utm_campaign=about_page"; shpxLink += "&utm_campaign=ingame_link";
CreditsBlock shpx = new CreditsBlock(true, Window.SHPX_COLOR, CreditsBlock shpx = new CreditsBlock(true, Window.SHPX_COLOR,
"Shattered Pixel Dungeon", "Shattered Pixel Dungeon",

View File

@ -312,8 +312,8 @@ public class NewsScene extends PixelScene {
String link = article.URL; String link = article.URL;
//tracking codes, so that the website knows where this pageview came from //tracking codes, so that the website knows where this pageview came from
link += "?utm_source=shatteredpd"; link += "?utm_source=shatteredpd";
link += "&utm_medium=android"; link += "&utm_medium=news_page";
link += "&utm_campaign=news_page"; link += "&utm_campaign=ingame_link";
DeviceCompat.openURI(link); DeviceCompat.openURI(link);
} }
}; };

View File

@ -81,8 +81,8 @@ public class SupporterScene extends PixelScene {
String link = "https://www.patreon.com/ShatteredPixel"; String link = "https://www.patreon.com/ShatteredPixel";
//tracking codes, so that the website knows where this pageview came from //tracking codes, so that the website knows where this pageview came from
link += "?utm_source=shatteredpd"; link += "?utm_source=shatteredpd";
link += "&utm_medium=android"; link += "&utm_medium=supporter_page";
link += "&utm_campaign=supporter_page"; link += "&utm_campaign=ingame_link";
DeviceCompat.openURI(link); DeviceCompat.openURI(link);
} }
}; };

View File

@ -64,8 +64,8 @@ public class WndSupportPrompt extends Window {
String link = "https://www.patreon.com/ShatteredPixel"; String link = "https://www.patreon.com/ShatteredPixel";
//tracking codes, so that the website knows where this pageview came from //tracking codes, so that the website knows where this pageview came from
link += "?utm_source=shatteredpd"; link += "?utm_source=shatteredpd";
link += "&utm_medium=android"; link += "&utm_medium=supporter_prompt";
link += "&utm_campaign=supporter_prompt"; link += "&utm_campaign=ingame_link";
DeviceCompat.openURI(link); DeviceCompat.openURI(link);
SPDSettings.supportNagged(true); SPDSettings.supportNagged(true);
WndSupportPrompt.super.hide(); WndSupportPrompt.super.hide();