Acquisition of Vendor Channel Arrival Receipt

Last updated: 2021-05-28 14:25:57

    To help you analyze the full-linkage message push effect, TPNS supports the display of message arrival receipts for vendor channels. The support for message arrival receipts varies with the vendor channel inside the Chinese mainland. The message arrival receipts of certain channels cannot be directly obtained without corresponding configuration.

    After successfully configuring the message arrival receipt display feature, you can view the push conversion data in push details in the TPNS console or obtain the push conversion data through a TPNS RESTful API.

    Overview

    Vendor Channel Support for Arrival Receipt Require Configuration
    Huawei channel Yes Yes
    Meizu channel Yes Yes
    Mi channel Yes No
    OPPO channel Yes No
    vivo channel Yes No
    FCM channel Yes No
    Note:

    The arrival receipt information of vendor channels is for reference only.

    Receipt Configuration Guide for the Huawei Channel

    After integrating the Huawei channel SDK, you need to enable and configure the message receipt feature on the Huawei Developer Platform so that the arrival receipts of the Huawei channel can be obtained. For configuration details, see Message Receipt. The configuration process is as follows.

    Enabling the message receipt feature

    1. Log in to AppGallery Connect and select My apps.
    2. Select the parent product name of the application for which the service is to be enabled. The application information page is displayed.
    3. On the application information page, choose All services > Push Kit.
    4. On the Push Kit page, click Enable corresponding to Receipt status.

    Setting receipt parameters

    1. Set the message receipt address. Please view the service access point of your application in the TPNS console and select the corresponding receipt address for configuration.
    Service Access Point Receipt Address
    Guangzhou https://stat.tpns.tencent.com/log/statistics/hw/AccessID
    Hong Kong (China) https://stat.tpns.hk.tencent.com/log/statistics/hw/AccessID
    Singapore https://stat.tpns.sgp.tencent.com/log/statistics/hw/AccessID
    Shanghai https://stat.tpns.sh.tencent.com/log/statistics/hw/AccessID
    Note:

    Replace AccessID in the addresses with the access ID of your application. For example, if your application uses the Guangzhou service access point, set the receipt address to https://stat.tpns.tencent.com/log/statistics/hw/1500016691.

    1. Download the HTTPS certificate corresponding to the service access point of your application. Use a text editor to open the certificate file and copy the certificate to the certificate text box.
      Service Access Point Download Address
      Guangzhou Download
      Hong Kong (China) Download
      Singapore Download
      Shanghai Download
    2. Configure the callback username and key (optional) for authentication.
    3. Click Test Receipt to test the receipt address.
      Note:

      Currently, if you click Test Receipt, the error message "Failed to test the callback address" will be displayed. Ignore it and click Submit.

    4. Click Submit to activate the service.

    Receipt Configuration Guide for the Meizu Channel

    After integrating the Meizu channel SDK, you need to create a receipt on the Flyme push platform and activate it in the TPNS console so that the arrival receipt of the Meizu channel can be obtained. The configuration process is as follows.

    Note:

    You need to complete both the following steps; otherwise, delivery through the Meizu channel may fail.

    Configuring a receipt

    1. Log in to the Flyme Push Platform, select the application for which a receipt is to be configured, and click Open Application.

    2. On the push notification page, choose Configuration Management > Receipt Management.

    3. Enter the receipt address in Create Receipt. Please view the service access point of your application in the TPNS console and select the corresponding receipt address for configuration.

      Service Access Point Receipt Address
      Guangzhou https://api.tpns.tencent.com/log/statistics/mz
      https://stat.tpns.tencent.com/log/statistics/mz
      Hong Kong (China) https://stat.tpns.hk.tencent.com/log/statistics/mz
      Singapore https://stat.tpns.sgp.tencent.com/log/statistics/mz
      Shanghai https://stat.tpns.sh.tencent.com/log/statistics/mz
    Note:

    For the Guangzhou service access point, both receipt addresses must be entered.

    1. After entering the receipt address, click Add on the right. If the newly created receipt is correctly displayed in Receipt List, the configuration is successful.

    Activating the receipt

    1. Go to the Product Management page, select the application for which a receipt is to be activated, and click Configuration Management.
    2. On the configuration management page, click the edit icon in Vendor Channel > Meizu Official Push Channel.
    3. On the Meizu official push channel editing page, click Activate Now.