{{ partial "head.html" . }} | {{ partial "head.html" . }} | ||||
<body> | <body> | ||||
<p> This page does not exist or as they say, it's a 404 error</p> | |||||
<p> If you can't find what you're looking for, it's better to sometimes look inside </p> | |||||
<p> Oops! Can't find that page. Sorry!</p> | |||||
{{ partial "freshlyticsscript.html" . }} | |||||
</body> | </body> | ||||
</html> | </html> |
{{ partial "listing.html" . }} | {{ partial "listing.html" . }} | ||||
{{ end }} | {{ end }} | ||||
</div> | </div> | ||||
{{ partial "freshlyticsscript.html" . }} | |||||
</body> | </body> | ||||
</html> | </html> |
{{ partial "footer.html" . }} | {{ partial "footer.html" . }} | ||||
{{ partial "freshlyticsscript.html" . }} | |||||
</html> | </html> |
<h3><a href="posts/">View all posts</a></h3> | <h3><a href="posts/">View all posts</a></h3> | ||||
</div> | </div> | ||||
{{ partial "freshlyticsscript.html" . }} | |||||
</body> | </body> | ||||
</html> | </html> |
<!-- freshlytics snippet --> | |||||
<script> | |||||
(function() { | |||||
var COLLECT_URL = "https://analytics.roxanne.dev/api/collect"; | |||||
var PROJECT_ID = "ZUYYDNTR9E"; | |||||
var GLOBAL_VAR_NAME = "__freshlytics__"; | |||||
window[GLOBAL_VAR_NAME] = {}; | |||||
window[GLOBAL_VAR_NAME].sendPageView = function() { | |||||
var path = location.pathname; | |||||
var referrer = document.referrer; | |||||
var url = | |||||
COLLECT_URL + | |||||
"?project_id=" + | |||||
PROJECT_ID + | |||||
"&path=" + | |||||
encodeURIComponent(path) + | |||||
"&referrer=" + | |||||
encodeURIComponent(referrer); | |||||
var xhr = new XMLHttpRequest(); | |||||
xhr.open("GET", url); | |||||
xhr.send(); | |||||
}; | |||||
window[GLOBAL_VAR_NAME].sendPageView(); | |||||
})(); | |||||
</script> |