Personified provides a block which operates clientside and is capable of displaying personalised content to the user. The block is configured to make requests on a JSON endpoint using parameters which are available in various clientside objects (localstorage, datalayer, cookie, parameters, window variables). The response is transformed using Handlebars templates. The DOM is then updated to show the results to the user. The user is therefore able to see content which has been personalised using state found in their device.
This module works best when:
- There are variables available in the client which can be used to customise the request URL. These variables can be created by other client side scripts such as trackers or other widgets which can write data out which can then be consumed.
- A JSON endpoint exists which can return content lists filtered by parameters, ie. Views with JSON output.
Personified is therefore not a plug and play block. There is some groundwork which needs to be laid in order for it to work. Once it has been setup it provides an easy to use way to pull back content from Drupal in a progressivly decoupled manner.
Troubleshooting
- Personified data blocks is displaying wrong data.Clear the Drupal cache, Varnish cache and PHP OPcache.
Project information
- Project categories: Content display
7 sites report using this module
- Created by murrayw on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.



