tencent cloud

Feedback

Application Connection

Last updated: 2022-08-05 17:17:32

    RUM can be connected to web, mini program (WeChat and QQ), Hippy, Weex, React Native, and Flutter applications. This document describes how to connect an application.

    Directions

    1. Log in to the RUM console.

    2. On the left sidebar, click Data Overview.

    3. On the data overview page, click Application Connection and configure the application information as detailed below:

      Configuration Item Description
      Application Name Enter a custom application name, which identifies the application in the RUM console.
      Application Description Enter an application description such as usage and overview, which helps other users better understand this application.
      Application Type RUM can be connected to web, mini program (WeChat and QQ), Hippy, Weex, React Native, and Flutter applications.
      Application Repository Address (optional) Enter the address of your application repository, which is optional.
      Business System This feature is used to manage your connected applications by category. For example, you can categorize your applications by conditions such as development team, business logic, and application type. If you have no available teams, click **Create** on the right, enter the relevant information, and click **OK** to create one.
    4. After completing the configuration, click Next and select a method to install the SDK as detailed below:

    • Install the SDK through npm (supported for all application types). The followings steps use a web application as an example to describe how to connect to the SDK through npm.
      i. On the connection guide page, copy the first command line to import the npm package.
      ii. On the connection guide page, copy the provided code to initialize the SDK.
    • Connect to the SDK by importing the <script> tag (supported only for web applications).
      i. On the connection guide page, copy the provided <script> tag code.
      ii. Import the code below <script> tag import into the <head></head> tags.
    After completing the above steps for connection, you can use the data overview, page performance, exception analysis, page view (PV and UV), API monitoring, and static resource features. If you want to use the log query, offline log, custom speed test, and custom event features, you need to report the data as instructed in the connection guide.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support