# 注册Google analytics并安装转化代码

### 1.注册Google analytics

点击链接访问谷歌分析的官网 <https://analytics.google.com/>

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

【账号开设】-【媒体资源设置】-【显示高级选项】-【创建 Universal Analytics 媒体资源】

注意：默认创建的是Google Analytics 4，为了安装代码方便，可以选择使用【Universal Analytics】

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

<figure><img src="/files/540Hqh7NiaIDw5xt22G4" alt=""><figcaption></figcaption></figure>

### 2.安装代码到shopify后台

在谷歌分析后台设置中找到跟踪ID，黏贴到shopify后台

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

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

成功安装谷歌分析！通过谷歌分析了解站点内的用户行为，各个页面的停留时长、跳出率等数据

<figure><img src="/files/kagVhGz2VGjoYmMorp8G" 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://help.uniagency.net/media/google-ads/zhu-ce-google-analytics-bing-an-zhuang-zhuan-hua-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.
