Updated PWA tracking
This commit is contained in:
parent
e7d84aa26f
commit
de27bedd8b
|
@ -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',
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue