When configuring dynamic customer group attributes, specify referrer parameters.
Example:
| Attribute | Processing |
|---|---|
| Referrer URL (session.referrerURL) |
Salesforce B2C Commerce checks the referrer URL while processing the incoming HTTP request. This is done for requests to storefront sites only. B2C Commerce checks only referrers pointing to external URLs. URLs pointing to the current store are omitted. Re-evaluation triggers whenever the referrer changes. If the request includes no referrer or if the referrer is empty or invalid, re-evaluation isn't triggered. Note The referrer can also change during a customer session, so B2C Commerce
checks the referrer on each new request. This occurs if the customer has an
active session on the server, leaves the server, for example for a Google
search, and then returns to the server.
|
| Referrer Host (session.referrerHost) |
Uses the same handling as for the Referrer URL. |
| Referrer Keywords (session.referrer.Keywords) |
Uses the same handling as for the Referrer URL, plus the following: If the referrer is set and points to a popular search engine, such as
Google, Bing, or Yahoo, a rule condition evaluates on the query/keywords
string that the search engine submitted. For example, for www.google.com,
this type of condition evaluates on the URL parameter
The B2C Commerce instance maintains a list of popular search engines and their query/keywords string. |