Manage fragments

Learn how to manage, author, and use fragments in Adobe Journey Optimizer.

Transcript

Hello and welcome to our tutorial on Adobe Journey Optimizer Fragments. Fragments are a powerful tool that allow you to reuse content across multiple channels and allow you to activate them in campaigns or journeys. Let’s jump in. Let’s start by first navigating to the Fragments inventory page. From the AJO homepage, if you look in the left navigation, there is a menu that has a title of content management. And beneath it, there is an inventory header called Fragments. Once you click on Fragments, you are taken to the Fragments inventory page. Here on the Fragments inventory page, there are a number of fragments listed and information about those fragments. I wanna highlight two of the columns that you’ll see on this page. First, we have the status column. The status of a fragment determines whether or not it is available to use in a campaign or journey. And the status is dependent on whether or not the fragment has been published. If the fragment is an undrafted state, it has not been published yet. If it is live, it has been published. And only live fragments are able to be used in campaigns and journeys.

The other column I wanna highlight here is the type. There’s two types of fragments. There’s a visual fragment and an expression fragment. A visual fragment allows you to use our drag and drop interface for your WYSIWYG experience.

Our expression fragment is a code-based fragment that you create using our expression editor and allows you to save snippets of code for reuse.

Let’s start by making a fragment. I’m going to create a title fragment to go with another fragment that I’ve created called my statistics fragment. I’m gonna create a title that I can drag in and use on top of that all the time. So in order to do that, I’m going to press Create Fragment. I’m going to give my fragment a name. And then I can give it a description and add tags if I want. But then I need to decide what type of fragment I want this to be. Again, visual is a drag and drop interface. Expression fragments allow you to code a fragment with the expression editor. For this use case, I am going to do a visual fragment and I am going to create.

So here I am in our drag and drop interface. For this fragment, I’m going to drag over some text. And I am going to paste some text in here and adjust it stylistically how I want it. Looking good. So now that I’m ready to use this fragment in my campaign or journey, I will have to save my fragment. And then once I go back to the details page, you’ll see that I have an option to publish. If you don’t see this option to publish, you’ll need to add a permission to your profile by contacting your admin that’s called published fragments.

Once I publish the fragment, you’ll see here the status is set to publishing.

And now it’s live. This means that I can use my fragment in a campaign or journey. So let’s go over and create a campaign and use my fragments.

So I’ve created this campaign of a standard Luma email with a header and a footer and some social icons here. What I wanna do is I wanna use the fragments that I just created and pull those in to show my statistic examples. So the first thing I’m gonna do is drag in my statistics fragment that I had created previously. Looking good. Then I’ll create, drag and drop, my statistics title fragment on top of it. Looks good. One thing that I don’t want to do is have this text be the same for every single month. So since my text input was February, I might need to change that depending on which month I’m in. In order to do that, I can break inheritance on the fragment. Once I break inheritance, that means any updates that I perform to the original fragment won’t apply to this new fragment. So I can just change this to a new instance of it. So if I break the inheritance here, it asks me if I for sure want to do that. Then I can change this to a different month. So once I’m ready to go, I can save my email campaign. And I can go ahead and activate it. Once my campaign’s activated with my fragments inside, we’ll notice that once we go back to our fragments inventory, we are able to look at our statistics title, for example, that we just created. And we are able to explore references where this is used. So once I hit Explore References, it will show us is this used in another fragment, a journey, a campaign, or a template? And once it’s published, we should be able to see the usage here in the campaign. Let’s check our other statistics fragment. Beautiful, so looks like we can see the reference here.

Let’s say I wanna change some colors though on this fragment. Say these spring colors may not be the same colors I want to use in the fall. So if I’m going to edit the fragment, I’m going to modify the fragment.

And then I’m going to change a few things here. So I’m gonna change all of the colors on these statistics. So I can press Save when I’m ready, and that will save the changes to my fragment. But in order for it to show up in my live campaigns and journeys, I will need to publish those changes again. So once I press Publish, you’ll see that I have all of my references here. It says, hey, are you sure you wanna update this fragment? It’s being used in a campaign. I can press Confirm, and then it will publish that fragment to a live state and update it in that campaign. That’s it. Now you’re a pro at creating and managing and reusing fragments in AJO. Thanks for watching and happy designing.

recommendation-more-help
7e382214-bd30-4de2-bc8b-f6f6e7182305