Supported display modes
Acquia Personalization supports all Drupal content entities that have at least one display mode or view mode.
Excluding pages from collecting data
Not all pages should collect data on your website or show personalized content. For example, personalizations have no rationale appearing on an admin page.
To prevent Personalization from collecting data on specific pages:
- Sign in to your website as an administrator.
- Click Configuration from the admin menu and select Acquia Personalization settings (admin/config/services/acquia-perz/settings).
- In the Data collections settings section, select the Visibility tab.
In the Path Patterns field, add the URL of each page on which you want to prevent data collection.
You can use a wildcard to exclude all URLs of a specific pattern.
- Click Save configuration.
Managing render roles
Render role is a feature for managing content access control and rendering when exporting entities to Personalization. With this feature, you can ensure that only the appropriate content is exported and the access to that content is properly controlled.
To use the Render role feature:
Navigate to the Manage Display tab of the bundle.
- Select the Available to Personalization Service checkbox.
- In the Render role dropdown, select the role that Personalization must use while showing the personalized content of this bundle.
- Click Save.
Acquia designates the Anonymous role as the default Render role for entities being exported to Personalization. This means only content that is viewable by the Anonymous role in Drupal will be exported.
When accessing the Render role feature, you see a list of user roles that are defined by your Drupal website. Each role has a set of permissions. These permissions determine the proper access to content and whether the Drupal configuration can allow updates.
Specifying entities for export
When you set a content type or bundle to export to Personalization, the system exports all its entities. Export of all entities may not be ideal if only a few entities are relevant to Personalization. Therefore, you can configure your site so that the entity form displays a checkbox to select specific entities to export.
To configure this feature for your site:
- Navigate to Structure > Content types.
- Choose the required content type and click Manage fields.
- Click Create a new field.
The system displays the Add field page. - In the Add a new field drop-down, select
Boolean
to create a boolean field. - In the Label field, enter a label name.
For example, Export this node to Acquia Personalization. - Click Save and continue.
- On the Export to Personalisation page, click Save field settings.
The system displays the Manage fields page. - Locate the boolean field label that you created, click Edit.
- In the "On" label field, set the value to
True
. - In the "Off" label field, set the value to
False
. - Select the Set default value checkbox.
- In the Default value section, select the boolean field checkbox to export the default value.
- Click Save settings.
- Click the Manage display tab.
- Click the Acquia Personalization section.
- Select the Make article available to the Acquia Personalization Service checkbox.
- In the Only export specific entities drop-down, select the boolean field.
Click Save.
When you create or edit content, you can choose whether to export it to Personalization.