9 votes
Accepted

Larger Components are not publishing to SmartTarget/Fredhopper

The attributes (fields) in Fredhopper have a maximum size which you probably exeeded. An attribute cannot exceed the max character length of 32K. Most likely you have hit this limit. Logs Check the ...
  • 8,826
8 votes
Accepted

How can I get regions to work for XPM?

So to me this looks like it's supposed to be a JSON object: Start Region: { title: "MainContent", allowedComponentTypes: [ { schema: "tcm:6-195-8" template: "tcm:8-288-32" } ],...
8 votes
Accepted

Using a custom claim as trigger

Claim to trigger mapping The first problem is in the mapping. You should map the "group" instead of the claim. So you want to map the "group" taf:claim:usertype to the prefix user. Try this mapping: ...
  • 8,826
8 votes
Accepted

Smart Target Icon doesn't appear in XPM

Finally I have resolved my issue, the problem was a configuration in the Publication Targets. I created 2 similar Publication Targets (Previsualization and PrevisST), both had the same ...
7 votes

How to back up SmartTarget Promotions?

Apart from the approach Stephan202 mentioned: If you're using the deployment agent, you can use it's "capture" functionality to capture the complete configuration, and restore that when needed.
  • 328
7 votes
Accepted

Invalid_grant Error while Running Experiment in Smart Target

The Service Account Email, doesn't need to be the one you use to log on google analytics pages. The Service Account Email is the one you use to generate de .p12 file. Then in Google Analytics Admin ...
6 votes

Configuration of fredhopper

You will get the Please wait The Business Manager will be available when the indices are loaded. message as long as Fredhopper indices are not built. You could say, the problem is that the Fredhopper ...
  • 8,826
6 votes

How to back up SmartTarget Promotions?

SmartTarget promotions are stored in Fredhopper, as "campaigns". Unless SmartTarget stores additional meta-data outside of FH (something I'm not aware of), it should be enough to simply extract the ...
6 votes
Accepted

How to create Custom Trigger in SmartTarget 2014 SP1

Although not part of the official public API, I would recommend using the TriggerTypesHelper class to create/update the triggers - as well as the LocalizationHelper class if you need to use different ...
  • 19.8k
6 votes
Accepted

TCDL tags are not getting converted in smartTarget tags

SmartTarget tcdl tags are transformed by the Tridion Deployer. The SmartTarget module needs to be added to the cd_deployer_conf.xml. add the following to the <Processors> element <...
6 votes
Accepted

Is the Multiselect SmartTarget Trigger an "OR?"

Yes this is correct, there is an "AND" operator between triggers in a promotion, but an "OR" operator when selecting multiple values within a single trigger. For the use cases you mentioned it is ...
6 votes
Accepted

Issue with published promotions

Typically this means that the component tcm_54-14212-16 combined with its Component Template (CT) tcm_54-44540-32 is not present in the Fredhopper index. This can happen if you're missing the Add To ...
6 votes

Use of superuser(or root user) instead of a dedicated "fredhopper" user in linux for fredhopper installation

It is considered bad security practice to install and run processes as the root user on linux. Each service should run under it's own user in order that it can be isolated from other areas of the ...
6 votes

Is it possible to copy Promotions from one environment to other environment?

Admittedly, I haven't used this, so I can't tell you if it covers exactly what you're trying to do... but have you checked this chapter in our docs about "Copying Promotions"? On the surface, at least,...
  • 29k
6 votes
Accepted

SmartTarget Filtering and Ordering "Add a content filter" button is disabled

I have seen this scenario in a new SmartTarget/Fredhopper install when you have not enabled any live attributes (= things that you can use to filter on) in the Fredhopper Business Manager. Its a ...
  • 16.4k
6 votes
Accepted

Adding Page Regions to SmartTarget in DXA

You should update the list of regions in the smarttarget_conf.xml config file in your odata webservice website. The Smarttarget GUI will regularly update the list of available regions from this ...
6 votes
Accepted

Selecting random components in a SmartTarget (XO) promotion. Is it possible?

No - it is not possible to randomize the results returned by out-of-the-box usage of SmartTarget (I guess what you are looking for is a 'random' option in the sorting dropdown). See this answer and ...
  • 16.4k
6 votes
Accepted

Fredhopper Live attribute values alias

It is possible to provide labels for trigger values that are different from the actual values (e.g. title instead of ID). But it requires you to use the API to set it up and it's kind of complicated. ...
  • 19.8k
6 votes

How Smart Target updates the "Views" counter in experiments?

The short answer is that it is done automatically by the Query control. So when the Experiment is rendered, a view will be tracked. The tracking is done through the AnalyticsManager which in turn uses ...
  • 19.8k
6 votes
Accepted

How to know which user has modified a Smarttarget promotion?

No. Unfortunately it is not possible to retrieve info which user edited (or deleted) smarttarget promotions. The issue with them is that they are not stored in tridion but in Fredhopper in business....
  • 8,556
5 votes

Hows does SmartTarget sort results from multiple promotions?

Great question! From the user (Content Editor) perspective: The SmartTarget promotions are ordered in the order of how they appear in the Targetting tab in the Content Manager Explorer. The top ...
  • 8,826
5 votes

Manage Promotion in smart target

For this to work, the trigger needs to be mapped to a value in your ADF. I wrote a blog post here that shows the steps to wire up the Context Engine into SmartTarget, the steps are essentially the ...
  • 14.3k
5 votes
Accepted

SmartTarget regions on XPM enabled pages not selectable

Many thanks to Peter Kjaer who has now cleared two SmartTarget road blocks for me in as many weeks! I have the XPM/ST integration now working, with the correct html marrkup. The final order was: DWT (...
  • 489
5 votes

Debugging SmartTarget query URLs

You can use the Fredhopper preview page for this. The preview URL is something like this: http://localhost:8180/preview/?preview_seo=false&fh_location=//catalog01/en_US Just replace the ...
  • 802
5 votes
Accepted

Debugging SmartTarget query URLs

Complementary to oic's answer, there are two ways to run a query: The SmartTarget API runs the query against the REST API at http://localhost:8180/fredhopper/query (assuming the query server is on ...
  • 8,826
5 votes

How to implement Randomness/Weighting in SmartTarget promotions?

There is indeed no built-in randomness option, so you will need to do some post-processing. But seeing as you are already using the API, that should not be hard to do. You could have the weight as a ...
  • 19.8k
5 votes
Accepted

Smart target API not returning promotions

The SmartTarget query in your question does not add any trigger values and terefore you will only get those promotions which have no triggers. While it is a good idea to make a test promotion without ...
  • 8,826
5 votes
Accepted

Is it possible to copy Promotions from one environment to other environment?

There is an option where you can replicate entire business.xml over indexers (on different instances). This is something that SDL professional services did for us. They created power shell script for ...
  • 8,556
5 votes
Accepted

SmartTarget Content Selection: Component Template List is empty

It uses the same logic as when you select a Component Presentation to put on a Page: it will look at the Schemas the Components are based on and find any Component Templates that are linked to those ...
  • 19.8k
5 votes
Accepted

queryBuilder.Execute() is returning null result

There could be few things which you can check for the reason why your query is returning result while executing directly in fredhopper and not returning result in your application: Check the log of ...
  • 4,064

Only top scored, non community-wiki answers of a minimum length are eligible