I have already added google_analytics: "UA-49655154-2" in config.yml for google analytics to become functional in PB Jekyll site.
In LIS, the site pages have html header with script tags relating to google analytics like below.
<!-- Global site tag (gtag.js) - Google Analytics -->
<script type="text/javascript" async="" src="https://www.google-analytics.com/analytics.js"></script>
<script type="text/javascript" async="" src="https://www.googletagmanager.com/gtag/js?id=G-PJLDBJV1KB&l=dataLayer&cx=c"></script>
<script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-49655154-1"></script>
@adf-ncgr observed-email- that it may need additional file(s) :
... it looks like there are some files:
https://github.com/legumeinfo/jekyll-legumeinfo/blob/main/_includes/head.html
https://github.com/legumeinfo/jekyll-legumeinfo/blob/main/_includes/analytics.html
that must be something Sam added (it does not appear in the starter site that we forked from).
maybe it makes sense to wait until next week when Sam should be back to sort out what needs to be done to incorporate this into sites forked from the starter?
NEXT STEP: SD to bring issue up when @sammyjava is back.
I have already added
google_analytics: "UA-49655154-2"in config.yml for google analytics to become functional in PB Jekyll site.In LIS, the site pages have html header with script tags relating to google analytics like below.
@adf-ncgr observed-email- that it may need additional file(s) :
NEXT STEP: SD to bring issue up when @sammyjava is back.