This commit is contained in:
Sagiv Ofek
2021-09-09 11:15:42 -06:00
parent 320ffc3e3d
commit ddcc4c162e
3 changed files with 15 additions and 14 deletions

View File

@@ -31,7 +31,6 @@ linkedin_username: sagivo
theme: minima
plugins:
- jekyll-feed
- jekyll-analytics
# Exclude from processing.
# The following items will not be processed, by default.
@@ -53,6 +52,4 @@ plugins:
# - vendor/gems/
# - vendor/ruby/
jekyll_analytics:
GoogleAnalytics: # Add, if you want to track with Google Analytics
id: UA-54596506-1 # Required - replace with your tracking id
google_analytics: UA-54596506-1

14
_includes/analytics.html Normal file
View File

@@ -0,0 +1,14 @@
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-54596506-1"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());
gtag("config", "UA-54596506-1");
</script>

View File

@@ -5,13 +5,3 @@ layout: home
Engineering, leadership, entrapranuership and everything in between.
You can [subscribe to future posts here](/about).
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-54596506-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-54596506-1');
</script>