User Feed - PureClarity/php-sdk GitHub Wiki
User Feed
Purpose
Sens customer (users) data to PureClarity.
Class
\PureClarity\Api\Feed\Type\User
Usage
$feedData = <data pulled from your system>
$feed = new \PureClarity\Api\Feed\Type\User($accessKey, $secretKey, $region);
$feed->start();
foreach ($feedData as $row) {
$feed->append($row);
}
$feed->end();
See Data feed overview for more details
Format
The following array keys must be present when passed to the append function:
Key | Description | Empty allowed |
---|---|---|
UserId | User ID | No |
For specific formatting of the above fields, and further fields you can add, see the user feed documentation