Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt
hiddentrue

Group layers together to display only first layer to a multiple group user. 

Use Case

As we've discussed before, Layers are powerful tool for targeting your content to particular audiences or customer segments.

...

But what if you only want one banner to be shown?  This is where Layer Groups come in. 

How

...

it Works

From version 3.94+, you can group layers together so that only the first layer from a group gets applied to a user. In other words, by grouping the Government, Education, and B2C layers together, you could ensure that only one promotional banner image was displayed to each user, even if they belonged to all 3 of those customer segments.

In a group of layers, only the first relevant layer gets applied, resulting in only one widget being displayed. 


Confused? Let's go through an example in a bit more detail.

 


Enabling

...

the Feature

Before you begin, contact us to enable the 'Additional Layer Filters' feature for your site. Once this is done, you can turn on the Layer Group Filtering Option.

  1. In the CMS, navigate to Settings → Settings → Feature SettingsManagement

    Image Removed 


  2. Edit the feature Configure the Additional Layers Filters feature, and toggle the Layer Group Filtering option on
    Image RemovedImage Added 
  3. Click 'Save & Exit'

 


Grouping Layers

  1. Navigate to Advanced Content → Layers.

  2. You'll see a new 'Group' column on your list of Layers. You can both search and sort by Group, allowing you to see at a glance which layers are related by group. 
     
    In the example above, you can see that Layers A, B, and C are all in the 'Home Page Promos' group.
     
  3. Locate the first Layer you wish to group, and click 'Edit'.

  4. Scroll to the 'Layer Group' section and enter a name for your group. 
     
     
  5. Click ' Save & Exit'. You've now created a Layer Group (consisting of just one layer at this point).

  6. Edit the next layer you want to group, enter same Group Name as previously, and Save & Exit

  7. Repeat for all remaining layers you wish to add to this group. 

 


Displaying Content

Now that our layers are grouped, we can add widgets to a page, apply a layer from the group to each widget, and know that only one widget will display, even if more than one layer applies to a user

For example, on my home page template below, I've added 3 Static Content widgets, each containing a targeted promotion message for different segments of my customer base.


 Image RemovedImage Added

So who sees what?

...

Have a play with this functionality on your Stage site. Once you're confident grouping layers, you'll be personalising content in no time!

 

 

 


Related help

Content by Label
showLabelsfalse
showSpacefalse
excludeCurrenttrue
cqllabel = "filters"