Skip to content

Commit

Permalink
Merge pull request #671 from naher94/development
Browse files Browse the repository at this point in the history
ToDo Check Easter Egg Analytics Added
  • Loading branch information
naher94 authored Feb 20, 2024
2 parents 028f8d3 + 31e1549 commit 9b348ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ description: > # this means to ignore newlines until "baseurl:"
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://rehanbutt.com" # the base hostname & protocol for your site
version: 7.15.0
version: 7.16.0
version-naming: [Apricot, Blackcurrent, Coconut, Dragonfruit, Elderberry, Fig, Guava]

# Build settings
Expand Down
5 changes: 4 additions & 1 deletion js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,11 @@ function copyToClipboard(link,clickedItem) {

///////////////////////////////////////////// Start of Checkbox Easter Egg Message on About Page
function easterEggMessage(clickedItem){
console.log("children",clickedItem.children);
clickedItem.children[0].style.opacity = '1';
gtag('event', 'Easter Eggs - ToDo Check List', {
'event_category': 'Special',
'event_label': 'ToDo Check List'
});
setTimeout(function(){clickedItem.children[0].style.opacity = '0';}, 1500);
}
///////////////////////////////////////////// End of Checkbox Easter Egg Message on About Page

0 comments on commit 9b348ff

Please sign in to comment.