FB SS Tag does not set _fb cookies unless fbclid is added in the url

Hello

I’m working on a SS only FB CAPI setup.

When I test the setup, I noticed that FB cookies are set only if fbclid is present in the url.

1

I enabled the option “Generate _fbp cookie if it not exist” on the FB CAPI tag. No difference.

This behaviour doesn’t match the client side FB tag, which sets cookies even if the fbclid is not present.

Is this a bug? How can I make the SS tag always sets cookie?

Hello,

I can’t replicate your behaviour in our tests environments, is there perhaps an URL where I can take a look at this?

Also, are you using the latest version of the tag? Here’s the piece of code from template that handles this, only _fbc is affected by the presence of fbclid in URL: