Nested schema with pixel tracker


is it possible to use nested fields with the pixel tracker? I’ve built a schema which contains multiple objects but I’m unsure how to use this with the pixel tracker…

Also a heads up: The docs link to a wizard, which is not available anymore it seems:


I did some more research and I think I have solved it.

This is an example of the nested data I want to send:

  "selligent_event_id": "757c7628-181c-423b-9073-f57101eb5111",
  "device": {
    "useragent": "Mozilla/5.0 (Windows 98; Win 9x 4.90) AppleWebKit/5342 (KHTML, like Gecko) Chrome/36.0.804.0 Mobile Safari/5342",
    "device": "Mobile",
    "os": "Windows"
  "user": {
    "sso_id": "1234213",
    "selligent_id": "xsfd2q34"
  "newsletter": {
    "timestamp": "2019-09-26T07:58:30.996+0200",
    "newsletter_id": "xx1",
    "mailing_list": "mailliste 1"
  "marketing": {
    "source": "newsletter",
    "campaign": "mz_regensburg_daily",
    "test_id": "A"

Using square brackets, I can define the nested schema:


The final HTTP-Request would then look like this:

<img src=" &marketing%5Btest_id%5D=A">

Would this be a feasible solution? I couldn’t verify it yet on a demo instance of Snowplow.

Yeah that should work fine, /com.snowplowanalytics.iglu/v1 returns a 1x1 gif just like the pixel tracker.

You’re using the Iglu Webhook there which is designed for tracking a self describing event just like this.

1 Like