Hello, @ChanuteJo. To make a correct query, double click this:
You will have this expression:
In it you can put your expression:
For adding the tracking log, do it inside the broadLog exist such as query, doing the same to have the trackinglog exist such as query:
Hope this helps!