The google analytics integration object
The Google Analytics 4 property a workspace sends its visits to.
apiSecretSet booleanWhether a Measurement Protocol API secret is stored. The secret itself is never returned.
createdAt string (date-time)When the integration was connected.
delivery objectWhere, when and what it sends.
8 child attributes
directoryIds array of stringWhere: directories it applies to, with every directory below them.
linkIds array of stringWhere: links it applies to. All three lists empty means every link.
moments array of enumWhen: the moments of a visit it sends at. Ignored when stepIds is set.
stepIds array of stringWhen: send only when a visit reaches one of these workflow steps.
tagIds array of stringWhere: tags it applies to.
targetsGone boolean Every link, directory and tag chosen has since been deleted, so this covers nothing. The lists above are then empty without meaning every link.
visitorAttributeKeys array of stringWhat: with SELECTED, the attribute keys sent, such as "$email" or "rating".
visitorData enumWhat: how much of what is known about the visitor it sends.
Allowed values
INTEGRATION_VISITOR_DATA_NONEOnly the visit: the link, the step, the device and the place.INTEGRATION_VISITOR_DATA_ALLThe visit, and every attribute known about the visitor.INTEGRATION_VISITOR_DATA_SELECTEDThe visit, and only the attributes named in visitorAttributeKeys.
lastError stringThe last error met sending events, cleared by the next success.
lastErrorAt string (date-time)When that error happened.
lastSentAt string (date-time)When an event was last accepted by Google Analytics.
measurementId stringGA4 Measurement ID, e.g. "G-ABC123DEF4".
updatedAt string (date-time)When it was last changed.
visitorAttributeKeys array of stringThe attribute keys sent, when visitorAttributesEnabled is on. Empty sends every attribute that is not personal data, except free-text answers, which are sent only when their key is listed here.
visitorAttributesEnabled booleanWhether the visitor's data captured at a step (form answers such as a rating, custom visitor attributes) is added to its event as parameters named lb_<key>. Personal data is never sent.
{
"apiSecretSet": true,
"createdAt": "2026-03-14T09:30:00Z",
"delivery": {
"directoryIds": [
"d87a9b30-5c8b-4d4e-9fd3-5f5f5f5f5f5f"
],
"linkIds": [
"1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed"
],
"moments": [
"KIND_ENTRY",
"KIND_INTERACTION"
],
"stepIds": [
"987fcdeb-a321-45e6-b789-123456789012"
],
"tagIds": [
"7c9e6679-7425-40de-944b-e07fc1f90ae7"
],
"targetsGone": false,
"visitorAttributeKeys": [
"$email",
"rating"
],
"visitorData": "INTEGRATION_VISITOR_DATA_SELECTED"
},
"lastError": "Google Analytics refused the event: the API secret is not valid",
"lastErrorAt": "2026-03-20T18:22:41Z",
"lastSentAt": "2026-03-21T12:47:13Z",
"measurementId": "G-7KQ2M9X4PL",
"updatedAt": "2026-03-18T16:05:00Z",
"visitorAttributeKeys": [
"rating",
"table_number"
],
"visitorAttributesEnabled": true
}