Using the cookie extractor enrichment with sGTM-Templates

Hi!

We switched to using the Snowplow sGTM templates and I was trying to setup the cookie extractor enrichment. In my events table there isn’t any data from this enrichment showing up unfortunately.

I think I traced it back to sGTM. Are the cookies in the request header forwarded by the Snowplow client?

Thank you!

Hello @volderette and thank you for reporting this!

If i understand correctly you are using sGTM to relay raw Snowplow events to the Snowplow collector using the Snowplow Client and Tag (please do shout if i misunderstood).

If so, then you are right that at the moment the Snowplow Tag does not forward the cookies in the request header. However, this would be a great feature to implement (GitHub issue opened)!

1 Like

Thank you @Ada, yes that is exactly the setup we are using. Thanks for creating the Github issue!

1 Like

Hi @volderette !

The Snowplow Tag for GTM-SS v0.4.0 has just been released, which also allows forwarding selected cookies in the request headers. It is now possible to use the cookie extractor enrichment along with sGTM!

Once again, thank you very much for the suggestion!

2 Likes

Hi @Ada!
Wow, thank you so much for adding this so fast!

2 Likes