Recipes
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.
- Set up authentication
- Get your propertyId
- Get your property hostname
Get insights
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 stepsOpen RecipeCreate a policy for testing
Create a new Script Management policy for your Ion property, using its unique
propertyId, andpropertyHostname, 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 stepsOpen RecipeGet a policy
Returns information about the latest version of a Script Management policy for a specified Ion property.
8 stepsOpen RecipeGo live with a policy
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 stepsOpen Recipe
