added analytics

This commit is contained in:
gocivici 2022-09-29 20:57:17 +03:00
parent c453d367cb
commit 5aa16fc589
3 changed files with 6 additions and 5 deletions

View File

@ -4,13 +4,13 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Author: A.N. Author, Illustrator: P. Pic">
<meta name="description" content="The horror movie guessing game!">
<meta property="og:title" content="Horrordle"/>
<meta property="og:description" content="The horror movie guessing game!"/>
<meta property="og:image" content="http://www.horrordle.com/thumbnail.png">
<meta property="og:url" content="horrordle.com"/>
<meta name="twitter:card" content="summary_large_image"></meta>
<script defer data-domain="horrordle.com" src="https://plausible.io/js/plausible.js"></script>
<meta name="twitter:image" content="http://www.horrordle.com/thumbnail.png">
<meta name="twitter:site" content="@horrordle"></meta>
<meta name="twitter:creator" content="@gocivici"></meta>

View File

@ -251,7 +251,7 @@ window.onload = deathOftheDay();
document.getElementsByClassName("resultContainer")[0].style.display="flex";
localStorage.setItem('result', textResult);
document.getElementById("feedback").style.display = "block";
document.getElementById("feedback").innerHTML = "Next movie revealed at midnight! 🕛 <br>";
document.getElementById("feedback").innerHTML = "Next movie at midnight! 🕛 <br>";
document.getElementById("resultText").innerHTML = textResult;
document.getElementById("resultText").style.display="block";
document.getElementById("countDown").style.display = "block";
@ -289,7 +289,8 @@ console.log("day count:" + dayCount);
document.getElementById("movieName").innerHTML = movieOfTheDay[0] + " ✅";
localStorage.setItem('movieName', movieOfTheDay[0] + " ✅")
document.getElementById("bonusQuestion").innerHTML = "⭐BONUS ROUND⭐<br> Can you guess the survivor?";
// document.getElementById("bonusQuestion").innerHTML = "⭐BONUS ROUND⭐<br> Can you guess which <b>image</b> contains the survivor?";
document.getElementById("bonusQuestion").innerHTML = "⭐BONUS ROUND⭐<br> choose the image with the survivor";
document.getElementById("submitBonusGuess").style.display = "inline";
document.getElementById("skipBonusGuess").style.display = "inline";
textResult = textResult + "🟩";

View File

@ -308,7 +308,7 @@ h3 {
border-radius: 5px;
width: 30%;
position: relative;
transition: all 5s ease-in-out;
/* transition: all 1s ease-in-out; */
/* overflow: auto; */
}
.popup i{