# How to Install Basic Tags

## How to Install Basic Tags

### **What is a Basic Tag**

To use Ptengine, you need to install a specific code on the pages you want to measure. This code is called the "basic tag" or simply "tag," and it is JavaScript code that includes your project ID.

By installing this basic tag on your site, you can collect numerical data, understand customers using heatmaps, and consistently implement measures such as popups, A/B tests, and personalization.

Implementation is very easy, so let's get started by installing the tag and improving your website's user experience and conversion rate!

### **How to Install Tags (Recommended)**

It is recommended to install the tag directly in your site's HTML.

If you are using Ptengine with Shopify, do not install it directly in HTML and refer to Shopify's setup instructions.

The specific steps are as follows:

**Basic Settings and Tag Retrieval**

Access the target project and click the "Implement" button. Alternatively, click "Basic Settings and Tag Retrieval" from the gear icon next to the project name and proceed to the analysis code settings.

**Copy the Basic Tag**

Copy the basic tag. To prevent errors, we recommend using the copy button.

**Access the HTML**

Access the HTML of the site or page you want to measure.

**Paste**

Find the `head` tag and paste the copied tag within it. Save the changes and reload the page.

## 🎦 Tutorial Video

### **Related Articles**

If it's difficult to install directly in HTML, be aware that [flickering (flicker phenomenon)](/en/getting-started/quick/tag-setup.md) may occur.

If you install multiple Ptengine tags on the same page, data will not be measured correctly. Install only one tag per page. If data is still not being measured correctly, please check [this article](/en/getting-started/quick/tag-setup.md).

Don't forget to [register your domain](/en/getting-started/quick/tag-setup.md).

For other installation methods, please refer to [this article](/en/getting-started/quick/tag-setup.md).


---

# 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://helps.ptengine.com/en/getting-started/quick/tag-setup.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.
