Learn how to remove unused triggers and animations from elements on your site.
If you delete an animation, or a trigger that didn’t have an animation linked to it, this won’t fully remove the trigger or animation from your site. This is because you can reuse previously created animations on other element or page triggers. However, you may want to clean up unused triggers or animations, to increase site optimization and performance.
When you clean up unused interactions, you won’t be able to decide which triggers are removed but you can choose which animations to remove or keep. All unused triggers are deleted when you clean up unused interactions.
NoteYou’ll only be able to fully remove (clean up) an animation when the animation isn’t connected to an element or page trigger. Remove the animation from any element or page triggers in the Interaction panel first, then remove the animation from your site.
To clean up unused triggers and animations:
- Go to the Interactions panel
- Clickat the top of the panel
- Select/deselect the animations you want to delete/keep
- Click Delete