Enabling the Cookie Contents target
In order to use the Cookie Contents target in marketing Web activities, modify the front end storefront code to process the required cookies and pass them to the marketing engine. This additional code retrieves the specified cookie name and value for each customer who views the page and passes these parameters to the marketing services. The marketing services will display the targeted marketing content to the customer if the cookie name and value matches the criteria set for the target in the Web activity.
Before you begin
- The name of the cookie used in the target.
- The name and location of the JavaServer Page (.JSP) file for the e-Marketing Spot used in the Web Activity when using JSP-based stores.
- The name and location of the TypeScript (.TSX) file for the e-Marketing Spot used in the Web Activity when using React-based stores.
Procedure
- For the Aurora Starter store, refer to Enabling the Cookie Contents target in JSP-based stores to enable target cookie content.
- For the React-based reference store, refer to ../../management-center/tasks/tsbtarcookie_TSX.html to enable target cookie content.