Check item | Inspection precautions | Reference documentation |
|---|---|---|
Is the SDK introduced? | Check the SDK integration code, the code needs to introduce the JavaScript file of the SDK first and then initialize the SDK. | |
Is the APPID correct? | Check whether the APPID in the initialization code is the APPID that needs to be reported to the application. | |
Check whether the reporting address is correct. |
|
After opening the web page, you can see "sdk is ready" in the browser console to prove that the sdk initialization was successful.
Select Network. If the code event tracking is successfully completed, the list interface will be reported every time you click on the web interface. You can check:
If the return value e is not 0, you can check this table again.
Return field | Type | Return value description |
|---|---|---|
e | int | Status Code:
|
m | string | Error message, only appears when the request is verbose |
tc | int | Total number of events in the request |
sc | int | Number of events successfully parsed and collected |
Check item | Inspection precautions | reference documentation |
|---|---|---|
Is the SDK introduced? |
| |
Is the APPID and channel address correct? |
| |
Is the data reporting address correct? | Confirm whether the data reporting address is configured correctly.
| |
(Optional) |
|
After the above check and verification, you can call the relevant APIs, such as user, event, and other APIs to report.
See the two proofs marked in the picture to prove that the sdk was successfully initialized (provided that the log switch is turned on during initialization to see it)
When reporting an event, to see if the event is successfully reported, you need to use the capture or event tracking verification function, refer to 1.2.2.2 or 1.2.2.3.
Function description: event tracking developer tool
After accessing DevTools according to the documentation, open the DevTools panel to view access status, parameter configuration, event reporting and log requests, etc
Reference to determine whether the local report is normal:
Function description:Event Tracking Real-Time Verification
It needs to be integrated according to the relevant requirements of real-time event tracking. When the integration is successful, in Data Management - General Events, click Verify Event Tracking, and select Mobile End.
After scanning the code, you will see the reported behavior data in real time. The left side is the real-time behavior, and the right side is the attribute information of the corresponding behavior.
Configure the packet capture tool, select the interface corresponding to the data reporting address to view the interface of the app_logevent_v3
Saas address: http://toblog.volceapplog.com , private deployment needs to select the corresponding data reporting address
Check item | Inspection precautions | Reference documentation |
|---|---|---|
Is the SDK introduced? |
| |
Is the APPID and channel address correct? |
| |
Is the data reporting address correct? | Confirm whether the data reporting address is configured correctly.
| |
(Optional) | If you use real-time event tracking or the circling function, you need to do the following verification:
|
After the above inspection and verification, you can call the relevant APIs, such as user, event and other APIs to report
Turn on the log switch during initialization, and you can see the Track Launch event related information in the output to prove that the sdk initialization was successful.
After reporting user data or event data, you can see the corresponding event in ouput to prove that the event and attributes were sent successfully.
Function description: event tracking developer tool
Access DevTools in the Debug environment, you can view the event tracking report status, debug log, configuration parameters and other information locally in real time.
Reference to determine whether the local report is normal:
Function description: Event Tracking Real-Time Verification
It needs to be integrated according to the relevant requirements of real-time event tracking. When the integration is successful, in Data Management - General Events, click Verify Event Tracking, and select Mobile End.
After scanning the code, you will see the reported behavior data in real time. The left side is the real-time behavior, and the right side is the attribute information of the corresponding behavior.
Configure the packet capture tool, select the interface corresponding to the data reporting address to view the interface of the app_logevent_v3
Saas address: http://toblog.volceapplog.com , private deployment needs to select the corresponding data reporting address
Check item | Inspection precautions | Reference documentation |
|---|---|---|
Is the SDK introduced? |
| |
Is the APPID correct? | Check whether the APPID in the initialization code is the APPID that needs to be reported to the application. | |
Is the data reporting address correct? | Confirm whether the data reporting address is configured correctly.
|
After the above inspection and verification, you can call the relevant APIs, such as user, event and other APIs to report
The integration has completed the compilation. In the debugger Console, you see the following information to prove that the sdk initialization was successful.
Verify that there is a list interface reported in the debugger network, and the status code is 200
When clicking the code event tracking button, the corresponding event tracking event will be triggered. You can find the list? tea interface in the network to view the specific information of the event. If the status code is 200, it proves that the event was reported successfully.
Function description: Event Tracking Real-Time Verification.
It needs to be integrated according to the relevant requirements of real-time event tracking. When the integration is successful, in Data Management - General Events, click Verify Event Tracking, select WeChat Mini Program, and upload the Mini Program code according to the instructions.
After scanning the code, you will see the reported behavior data in real time. The left side is the real-time behavior, and the right side is the attribute information of the corresponding behavior.
Function description: event tracking developer tool
Through the Mini Program SDK event tracking power builder (DevTools component), the content and format of event tracking can be conveniently checked during the development stage. The tool provides functions such as environmental information viewing, initialization information status viewing, and event log viewing.
Reference to determine whether the local report is normal:
Check item | Inspection precautions | Reference documentation |
|---|---|---|
SDK integration code configuration check |
| |
Integrated result checking |
|
Verify that the configuration of the Appkey in the header is correct, do not write it as appid.
It needs to be configured as the following result:
Q1: Error: get appid error
The appkey is wrong, you need to fill in the correct appkey.
Q2: Error: parse web/mp3 data error
This error is written as a problem with the parameters of the body. Just check the body and refer to it normally.
[{ "user": { "user_unique_id": "useid1" }, "header": { "app_name": "test031701", "ab_sdk_version": "24", "app_version":"1.0.1.2", "custom": { "public_prop222": "22222" } }, "events": [ { "ab_sdk_version": "24", "event": "track11", "params": "{\"pay_real\":\"2990\", \"pro_type\":\"4\"}", "local_time_ms": 1656582814712 } ] }]
Q3: For anonymous user scenarios, can the client side SDK be reported without integration?
No, for anonymous users, you need to report deviceID or bddid. These two IDs need to be generated by the integrated client side and then passed through to the server level.
warning
After completing the data access, you need to wait 10 to 15 minutes before verifying the system data.
In Data Management - General Events/Event Properties/User Properties, verify that the reported custom events and custom properties exist in the event list, event properties and user properties list.
User-user detailed investigation, according to ssid or uuid query to see the specific behavior of the user, to see if the user exists, and whether there are behavioral events
It can also be verified in Advanced Analysis-Event Analysis, but it should be noted that if it is data transmitted on the same day, the date needs to be selected today when querying the data.
When users can scrutinize or analyze the reported data, then the SDK integration and event reporting are successful.
If the user does not report successfully, you need to see whether to call the API that sets the user (user_unique_id). If you do not set user_unique_id then the user is anonymous.
If the list in the browser developer network shows success, but the system does not find certain events or event properties, you can check whether there are failed events and properties reported in Data Management - Data Quality.
Description: If you need to do the app embedded H5 to get through, you can do the following checks. If you don't need it, you can ignore it.
When the data is connected, use the app to report the behavioral event data, and check whether the value of the platform field in the corresponding behavioral event is wap or ios/android through real-time event tracking monitoring or bag grabbing tools:
Real-time event tracking monitoring and packet capture refer to the verification instructions of each end above
Real-time event tracking data reference
Packet capture tool data reference:
Get through the reference (platform is android):
If the platform is not opened, it is wap.
When the platform attribute of the real-time event tracking monitoring or bag capture display behavior event is ios/android, you can check the corresponding user's behavior in the system-user scrutiny to determine whether the platform is ios/android in this user behavior event, and see if the event tracking triggered by H5 and the event tracking triggered by mobile end are the same user. If these two verifications are successful, then it proves that the H5 data embedded in the app is successfully connected