> For the complete documentation index, see [llms.txt](https://instag.gitbook.io/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://instag.gitbook.io/doc/cheng-shi-ma-zi-ding-an-zhuang/liu-lan-nei-rong.md).

# 瀏覽內容

{% hint style="warning" %}
需完成 [基礎追蹤 (必要)](/doc/cheng-shi-ma-zi-ding-an-zhuang/ji-chu-zhui-zong-bi-yao.md)
{% endhint %}

## 程式碼

請將「內容」追蹤程式碼，帶入各頁面對應資料後，在您想追蹤的每個網頁上透過 Javascript 發送。

<pre class="language-javascript" data-full-width="false"><code class="lang-javascript">itg('anchor', 'content',{
  'id': '<a data-footnote-ref href="#user-content-fn-1">string</a>',
  'category':'<a data-footnote-ref href="#user-content-fn-2">string</a>',
  'author':'<a data-footnote-ref href="#user-content-fn-3">string</a>',
  'tag':'<a data-footnote-ref href="#user-content-fn-4">string</a>',
  'user':{
    'type': '<a data-footnote-ref href="#user-content-fn-5">string</a>',
    'id': '<a data-footnote-ref href="#user-content-fn-6">string</a>',
    'email': '<a data-footnote-ref href="#user-content-fn-7">string</a>',
    'phone': '<a data-footnote-ref href="#user-content-fn-8">string</a>'
  }
});
</code></pre>

***

## 參數說明

<table data-full-width="false"><thead><tr><th width="86" data-type="checkbox">必要</th><th width="127">參數</th><th>說明</th></tr></thead><tbody><tr><td>true</td><td>id</td><td><p>string</p><p>內容 ID，代表與識別不同內容 ID，將用於「受眾篩選」之條件。</p></td></tr><tr><td>true</td><td>category</td><td><p>string</p><p>內容分類，依據內容的分類給予代號，將用於「受眾篩選」之條件。</p></td></tr><tr><td>false</td><td>author</td><td><p>string</p><p>內容作者，內容撰寫者 ID，將用於「受眾篩選」之條件。</p></td></tr><tr><td>false</td><td>tag</td><td><p>string</p><p>內容標籤，標籤或關鍵字，多個以「,」逗號區隔，將用於「受眾篩選」之條件。</p></td></tr><tr><td>false</td><td>user.type</td><td><p>string</p><p>使用者 來源，例如：own, line, facebook, google</p><ul><li>自有會員：own</li><li>Line 來源：line</li><li>Facebook 來源：facebook</li><li>Google 來源：google</li></ul></td></tr><tr><td>false</td><td>user.id</td><td><p>string</p><p>使用者  id，串聯 User ID 資料，讓「受眾篩選」的「整合資訊」條件更加精準。</p></td></tr><tr><td>false</td><td>user.email</td><td><p>string</p><p>使用者 email，串聯 User Email 資料，讓「受眾篩選」的「整合資訊」條件更加精準。</p></td></tr><tr><td>false</td><td>user.phone</td><td><p>string</p><p>使用者 phone，串聯 User Phone 資料，讓「受眾篩選」的「整合資訊」條件更加精準。</p></td></tr></tbody></table>

[^1]: 內容 ID，代表與識別不同內容 ID，將用於 「受眾篩選」 之條件。

[^2]: 內容分類，依據內容的分類給予代號，將用於 「受眾篩選」 之條件。

[^3]: 內容作者，內容撰寫者 ID，將用於 「受眾篩選」 之條件。

[^4]: 內容標籤，標籤或關鍵字，多個以 「,」 逗號區隔，將用於 「受眾篩選」 之條件。

[^5]: 使用者 來源，例如：own, line, facebook, google

[^6]: 使用者 id，串聯 User ID 資料，讓「受眾篩選」的「整合資訊」條件更加精準。

[^7]: 使用者 email，串聯 User Email 資料，讓「受眾篩選」的「整合資訊」條件更加精準。

[^8]: 使用者 phone，串聯 User Phone 資料，讓「受眾篩選」的「整合資訊」條件更加精準。
