Sitecore has a feature called Sitecore Experience Explorer that you can use to test your Sitecore marketing setup in advance. In this article, we will show you how to use this feature.
![](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F4rD17Lw1OtQy0AeEcde5iN%2F4e21b61b5e5756c58e592125ca20b1eb%2Fexperienceexplor07.png&w=3840&q=75)
Scenarios for using the campaign
When setting up campaign personalization, the Sitecore Experience Platform has a variety of rules. Among them, personalization by campaign inflow is an important feature that can be effective.
Campaign creation and deployment
The first step is to create a campaign. In creating a campaign, you will launch the Campaign Creator to create a new campaign. In this case, we have created the following campaign
![experienceexplor01.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F3Eu6GsmBTi09oG6VyS80hP%2Fe0fa2053c2188835b37666382aca7d0e%2Fexperienceexplor01.png&w=3840&q=75)
The campaign link will be a URL that is automatically created when you create a campaign. By adding the campaign link to the URL, you can track where your campaigns are coming from. For example, you can use three campaign codes, one for ads, one for newsletters, and one for social, and specify the channel for each to determine which channel they are coming from.
To deploy the created campaign, open Analytics - Deploy Marketing Definition in the Control Panel.
![experienceexplor02.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F3L5bc2zrgH6HkQvbFcQXBh%2F7449964f39958e19cb44d1e3789837c6%2Fexperienceexplor02.png&w=3840&q=75)
In the dialog, check the campaign and expand the marketing definition.
![experienceexplor03.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F5nrzp93ucl9oiZ0wLrsk3t%2F7c6824937aaf15cf75c4b3c23b98abae%2Fexperienceexplor03.png&w=3840&q=75)
This completes the deployment. Just to be sure, it is a good idea to open the desktop and switch to the web database to check that the items have been deployed.
![experienceexplor04.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F1SoRCChZPI7QeQKUsZVhN4%2F1c991ea1f2b978191c46ba8ded6b3e58%2Fexperienceexplor04.png&w=3840&q=75)
When you are done, switch from the Web database to the Master database and go to the top of the administration page.
Set personalization rules for your pages
Open the Sitecore page you wish to test and check the personalization rules for the component in question. In this case, we will check if it works with a rotating banner.
![experienceexplor05.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2FZKHU5Wz1HNKoU02AhFk0o%2F680d5da61ef0eeaca0c42c31ae31ee8f%2Fexperienceexplor05.png&w=3840&q=75)
Open Edit Conditions and specify the campaign you created as a rule.
![experienceexplor06.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2FrNKwpcJ9riGUQblrmGafP%2Ffeb98e23d1c301055bbb9234f990afd9%2Fexperienceexplor06.png&w=3840&q=75)
The result is as follows
![experienceexplor07.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F4rD17Lw1OtQy0AeEcde5iN%2F4e21b61b5e5756c58e592125ca20b1eb%2Fexperienceexplor07.png&w=3840&q=75)
Switch to the Experience Editor to see if the content switches according to the rules.
![experienceexplor08.gif](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F5dclHJDRMATKIk8DSkZ8Q%2F01098c65a1bfb3f1d327340a1dce1d15%2Fexperienceexplor08.gif&w=3840&q=75)
Use the Experience Explorer
Now that we have created the campaign and set up the personalization rules for the page, we would like to validate it using the Experience Explorer. This tool is not offered as a stand-alone form, but as a feature of the Experience Editor. Select the Experience tag and click on Explorer.
![experienceexplor09.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F3d62rkh01vN8qdzUN0dkWw%2Ffa2a7b2fb12d8a84eef6f9480a461c5a%2Fexperienceexplor09.png&w=3840&q=75)
When you switch to it, you will see the page in a mode similar to full screen, but with arrows on the left and right. This time, click on the arrow on the left side.
![experienceexplor10.gif](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F7Ih0lb8BzA45tJfbpOVo86%2F1c58938b93f068be7f14da045e1f6878%2Fexperienceexplor10.gif&w=3840&q=75)
Here you will find the referrer information, where you can specify the campaign or referrer (referrer). By using the Experience Explorer, you can check if personalization is enabled for a specific profile. In this case, we are going to check if it is valid for a campaign. The following screen shows the actual campaign you have created and whether it is valid or not.
![experienceexplor11.gif](/_next/image?url=https%3A%2F%2Fdownloads.ctfassets.net%2Fzi1ovlormku8%2FEaROjYitL3Mf274xIY1lB%2F487046bf9d456470b9978b1cb2561069%2Fexperienceexplor11.gif&w=3840&q=75)
As you can see above, if you set up a campaign, you will see personalization running. If you open the hidden item on the right side with the arrow, you can also see if the campaign is activated. We can also see that when we test again, we can reset it and it is back to normal.
Confirmation on public server
This is how it actually works when published externally, but one point should be noted. This is because this personalization is only enabled when the first page is displayed with the campaign code in it.
In this case, for example, the following site is accessed as a URL (the domain listed here is an example and differs from the actual verification environment).
https://sitecore.com/
The result will look like this.
![experienceexplor12.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F2iAASwS40GQ1XzjUDQoQ4Y%2Fc5733dbe2486a0e7efa216804a08c23a%2Fexperienceexplor12.png&w=3840&q=75)
Add the campaign code back here and try to access it.
https://sitecore.com/?sc_camp=47C2B2467FD04984A177051B4F55BB41
![experienceexplor13.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F3J38EGkBegMLPFrEml0ikC%2Fabc3d18a5400f3c02a3b3b9e569650d2%2Fexperienceexplor13.png&w=3840&q=75)
In this case, it appears that personalization is not working. Now let's open another window in private mode and put in the exact same URL as the second one.
![experienceexplor14.png](/_next/image?url=https%3A%2F%2Fimages.ctfassets.net%2Fzi1ovlormku8%2F6MlCrSmeLC11TZ9mm9GoKE%2Fef7e48207783b10890af3c5a62352240%2Fexperienceexplor14.png&w=3840&q=75)
You can see personalization in action. We were able to confirm that personalization was being performed based on which inflow the visitor came from, rather than on page transitions within the site.
Summary
In this case, we used the Experience Editor to create a campaign, deploy it, and then check that the campaign is working again. This allows us to test personalization in the admin panel before publishing externally. By looking at the page in the Experience Explorer, we can verify whether or not the target goal is being met, and then publish the page to see if the marketing settings can be observed in the way we expect, and what kind of personalization is being used for the content. We are now able to confirm whether the marketing settings can be observed in the expected movement and what kind of personalized content is being used.