Skip to content

Commit

Permalink
Sync readme.md to index.md.
Browse files Browse the repository at this point in the history
Signed-off-by: Tao He <sighingnow@gmail.com>
  • Loading branch information
sighingnow committed Apr 23, 2022
1 parent bbf08b8 commit 144097c
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ toc:

## Google Analytics, etc.

The jekyll-gitboook theme supports embedding the [Google Analytics][7] and [CNZZ][8] website analytical tools with the following
The jekyll-gitboook theme supports embedding the [Google Analytics][7], [CNZZ][8] and [Application Insights][9] website analytical tools with the following
minimal configuration in `_config.yaml`:

```yaml
Expand All @@ -82,6 +82,21 @@ tracker:
cnzz: "<YOUR CNZZ ANALYTICS KEY, e.g., xxxxxxxx>"
```

Application Insights can be added with the following configuration in `_config.yaml`

```yaml
tracker:
application_insights: "<YOUR APPLICATION INSIGHTS CONNECTION STRING>"
```

## Extra StyleSheet or Javascript elements

You can add extra CSS or JavaScript references using configuration collections:

- extra_css: for additional style sheets. If the url does not start by http, the path must be relative to the root of the site, without a starting `/`.
- extra_header_js: for additional scripts to be included in the `<head>` tag, after the `extra_css` has been added. If the url does not start by http, the path must be relative to the root of the site, without a starting `/`.
- extra_footer_js: for additional scripts to be included at the end of the HTML document, just before the site tracking script. If the url does not start by http, the path must be relative to the root of the site, without a starting `/`.

## License

This work is open sourced under the Apache License, Version 2.0.
Expand Down

0 comments on commit 144097c

Please sign in to comment.