Example 1: Create a personalised CTA

With smart content you can create personalised CTA's who perform up to two times better then normal CTA's

Our Smart Content module has recently been renamed to Logic. All documentation will be updated with the new name in the future.


We are going to show you how to build a simple personalised Call To Action (CTA) content section with the Smart Content Module.



It is important you read the basic get started documents first:








In this fictional example we have build a website for a company that is renting cabins at a lake in the mountains. Our standard website content is tailored towards nature lovers. Below you see the standard booking CTA on our homepage:



We will create two targeted social media advertisements for hikers and fishermen. Using Smart Content we are going to change our standard CTA text to something more suiting for these groups.


Step 1. Setup & Configuration

In the code environment we have created two public groups. One for fishermen and one for hikers.


Clicking the pencil icon we can configure the group.


It is important that our password type is Public and session is set to Cookie. In this example we create unique groups but in more complex configurations it is possible to use combined group logic.

To use our public groups we need to enable the url parameter login in the general options.


When we setup our advertisement it is important to add the &smc=fish or &smc=hike to the landingspage url. (fish / hike or the public passwords we have set for these groups)


If we are working with a (hidden) landingspage it's also possible to use the ab testing rule for this page to always put the visitor in our selected group (set ab testing percentage for that group to 100%). If we do this we don't even need to add the public password parameter to the page url.


Make sure the Access Logic is enabled for content components:


We can also enable this for page properties and databases. In this example we are going to create 3 smart content components.


Step 2. Create Smart Content

In the SiteManager visual CMS we copied our standard CTA content section twice. We changed our main text to be more specific for fishermen and hikers.

If we would publish the website now all CTA content sections would be shown to the visitor.
We still need to add logic to each of these 3 variants.

When we hover over the a content section we see the options button. Click it.



For the standard CTA we need to add the rules to only show this content section when the visitor is not in the fishermen and not in the hikers group. (https://support.sitemanager.io/smart-rules-in-the-sitemanager-cms)



For the fishermen CTA we add the rule to only show this content section when the visitor in in the fishermen group. (* If our group was not unique we could also add the rules that the visitor can not be in the hikers group)



For the hikers CTA we add the rule to only show this content section when the visitor in in the hikers group.



Step 3. Publish & Test results

When we are done with adding the smart rules we can publish our website and test our smart content.

When you add the ?smc=fish to any url you will notice that the CTA will change when visiting the homepage:


Similarly when you add the ?smc=hike to any page of your website:


if you want to reset the groups visit the url: sitemn.gr/yourproject/swfiles/lib/logout.php


Use the public parameters for targeted advertisements, newsletter groups, etc...