# 如何串接Google Ads代碼

在Google Ads後台，取得Google Ads 代碼

點擊 工具/資料管理工具/管理

<figure><img src="/files/ViyS6iySqHwczxgh2PV8" alt=""><figcaption></figcaption></figure>

會看到一個ID，那就是Google Ads代碼

<figure><img src="/files/MOQxMSfCt6t6c5MleFcz" alt=""><figcaption></figcaption></figure>

到網站後台，使用Pixel Cat外掛，點擊Add Pixel

<figure><img src="/files/RGG6W5y25Zn1B40J5XhY" alt=""><figcaption></figcaption></figure>

選擇Google Ads

輸入該代碼，按Save，就完成串接了

<figure><img src="/files/X4WS0VgRkHKvr8CejSeb" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.wpsite.pro/wp/google-analytics-google-ads-xiang-guan/ru-he-chuan-jie-google-ads-dai-ma.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
