Skip to content

Commit eeb60a4

Browse files
Addison Schultzgitbook-bot
Addison Schultz
authored andcommitted
GITBOOK-535: Add docs for Advanced Insights and AI Change Requests
1 parent dd27bad commit eeb60a4

File tree

7 files changed

+284
-25
lines changed

7 files changed

+284
-25
lines changed

.gitbook/assets/03_02_25_advanced_site_insights.svg

+200
Loading

SUMMARY.md

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080

8181
* [Live edits](collaboration/live-edits.md)
8282
* [Change requests](collaboration/change-requests.md)
83+
* [AI change requests](collaboration/ai-change-requests.md)
8384
* [PDF export](collaboration/pdf-export.md)
8485
* [Inviting your team](collaboration/share.md)
8586
* [Comments](collaboration/comments.md)

account-management/cancelling-a-plan.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ If you’re thinking about cancelling a plan because you’re running into any i
99

1010
Here’s how to cancel your plan:
1111

12-
1. Go to the organization’s settings page. You can click on the settings <picture><source srcset="../.gitbook/assets/settings_icon_dark.svg" media="(prefers-color-scheme: dark)"><img src="../.gitbook/assets/settings_icon_light.svg" alt=""></picture> icon at the bottom of the sidebar and then click on **\[organization name] settings** to get there.
12+
1. Go to the organization’s settings page. You can click on the settings&#x20;
13+
14+
<picture><source srcset="../.gitbook/assets/settings_icon_dark.svg" media="(prefers-color-scheme: dark)"><img src="../.gitbook/assets/settings_icon_light.svg" alt=""></picture>
15+
16+
&#x20;icon at the bottom of the sidebar and then click on **\[organization name] settings** to get there.
1317
2. Click on the **billing** tab. This will take you to a billing page hosted on Stripe, our payment processor.
1418
3. Click the **cancel plan** button.
1519
4. On the following page, confirm by clicking a second button labelled **cancel plan**.

collaboration/ai-change-requests.md

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
hidden: true
3+
icon: sparkles
4+
---
5+
6+
# AI change requests
7+
8+
### Overview
9+
10+
The **AI Change Requests** feature brings the capabilities of GitBook AI to one of the core functionalities of GitBook: Change Requests. This feature streamlines the process of proposing, planning, and implementing changes to your GitBook content by leveraging AI assistance.
11+
12+
With AI Change Requests, you can:
13+
14+
* **Start a new Change Request**: Describe the modifications you want to make, and GitBook AI will draft a plan for review.
15+
* **Refine and approve the plan**: Review and adjust the AI-generated proposal as needed.
16+
* **Execute the changes**: Once finalized, GitBook AI will apply the changes directly to your content.
17+
18+
### How It Works
19+
20+
1. **Initiate a Change Request**
21+
* Open GitBook and navigate to the Change Requests section.
22+
* Start a new Change Request and describe the desired changes. Examples of requests include:
23+
* "Find and replace any instances of \[feature name] with \[updated feature name]."
24+
* "Correct typos on the Welcome page."
25+
* "Reformat the \[product feature] page into three sections: Overview, Installation, and FAQ."
26+
* "Add a new page for \[product feature] and document it based on this description: \[product description]."
27+
2. **Review and Tweak the AI-Generated Plan**
28+
* GitBook AI will draft a proposed plan based on your description.
29+
* You can review, edit, and refine the draft to ensure it aligns with your vision.
30+
3. **Execute the Plan**
31+
* Approve the final plan to allow GitBook AI to apply the requested changes directly to your project.
32+
33+
### Example Use Cases
34+
35+
* **Content Updates**: Quickly update outdated terminology or features across multiple pages.
36+
* **Error Correction**: Automatically detect and fix typos or grammatical errors in your documentation.
37+
* **Page Reorganization**: Restructure content into clear and logical sections.
38+
* **New Content Creation**: Generate new pages or sections based on high-level descriptions.
39+
40+
### Current Limitations
41+
42+
While the AI Change Requests feature is still in Alpha, there are some known limitations:
43+
44+
* **GitBook-specific blocks**: Updates to these blocks are not yet supported.
45+
46+
### Feedback and Support
47+
48+
As this feature is in its early stages, we welcome your feedback to improve its functionality. Please share your experiences and suggestions with the GitBook team to help us refine AI Change Requests.

creating-content/write-and-edit-with-ai.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
icon: robot
2+
icon: wand-magic-sparkles
33
description: Use GitBook AI to generate and build content for your page
44
---
55

getting-started/quickstart.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The docs site wizard will take you through the flow of creating your first site.
1919

2020
### Edit your content
2121

22-
Now that you’ve created a site, you can edit or import your content. If you have an existing repository on GitHub or GitLab with your documentation, you can easily migrate and sync your content to GitBook using [Git Sync](git-sync/). Find out more in [our guide to migrating content using Git Sync](https://app.gitbook.com/s/LBGJKQic7BQYBXmVSjy0/product-guides/migrate-your-content-to-gitbook-with-git-sync).
22+
Now that you’ve created a site, you can edit or import your content. If you have an existing repository on GitHub or GitLab with your documentation, you can easily migrate and sync your content to GitBook using [Git Sync](git-sync/). Find out more in [our guide to migrating content using Git Sync](https://app.gitbook.com/s/LBGJKQic7BQYBXmVSjy0/product-guides/import-or-migrate-your-content-to-gitbook-with-git-sync).
2323

2424
After importing your content, you can edit your pages using GitBook’s built-in editor and do things like [add interactive blocks](../creating-content/blocks/), customize the [layout of your pages](../creating-content/content-structure/page.md) and more.
2525

@@ -46,5 +46,5 @@ After publishing your site, you’ll get a link that you’re able to share with
4646
If you’re running into problems or have any questions, we’re here to help. [Join our community](https://github.com/orgs/GitbookIO/discussions) or [send our support team a message](https://docs.gitbook.com/help-center/support/how-do-i-contact-support) and we’ll help you from there.
4747

4848
{% hint style="success" %}
49-
Want to explore publishing in more details? Check out [our complete guide to creating and publishing content in GitBook](https://app.gitbook.com/s/LBGJKQic7BQYBXmVSjy0/product-guides/the-complete-guide-to-creating-and-publishing-documentation-in-gitbook-updated-for-2024).
49+
Want to explore publishing in more details? Check out [our complete guide to creating and publishing content in GitBook](https://app.gitbook.com/s/LBGJKQic7BQYBXmVSjy0/product-guides/complete-guide-to-publishing-docs-gitbook).
5050
{% endhint %}

publishing-documentation/insights.md

+27-21
Original file line numberDiff line numberDiff line change
@@ -9,51 +9,57 @@ description: View analytics and insights related to your published documentation
99
This feature is available on [Premium and Ultimate site plans](https://www.gitbook.com/pricing).
1010
{% endhint %}
1111

12-
Insights give you information on the content you've published and how it performs. It's split up between three sections — **traffic**, **search** and **feedback**.
12+
Insights give you information on the content you've published and how it performs. It's split up between different sections — **traffic**, **pages & feedback**, **search**, **ask AI**, **links**, and **OpenAPI**.
1313

14-
You can find insights for individual docs sites in the docs site dashboard, and can sort it by the last week, month and year.&#x20;
14+
You can find insights for individual docs sites in the docs site dashboard, and can sort it by the last day, week and month. You can download insights by hovering over the header for the data you want, and clicking **Download CSV**.
1515

16-
<figure><img src="../.gitbook/assets/10_01_25_site_insights.svg" alt=""><figcaption><p>The site insights dashboard.</p></figcaption></figure>
16+
<figure><img src="../.gitbook/assets/03_02_25_advanced_site_insights.svg" alt=""><figcaption><p>The site insights dashboard.</p></figcaption></figure>
1717

1818
### Traffic
1919

2020
GitBook tracks page views to help you understand the popularity and reach of your content. Each time a user visits a page on your docs site, it is counted as a page view.&#x20;
2121

22-
This information is compiled and displayed in the Traffic section of the Insights tab, allowing you to identify which pages are most visited and engage the most readers. Page views are critical for assessing the effectiveness of your content strategy and optimizing your documentation based on user interest.
22+
Page views are critical for assessing the effectiveness of your content strategy and optimizing your documentation based on user interest. It’s split up between different views and profiles, including countries, languages, browsers, and more.
2323

24-
### Search
24+
### Pages & Feedback
2525

26-
You can measure and improve your documentation by checking which keywords are used the most by users searching your documentation.
26+
Pages & feedback allow you to see a high-level representation of how your users rate your content. You’ll see an overview of all of your site’s sections and variants, and after enabling [page rating](site-settings.md#page-ratings-pro-and-enterprise-plans) in the **Customize** menu for a site, you can see each page’s average feedback rating.
2727

28-
Switch to the **Search analytics** tab to see what keywords are performing the best, and which ones you could improve on. You can view these search terms for the past week, month, or year.
28+
If you want to use or analyze this data further outside of GitBook, click **Download CSV** to download a `.csv` file to your device.
2929

30-
The information here can be helpful for informing your content architecture, making certain parts of your documentation easier to find without search, or adding additional content to existing pages based on what your visitors are searching for.
30+
You can also see a list of comments left from visitors who rate your pages, to get actionable insights on how your docs can be improved.
3131

32-
If you want to use or analyze this data further outside of GitBook, click **Download CSV** to download a `.csv` file to your device.
32+
#### How does GitBook calculate user scores?
33+
34+
GitBook uses a simple formula to calculate the page’s overall score:
35+
36+
`no. of ratings * (no. of positives - [0.5 * no. of neutrals] - [2 * no. of negatives])`
37+
38+
The goal of the content score is to surface the pages with the most feedback, with a bias towards negative ratings so you can see pages that need improvements. The more ratings a page has, the more the formula amplifies the sentiments of those ratings. This helps you spot pages that need attention, as well as pages that are highly-rated — to help you identify, iterate on and replicate your best content.
3339

34-
You’ll get information on:
40+
We cap the score at 500 (and -500) to avoid scores for commonly-rated pages reaching 10,000+.
3541

36-
`pageHits`: Total number of pages (title and description) matching the search term/query .
42+
### Search
3743

38-
`sectionHits`: Total number of sections (contents of the pages) matching the search term/query.
44+
You can measure and improve your documentation by checking which keywords are used the most by users searching your documentation. This view allows you to see what keywords are performing the best, and which ones you could improve on.&#x20;
3945

40-
### Feedback
46+
The information here can be helpful for informing your content architecture, making certain parts of your documentation easier to find without search, or adding additional content to existing pages based on what your visitors are searching for.
4147

42-
Content scores give you a high-level representation of how your users rate your content. After enabling [page rating](site-settings.md#page-ratings-pro-and-enterprise-plans) in the **Customize** menu for a site, you can see each page’s average feedback rating here.
48+
### Ask AI
4349

44-
You’ll initially see the ratings for your site’s default content, and you can use the dropdown menu on the right to select any other linked spaces in that site. You can then hover over the average rating to see how many positive, neutral and negative ratings a specific page has.
50+
The [Ask AI](../creating-content/searching-your-content/gitbook-ai.md) section allows you to see what your users are asking for when using GitBook AI. This insight helps you identify common questions, uncover gaps in your documentation, and improve content to better meet user needs.&#x20;
4551

46-
If you want to use or analyze this data further outside of GitBook, click **Download CSV** to download a `.csv` file to your device.
52+
By looking at these queries, you can refine your documentation structure, enhance discoverability, and provide more relevant information to your audience.
4753

48-
#### How does GitBook calculate user scores?
54+
### Links
4955

50-
GitBook uses a simple formula to calculate the page’s overall score:
56+
GitBook tracks links to help you understand how users interact with external resources in your documentation. This feature provides insights into external links, their domains, and their placement within your docs, such as in the header, footer, or sidebar. Analyzing link usage can help you optimize navigation, improve content accessibility, and refine your documentation strategy based on user engagement.
5157

52-
`no. of ratings * (no. of positives - [0.5 * no. of neutrals] - [2 * no. of negatives])`
58+
### OpenAPI
5359

54-
The goal of the content score is to surface the pages with the most feedback, with a bias towards negative ratings so you can see pages that need improvements. The more ratings a page has, the more the formula amplifies the sentiments of those ratings. This helps you spot pages that need attention, as well as pages that are highly-rated — to help you identify, iterate on and replicate your best content.
60+
The [OpenAPI](../creating-content/openapi/) analytics view in GitBook provides insights into how users engage with your API documentation.&#x20;
5561

56-
We cap the score at 500 (and -500) to avoid scores for commonly-rated pages reaching 10,000+.
62+
It tracks interactions such as endpoint views, parameter searches, and request explorations, helping you understand which parts of your API are most accessed and where users may need more clarity. These insights enable you to refine your documentation, improve developer experience, and ensure your API content is effectively meeting user needs.
5763

5864
{% hint style="info" %}
5965
**Why can’t I see any data for my site?**\

0 commit comments

Comments
 (0)