From a656fdf67f101160a968a4e0de4a879921644681 Mon Sep 17 00:00:00 2001 From: Christoph Dyllick-Brenzinger Date: Thu, 8 Jan 2026 14:19:39 +0100 Subject: [PATCH] Wrong code to capture an event an assign it to a group The `$` is missing in this code example. Also the assignment of 'id:5' is misleading. First I thought this `id:` is mandatory, but in fact, you have to add here the identifier of your group, which could be a string or integer. --- example.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example.php b/example.php index d78c208..8c1f218 100644 --- a/example.php +++ b/example.php @@ -146,7 +146,7 @@ function identifyAndCaptureExamples() 'property1' => 'value', 'property2' => 'value', ], - 'groups' => ['company' => 'id:5'] + '$groups' => ['company' => 'id:5'] ]); // Add properties to the person