Bee for Craft CMS

Configuration

Settings → Bee. Nothing here is marked required, so a fresh install can always save.

Connection

Setting
Database IDYour Recombee database. Use $BEE_DATABASE_ID.
Private tokenUse $BEE_PRIVATE_TOKEN. Never in project config.
Regionus-west, eu-west, ap-se, ca-east. The wrong one answers 401.
TimeoutMilliseconds for ordinary requests. 10000 by default.
Recommendation timeoutMilliseconds for recommendations. 3000, and deliberately short.
RetriesFor sync requests only. Recommendations never retry.
Dry runBuild and log every request; send none.

Logging

Setting
Log modeAll, errors only, or none. Errors by default.
Log retentionDays. Garbage collection prunes past it.

Credentials are never written to the log: the signature and the token live in the query string, and only the path is recorded.

Syncing

Setting
Sync sitesWhich sites become items. All of them by default. Changing this changes every item ID.
Auto syncPush on element save. On by default.
Sync modeQueue or inline. Queue by default, collected into one job per request.
Batch sizeItems per batch request. 500 by default.
Delete on deleteRemove items from Recombee when the element goes.
Auto-create propertiesCreate a declared property in Recombee when it is first needed.

Tracking

Setting
Tracking enabledThe master switch for interactions.
Inject runtimeAdd the front-end runtime to site pages.
Track guestsGive guests a cookie ID. Off means only signed-in visitors are tracked.
Guest cookie name / daysDefaults to CraftBeeId and a year.
Merge guests on loginMerge the guest profile into the account. Pro.
Detail view delaySeconds before a view counts. 3 by default — firing on load counts every bounce.

Consent

Setting
Consent modeAlways, or only when a consent cookie says so.
Consent cookie nameThe cookie your consent platform sets.
Consent cookie valuesWhich values count as granted. 1,true,yes,granted by default.

Unknown consent is treated as not granted. A visitor who has not answered the banner has not said yes, and an interaction sent now cannot be recalled later.

Commerce

Setting
Track purchasesRecord purchases on order completion.
Track cart additionsRecord genuinely new line items. Pro.
Purchase variantsRecord the variant rather than the product where both are synced.

Recommendations

Setting
Default countHow many to ask for when a call does not say. 6.
Filter to live contentFilter every request on enabled, postDate and expiryDate. Leave it on.
Rotation rate / timeHow hard Recombee should avoid repeating itself, and over what window.
Minimum relevanceRecombee's own floor: low, medium, high, or unset.
AttributionWrite the ledger and stamp interactions. Pro.
Attribution retentionDays to keep ledger rows. 90 by default.

Overriding in config

Every setting can be set in config/bee.php the way any Craft plugin's can, which is how you differ per environment without differing project config. A setting fixed in config shows as read-only in the control panel.