Skip to main content

Using Prism AI components

Reuse a Prism AI component across steps and popups, and remove it from one popup without affecting the others.

Written by Rob D

Prism AI is Alia's personalization engine. It tests the variants you create and shows each visitor the one most likely to convert. For setup, see Setting up Prism AI.

A Prism AI element works best inside a component.

This article explains why, how to reuse a Prism AI component across steps and popups, and how to go back to a single, regular element when you don't want Prism AI in a popup.

Why Prism AI lives in a component

When you add Prism AI in the popup editor, Alia places it inside a new reusable component called My Prism. You can also convert an existing Prism AI element into a component yourself.

Keeping Prism AI in a component gives you two benefits:

  • Faster training: Every place the component appears, on other steps or in other popups, shares the same training data. More traffic flows through one model, so Prism AI learns which variants perform best faster.

  • Synced content: A visitor sees the same variant everywhere the component appears, so copy or imagery that repeats across steps stays consistent.

A Prism AI element that isn't in a component starts learning from scratch whenever it's copied.

šŸ’” Note: A component is shared. Editing anything inside it, including the Prism AI element and its variants, changes it everywhere the component is used, not only in the popup you have open.

Convert a Prism AI element to a component

If your Prism AI element isn't in a component yet, the layer list shows the warning Prism AI should be inside a component. To convert it:

  1. Open your popup in the Alia editor.

  2. In the layer list on the left, right-click the Prism AI element, or select its ⋯ menu.

  3. Select Convert to component.

Reuse a Prism AI component

Once the Prism AI element is in a component, you can add it to any step or popup.

  1. Select + to add an element in any step, including steps in other popups.

  2. In Add element, search for the name of your Prism AI component.

  3. Select it under Components.

Every copy of the component feeds the same Prism AI model and shows a visitor the same variant.

šŸ’” Tip: This works well for headlines or offer copy that appear on more than one step. Set it up once, place it everywhere, and let Prism AI learn from all of them at once.

Stop using Prism AI in a popup

Sometimes you want a popup without Prism AI, for example a new popup you duplicated from one that uses it. In the layer list, a Prism AI component shows as a component (cube icon), usually named My Prism, with the Prism AI element and its variants inside it.

Always work with the component, not the Prism AI element inside it. Removing the component from a popup only affects that popup. Changing anything inside the component changes every popup that uses it.

Option 1: Remove Prism AI completely

Use this when you don't need any of the content from the Prism AI element in this popup.

  1. In the layer list, find the component that holds the Prism AI element. It has a cube icon and is usually named My Prism. The Prism AI element sits indented just below it.

  2. Hover over the component row (My Prism, not Prism AI), select its ⋯ menu, then select Delete.

  3. In Delete node?, select Delete.

The message in Delete node? warns that testing knowledge is lost if the Prism isn't part of a component. Because you're deleting the component from this popup only, Prism AI keeps what it learned, and every other popup that uses the component keeps working.

Option 2: Keep one variant as a regular element

Use this when you want to keep one of the variants, such as your best headline, as a normal element in this popup.

  1. In the layer list, expand the component and the Prism AI element inside it.

  2. Select the ⋯ menu on the variant you want to keep, then select Copy.

  3. Select the ⋯ menu on the component row (My Prism), then select Paste as sibling. A copy of the variant appears next to the component, outside it.

  4. Select the ⋯ menu on the component, then select Delete.

The pasted copy is a regular element. You can edit it freely without affecting the Prism AI component in other popups.

šŸ’” Note: Don't delete the Prism AI element inside the component, and don't drag, cut, or move a variant out of it. Both change the shared component, so the change reaches every live popup that uses it.

FAQ

I deleted the Prism AI element and it disappeared from my other popups. Why?

The Prism AI element was inside a shared component, so deleting it removed it from the component everywhere. To remove Prism AI from one popup, delete the component instead. If you need to undo the change, select Version history in the component's ⋯ menu.

I moved a variant out of the Prism AI element and my other popups changed. Why?

Moving a variant out of the Prism AI element edits the shared component, so the variant is removed from every popup that uses it. Copy the variant instead, paste it outside the component, then delete the component from this popup.

Will deleting the component from one popup reset Prism AI's learning?

No. What Prism AI learned belongs to the component, and the component still exists in your other popups.

I duplicated a popup. Does the copy share the same Prism AI component?

Yes. The duplicate uses the same component, so editing the Prism AI element in one popup changes it in both. Use one of the options above to remove Prism AI from the copy.

Still have questions?

Start a chat from inside the Alia app, or use the chat in our Help Center.

Did this answer your question?