PHP Класс SevenShores\Hubspot\Resources\Events

Наследование: extends Resource
Показать файл Открыть проект

Открытые методы

Метод Описание
trigger ( string $hubId, string $eventId, string $contactEmail = null, float $contactRevenue = null, array $contactProperties = [] ) : Response Trigger a custom event.

Описание методов

trigger() публичный Метод

This only works for enterprise accounts.
public trigger ( string $hubId, string $eventId, string $contactEmail = null, float $contactRevenue = null, array $contactProperties = [] ) : Response
$hubId string Your HubSpot portal ID ("Hub ID"). You can find your Hub ID in the footer of the HubSpot UI, or in the URL. For example, in this URL: "https://app.hubspot.com/reports/56043/events/" your Hub ID is "56043".
$eventId string
$contactEmail string Optional - contact email.
$contactRevenue float Optional - the monetary value this event means to you.
$contactProperties array Optional - array of new contact properties.
Результат SevenShores\Hubspot\Http\Response