> For the complete documentation index, see [llms.txt](https://gitbook.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.com/docs/documentation/ja-gitbook-documentation/gong-kai/adaptive-content/enabling-adaptive-content/url.md).

# URL

{% hint style="info" %}
ガイドをご覧ください [詳細な手順](https://gitbook.com/docs/guides/product-guides/how-to-personalize-your-gitbook-site-using-url-parameters-and-adaptive-content) Cookie を使ったアダプティブコンテンツの設定について。
{% endhint %}

ビジターのデータをURLクエリパラメータ経由でドキュメントに渡すことができます。以下はその方法の概要です。

<table data-full-width="false"><thead><tr><th width="325.45703125">方法</th><th width="266.6015625">用途</th><th width="206.58984375">設定の容易さ</th><th width="202">セキュリティ</th><th>形式</th></tr></thead><tbody><tr><td>クエリパラメータ <code>visitor.&#x3C;prop>=</code></td><td>フィーチャーフラグ、ロール</td><td>使いやすい</td><td><span data-gb-custom-inline data-tag="emoji" data-code="274c">❌</span> 訪問者がプロパティを上書きできます</td><td>JSON</td></tr></tbody></table>

### クエリパラメータ

URLパラメータを使ってGitBookにデータを渡すには、URL内のデータを次の形式で渡す必要があります `visitor.<prop>`.

たとえば、以下のようにします。

```url
https://docs.acme.org/?visitor.language=fr
```

これにより、次の場所でこれらのクレームを使用できるようになります [条件エディタ](/docs/documentation/ja-gitbook-documentation/gong-kai/adaptive-content/adapting-your-content.md#working-with-the-condition-editor) 署名なしオブジェクト内で：

```javascript
visitor.claims.unsigned.language === "fr"
```

{% hint style="warning" %}
クエリパラメータ経由で渡されるデータは、次の方法でビジター スキーマに定義する必要があります [署名されていない](https://gitbook.com/docs/publishing-documentation/adaptive-content/enabling-adaptive-content#setting-unsigned-claims) オブジェクト。また、クエリパラメータはビジターによって簡単に変更できるため、機密性のない情報に最適です。
{% endhint %}

### 動画チュートリアル

{% embed url="<https://www.youtube.com/embed/hCd2_AAHU_I?si=jm2VOThMVh7NdJm>\_" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://gitbook.com/docs/documentation/ja-gitbook-documentation/gong-kai/adaptive-content/enabling-adaptive-content/url.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
