# 服务端埋点SDK

为了方便您在服务端进行埋点事件的上传，GrowingIO提供了Java和PHP版本的SDK，使您可以像Web和移动端一样，通过几行代码完成埋点事件的上传。

如果您的服务端程序并不是使用这两种语言，您可以使用我们提供的通用接口来实现埋点事件的上报，参考：[埋点事件上传API](/docs/developer-manual/api-reference/manunl-api.md)

Update：从2020年4月22日起，所有服务端埋点的事件，GrowingIO会自动根据最近4个小时的用户访问记录，关联对应的访问用户ID。从而可以让您通过服务端埋点的事件可以获得更多的分析维度。具体规则请参考：[自动关联访问用户ID](/docs/developer-manual/api-reference/manunl-api.md#zi-dong-guan-lian-fang-wen-yong-hu-id)

{% content-ref url="/pages/-LspTBowietCsrg9tXeu" %}
[Java埋点SDK](/docs/developer-manual/sdkintegrated/server-sdk/java-sdk.md)
{% endcontent-ref %}

{% content-ref url="/pages/-LspTkzoV0B0OOL\_rx1d" %}
[PHP埋点SDK](/docs/developer-manual/sdkintegrated/server-sdk/php-sdk.md)
{% endcontent-ref %}


---

# 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://growingio.gitbook.io/docs/developer-manual/sdkintegrated/server-sdk.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.
