It’s often helpful for debugging to know the version of code that generated the page. A great place to add this is is by injecting build-time variables into a
<meta> tag. For example, this documentation site is built with Jekyll and hosted on GitHub Pages. With this setup, we inject the version into the pages like this:
You can inspect the
<head> of this page and see how this looks.
Then, you can pull this value into TrackJS by reading it in your Install Config: