diff --git a/index.html b/index.html
index d749cbc..a17231d 100644
--- a/index.html
+++ b/index.html
@@ -49,6 +49,12 @@
ga('create', 'UA-83519650-2', 'auto');
ga('send', 'pageview');
+ window.addEventListener('beforeinstallprompt', e => {
+ e.userChoice.then(choiceResult => {
+ ga('send', 'event', 'A2H', choiceResult.outcome);
+ });
+ });
+
window.fbAsyncInit = () => {
FB.init({
appId: '1632993110065053',
diff --git a/static/manifest.json b/static/manifest.json
index 09853f0..5e5a82a 100644
--- a/static/manifest.json
+++ b/static/manifest.json
@@ -1,6 +1,7 @@
{
- "name": "eur-o-mat",
- "short_name": "eur-o-mat",
+ "name": "EUROMAT",
+ "short_name": "euromat",
+ "description": "Der Euromat nicht einfach nur ein Wahlomat. Sondern Ihr digitaler Wahl-Freund, der Ihnen einen Eindruck von den europapolitischen Positionen der Parteien vermittelt.",
"icons": [
{
"src": "/static/img/icons/android-chrome-192x192.png",
@@ -13,8 +14,8 @@
"type": "image/png"
}
],
- "start_url": "/index.html",
+ "start_url": "/?utm_source=homescreen",
"display": "standalone",
- "background_color": "#000000",
- "theme_color": "#4DBA87"
+ "background_color": "#40A6EE",
+ "theme_color": "#ffffff"
}