-
-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Labels
Description
For creators it is important to measure the outcomes of an effort like creating a Carpentries website so that its impact can be understood in terms of use. This might be evidence enough for decision makers to invest in supporting their colleagues in creating more of these resources in the future.
- Is there an idiomatic way of enabling web site analytics through the Carpentries template?
- If not, has anything been considered?
In terms of existing options, something like Google Analytics might be one simple approach, but you need to be able to do one of two things in a default GH pages implementation:
- Include a
google-analytics-<id12345>.htmlin the root of the build, i.e. whereindex.htmllands. - Update the
<head>ofindex.htmlto include a new meta snippet generated by analytics.
Google is just one option but it may be that other providers use a similar approach.
Is there a way to include the html or meta tag that is compatible with the current build approach?
Reactions are currently unavailable