This feature is available only to Personalization Omnichannel subscribers.
The Personalization Push API allows you to receive information in real time when a visitor to your website enters a segment in which you’re particularly interested. In the Personalization interface, you can enter a URL and associate specific segments to this location, so that whenever a person enters those segments, a notification containing information about the person, touch, event and matched segments is sent to the URL that you have chosen.
In addition to configuring the Push API in Personalization, you will also need to set up a HTTP server to listen for notification messages (also called an endpoint). This setup will be different for different servers, but generally, you will open a port on a public domain and write a program to listen on that port. This program can be written in any language. Contact your service provider for more instructions on how to set up your server.
The notification messages that the Personalization service sends to an HTTP server will contain the following parameters:
| Parameter | Description | Example |
|---|---|---|
person | Contains values for the fields in the Omnichannel person table | anonymous_visitor, do_not_track |
identifiers | Contains values for the fields in the Omnichannel person_identifier table | person_identifier_type_id, person_id |
touch | Contains values for the fields in the Omnichannel touch table | engagement_score, number_of_page_views |
event | Contains values for the fields in the Omnichannel event table | keywords, page_url |
newMatchedSegments | Contains values for the fields in the Omnichannel matched_segment table | segment_id, and all of the new segments the visitor has entered during this touch |
currentMatchedSegments | Contains values for the fields in the Omnichannel matched_segment table | segment_id, and all of the segments the visitor was in before this touch, including segments the visitor reentered during this touch |
To configure the Personalization Push API:
Interval - Enter a number that corresponds with your selection in the Frequency criteria field: for example, if you want to push notifications triggered by the same website visitor every four hours, enter 4 in this field.
If you select event or touch in the Frequency criteria list, you do not need to enter a number in the Interval field.
The Personalization Push API will now begin sending notifications to your endpoint URL.
To delete a segment from the Segment Triggers table:
If this content did not answer your questions, try searching or contacting our support team for further assistance.
This feature is available only to Personalization Omnichannel subscribers.
The Personalization Push API allows you to receive information in real time when a visitor to your website enters a segment in which you’re particularly interested. In the Personalization interface, you can enter a URL and associate specific segments to this location, so that whenever a person enters those segments, a notification containing information about the person, touch, event and matched segments is sent to the URL that you have chosen.
In addition to configuring the Push API in Personalization, you will also need to set up a HTTP server to listen for notification messages (also called an endpoint). This setup will be different for different servers, but generally, you will open a port on a public domain and write a program to listen on that port. This program can be written in any language. Contact your service provider for more instructions on how to set up your server.
The notification messages that the Personalization service sends to an HTTP server will contain the following parameters:
| Parameter | Description | Example |
|---|---|---|
person | Contains values for the fields in the Omnichannel person table | anonymous_visitor, do_not_track |
identifiers | Contains values for the fields in the Omnichannel person_identifier table | person_identifier_type_id, person_id |
touch | Contains values for the fields in the Omnichannel touch table | engagement_score, number_of_page_views |
event | Contains values for the fields in the Omnichannel event table | keywords, page_url |
newMatchedSegments | Contains values for the fields in the Omnichannel matched_segment table | segment_id, and all of the new segments the visitor has entered during this touch |
currentMatchedSegments | Contains values for the fields in the Omnichannel matched_segment table | segment_id, and all of the segments the visitor was in before this touch, including segments the visitor reentered during this touch |
To configure the Personalization Push API:
Interval - Enter a number that corresponds with your selection in the Frequency criteria field: for example, if you want to push notifications triggered by the same website visitor every four hours, enter 4 in this field.
If you select event or touch in the Frequency criteria list, you do not need to enter a number in the Interval field.
The Personalization Push API will now begin sending notifications to your endpoint URL.
To delete a segment from the Segment Triggers table:
If this content did not answer your questions, try searching or contacting our support team for further assistance.