Skip to content

Terms

'Terms' is a feature that shows the terms deployed in the Hive Console in the app and saves, on the Hive Axyl server, what the user consented to for each terms item. Use 'Terms' to manage terms that you must get consent to before the app is used, such as the terms of service and consent to the collection and use of personal information.

The app client uses the Hive Axyl SDK terms module to retrieve the terms and save consent. If you need to handle this on the app server, use the Terms API.

Roles of Hive Axyl and the app

  • Features Hive Axyl provides


    Hive Axyl provides the following features for implementing 'Terms'.

    • Terms registration and deployment in the Hive Console
    • Terms retrieval that matches the connecting country and language
    • Determining the consent status of each item and whether re-consent is needed
    • Saving consent, deleting consent, and recording consent history
  • Work the app must implement itself


    Separately from Hive Axyl, the app must implement the following typical tasks itself.

    • Building the terms consent screen
    • Choosing the consent subject (Device Key or Player ID)
    • Deciding whether to proceed with the service based on the consent status
    • Controlling app features based on optional consent items (for example, whether to send promotional notifications)

Structure of terms

Terms are registered per service code, and one set of terms contains 1 to 10 terms items. The user consents to each terms item.

Item Description
Service code The code you entered in Terms > Terms Registration in the Hive Console. Pass it as ServiceCode when you call terms methods.
Terms version The version number of the terms. When you save consent, you also pass the terms version the user saw.
Terms item The unit of terms shown on the screen. By consent type, items are divided into required consent (Required), optional consent (Optional), and notices that do not require consent (Notice).
Country and language Country-specific terms and default terms can be registered separately, and you can register multiple languages for each set of terms. For details, see Terms country and language.

Consent subject

The consent subject is the entity that consents to the terms. Before login, use the Device Key as the consent subject; after login, use the Player ID.

The Device Key and the Player ID are different consent subjects. The Hive Axyl server records the consent of each value separately and does not move or merge it between them. For example, even if you obtained consent with a Device Key before login, querying the consent status with a Player ID after login responds that there is no consent record. To choose a consent subject, see Choose the consent subject.

Features

  • Get terms


    Retrieves the current terms that match the country and language of the request. It returns the item titles, consent types, the content in HTML format, and the URL of the full terms page.

  • Get consent status


    Retrieves whether the consent subject has consented to each item of the current terms. Use CanProceed and ReconsentRequired in the response to decide whether to show the terms consent screen.

  • Save consent


    Saves consent, re-consent, and the decline and withdrawal of optional consent. Required items cannot be declined, and an idempotency key prevents the same consent from being saved twice.

  • Re-consent


    When the operator deploys items whose content changed as a re-consent request, the consent status of users who already consented changes to re-consent required. The app shows the terms consent screen again to obtain consent.

  • Consent history and previous terms


    Records consent, re-consent, decline, withdrawal, and deletion for each item. Each history entry keeps the URL of the terms page at the time of consent, and you can also retrieve the previous terms content of an item.

  • Delete consent


    Deletes the current consent of the consent subject when the user deletes their account. Consent history is not deleted; a deletion record is added to the history instead.

Next steps

Install the Hive Axyl SDK terms module.