> For AI agents: the complete documentation index is available at /en/llms.txt, the full documentation bundle is available at /en/llms-full.txt.

# 

![Integration flow diagram](/images/developer/technology_transfer.jpg)

## URL or Packaged Integration Guide

**Choose one of the following two integration methods:**

### Packaged Integration

For the packaged integration method, simply enter the URL of your site that includes the pixel generation into the ROIBest backend's "Promotion Link - Site URL" input box.

When the application starts, we will pass the uuid, link_id, and advertising parameters (such as fbclid, etc.) to complete the ad event reporting.

### Self-Developed Integration

- URL Integration: Directly use your H5 URL and select "Packaged Integration" when creating an application in the ROIBest backend. When the application starts, we will pass all the advertising parameters. After obtaining the parameters, you can call our [advertising event reporting API](/en/developer/event-report.md) to report back or call the [query advertising parameters API](/en/developer/query-link-info.md) to report back yourself.
- Packaged Integration: Build your front-end page and static resources (if static resources are packaged with the HTML, they will be uploaded to our CDN server. Ensure that the project's publicPath is set to "./". You can also choose to place and reference static resources from your CDN server, in which case publicPath needs to be set to your CDN domain. Routing mode currently only supports hash routing.). Place index.html in the top-level directory and compress it into a zip package. Select "Packaged Integration" when creating an application in the ROIBest backend. When the application starts, parameters will be stored in local storage. After obtaining the local storage parameters, you can call our [advertising event reporting API](/en/developer/event-report.md) to report back or call the [query advertising parameters API](/en/developer/query-link-info.md) to report back yourself.

### Getting the AppID

In the backend -> App Management -> In the corresponding app information column -> AppID: xxxxxxxxxx

![appid.jpg](/images/developer/appid.jpeg)

### Fetching Key Parameters

```js
const link_id = JSON.parse(localStorage.getItem('__rb_Your appid_link_id'));
const uuid = JSON.parse(localStorage.getItem('__rb_Your appid_uuid'));
```

::: tip Considerations
After obtaining the link_id within the application, it is best to associate it with the user's login information to prevent losing the parameters if the user clears the browser cache.
:::

### How to Debug Pixels

**Manually append advertising parameters to the copied promotion link.**
Perform installation and recharge tests. Note that these parameters do not need to be appended for official promotions.

- For Facebook links, append `&fbclid=123`
- For TikTok links, append `&ttclid=123`

### Official Promotion

For official promotion, provide the advertising partners with the generated promotion link.

## Support Status for Market Technology Integration

### Native

| Framework/Engine/Platform                     | Version       | Support Status      | Notes                                                                                            |
| :-------------------------------------------- | :------------ | :------------------ | :----------------------------------------------------------------------------------------------- |
| cocos                                         | Cocos Creator | Supported           |                                                                                                  |
| cocos                                         | Cocos2d-html5 | Supported           |                                                                                                  |
| cocos                                         | Cocos2d-js    | Supported           |                                                                                                  |
| egret                                         | all           | Supported           |                                                                                                  |
| laya                                          | all           | Supported           |                                                                                                  |
| unity                                         | all           | Partially Supported | After packaging, the used features can function normally on the web end (Note: disable warnings) |
| Other platforms that can output in web format | all           | Supported           |                                                                                                  |

### Packaged Web

| Framework/Engine/Platform | Version | Support Status | Notes |
| :------------------------ | :------ | :------------- | :---- |
| Packaged Web              | all     | Supported      |       |

### Web Technology Stack

| Framework/Engine/Platform             | Version | Support Status | Notes |
| :------------------------------------ | :------ | :------------- | :---- |
| vue                                   | all     | Supported      |       |
| react                                 | all     | Supported      |       |
| angular                               | all     | Supported      |       |
| uni-app                               | all     | Supported      |       |
| html, css, js                         | all     | Supported      |       |
| threejs, pixel.js, other js libraries | all     | Supported      |       |
| jquery and other libraries            | all     | Supported      |       |
| various web frameworks                | all     | Supported      |       |
| Hybrid/Cordova (phoneGap) and others  | all     | Supported      |       |
