# How to Switch Between PC and SP Versions

You are using the same URL for both PC pages and smartphone pages, and serving different screens based on the user agent (hereinafter, UA) of the accessing user's device.

With Ptengine, you can call up the screen you want to measure as is, select buttons and other elements, and configure event measurement without making any changes to the HTML source. When making this setting, the PC version screen is called up by default.

If you want to measure a button that only appears on the smartphone page, you can configure the measurement by spoofing the browser's UA to call up the smartphone version screen. This makes it possible to configure event settings without making any changes to the HTML source, even when using the same URL for both PC and smartphone pages.


---

# 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/faq/start-guide/pc-sp-switch.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.
