Loading customer attributes on a page or email

By using HAPI tags, you can include customer attribute values directly on the page.  The simplest form is to enter the following tag where you want the data to be displayed.  Simply replace attribute_name with the stored attribute name/group.


Upon rendering the page or email, it will pre-fill this attribute with the real value on file.

Alternatively you can also use the customer attributes in a conditional tag in HAPI as such: 

<div data-pv-component="text" data-pv-conditional="attribute(purchase) = Next 6 Months">
  Next 6 months


Have more questions? Submit a request


Please sign in to leave a comment.