Recipes

Get insights

See API operation

Returns useful ("insight") information about how Script Management is handling the scripts used on your site or app. Use this data to identify problematic scripts and create a policy to manage them.

Note: Before you can review insight data, you need to enable Script Management in your Ion property to have it start monitoring script usage.

In this Recipe
  1. Set up authentication
  2. Get your propertyId
  3. Get your property hostname
Open Recipe
  • Get insights

    See API operation

    Returns useful ("insight") information about how Script Management is handling the scripts used on your site or app. Use this data to identify problematic scripts and create a policy to manage them.

    Note: Before you can review insight data, you need to enable Script Management in your Ion property to have it start monitoring script usage.

    9 steps
    Open Recipe
  • Create a policy for testing

    See API operation

    Create a new Script Management policy for your Ion property, using its unique propertyId, and propertyHostname, and save it to ​Akamai​'s staging network for testing.

    Note: You can only have a single Script Management policy for a given hostname. If you create a new one with new settings, the existing one will be overwritten. However, if a policy already exists with the same configuration, the API responds with a 409 error and shows the current settings.

    9 steps
    Open Recipe
  • Get a policy

    See API operation

    Returns information about the latest version of a Script Management policy for a specified Ion property.

    8 steps
    Open Recipe
  • Go live with a policy

    See API operation

    After creating a new policy and testing how it handles script usage on your site, push it to the production network to actively manage scripts for end-user requests.

    7 steps
    Open Recipe
Original text
Rate this translation
Your feedback will be used to help improve Google Translate