Skip to content

Is there a way to include site analytics? #71

@ross-spencer

Description

@ross-spencer

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:

  1. Include a google-analytics-<id12345>.html in the root of the build, i.e. where index.html lands.
  2. Update the <head> of index.html to 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?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions