diff --git a/_config.yml b/_config.yml index 658c6b816..a1f53b590 100644 --- a/_config.yml +++ b/_config.yml @@ -56,10 +56,10 @@ blog: footer_content: A gem-based responsive simple texture styled Jekyll theme. disqus: - shortname: - public_key: -google_analytics: -addthis_public_id: # AddThis sharing plugin. See http://www.addthis.com/ + shortname: # e.g. yizeng + public_key: # e.g. ULZ0b9TFefCUJHKQd4JCKv2v3u27YoG7YG8zXPewkWrT333Z0Se9YnxLzoV6VM8W +google_analytics: # e.g. 'UA-42456515-5' +addthis_public_id: # AddThis sharing plugin. See http://www.addthis.com/. E.g. ra-53329e27694534j5 paths: home: / diff --git a/_includes/blog/scripts.html b/_includes/blog/scripts.html index e8071ba3c..9d6fd9dbf 100644 --- a/_includes/blog/scripts.html +++ b/_includes/blog/scripts.html @@ -26,7 +26,6 @@ }); $('footer .back-to-top, .gotop').on('click', function (event) { - sendGaEvent('Blog', 'Back to Top', event.currentTarget); event.preventDefault(); $('html, body').animate({ scrollTop: 0 @@ -35,7 +34,6 @@ }); $('.show-hidden').on('click', function () { - sendGaEvent('Post', 'Show Hidden', event.currentTarget); $(this).parent().next().toggleClass("hidden"); $(this).toggleClass("hidden"); }); @@ -45,6 +43,12 @@ {% if site.google_analytics %}