Adobe Marketing Cloud offers a cloud-based search solution known by the name of Adobe Search & Promote, launched in 2010, now part of Adobe Target suite of products. So if you are using Adobe Marketing Cloud products in your business, you can leverage Adobe Search & Promote tool for searching contents with in your site.
Adobe Search & Promote, being a product of Adobe Marketing Cloud, is extremely easy to integrate to other products with in the cloud.
In one of my quick tour on how to configure and use Search & Promote, I am going to cover the very basics you need to do to get yourself started.
Adding Meta Tags
Update your web pages header section with meta tags. The meta tags should highlight the keywords that will be used to search the pages. So if you want to search a page using title then add title meta tag like the one below. There is no hard and fast rules on the number of meta tags that are allowed on a page.
<meta name="title" content="News" />
<meta name="description" content="This is a news site" />
Adding Metadata Definitions
Login to Search & Promote and go to Settings > Metadata > Definitions.
In the User-defined fields you can add the meta tag name that you have added on the web page. Please note that the Meta Tags should match exactly with the meta tags of your webpage.
Once done you can push the definitions live by clicking on Push Live.
Updating Facets
Facets are nothing but filters for your search results. Here is a picture that will give you a more detailed view of facet.
To update facet navigate to Design > Navigation > Facets
Add new facet and select which metadata definition you want to use as facets
Push Live to make it go live.
Create New Collection
Collections are a group of web pages which will be queried when you do a search, we assign a name to the Collection while configuring it.
To create a new Collection
Navigate to Settings > Searching > Collections
Add a collection like below
C_MyCollection regexp https://www.nameofyousite.com
And remember to push the changes live!
Create Templates
There are two types of templates used in Search and Promote, they are transport template and presentation template. As the name goes presentation template is used to give the final output search data structure and transport layer is used to inject the data in the presentation layer. Transport layer templates have an extension on .tpl while presentation layer template have .tmpl as extension. Your presentation template can be a XML or a JSON whatever suits you. Once done remember to push the templates live!
Adding New Search
You need to add a new Search which will basically connect your Collection to Transport template which you created in previous step.
One added remember to push live!
Add Pre-Search Rules
Pre-Search rules allow you to map your Collection with a presentation template.
To add a new Pre-Search rule navigate to Rules > Pre-Search Rules.
Remember to push the changes Live!
Create Sitemap
Sitemap can be created in either XML format or a simple HTML page. There are third party tools that will crawl your site and provide you a sitemap to play around.
Refer - Sitemap.org
Add Entrypoint
Search&Promote : Huhhh.. lot of configurations done. But which sites I need to crawl ?
Right.. This one still waits. So once you have your sitemap created you can add your sitemap link in Search & Promote to make it start crawling the pages.
Navigate to Settings > Crawling > URL Entrypoints
Add your sitemap link
Push Live to make changes go live
Run Full Index
Finally when all is done. You can now move ahead and run a full indexing, this will make Search & Promote crawl the sitemaps mentioned in the previous step and index the pages based on metadata definitions.
To run a full index navigate to Index > Full Index > Live Index
Hit the Run Full Index button
You are done!
How to Test ?
If you already have the Search & Promote query url then you can simply append sp_k=<MyCollectionName> and hit the url on the browser.
If you do not have the query url then
Navigate to Design > Auto Complete > Search Form
Add a keyword and hit search, a new tab will open with a default search result. The important thing we are looking for is the query url of the browser window.
Copy the query url and append sp_k=<MyCollectionName>
Hit using the new URL again and you should see the results
コメント