v0.8.2a: added link tracking to 'read more' in NewsScene
This commit is contained in:
parent
6c53c8aa22
commit
afe8bf9037
|
@ -145,7 +145,12 @@ public class NewsScene extends PixelScene {
|
||||||
@Override
|
@Override
|
||||||
protected void onClick() {
|
protected void onClick() {
|
||||||
super.onClick();
|
super.onClick();
|
||||||
DeviceCompat.openURI("https://ShatteredPixel.com/");
|
String link = "https://ShatteredPixel.com";
|
||||||
|
//tracking codes, so that the website knows where this pageview came from
|
||||||
|
link += "?utm_source=shatteredpd";
|
||||||
|
link += "&utm_medium=news_page";
|
||||||
|
link += "&utm_campaign=ingame_link";
|
||||||
|
DeviceCompat.openURI(link);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
btnSite.icon(Icons.get(Icons.NEWS));
|
btnSite.icon(Icons.get(Icons.NEWS));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user