ConversionsAPI-Tag-for-GoogleTagManager icon indicating copy to clipboard operation
ConversionsAPI-Tag-for-GoogleTagManager copied to clipboard

Generate Fbp value on server

Open RahiReja opened this issue 1 year ago • 0 comments

Suppose someone wants to only implement conversion API not the pixel on their website. Then the current implementation of the Conversion API Tag don't allow to generate FBP on server. Because if we don't fire any event from browser side then the FBP cookie will not be stored and it will be not be passed to the server container. We also can't pass the "x-fb-ck-fbp" parameter from the browser side because it takes the value from first party cookie _fbp. So there will be a way to generate FBP cookie in the conversion API tag like FBC it is generating now. I have implemented the dynamic FBP cookie generation in the code for conversion API tag. I like to hear from you. If you like me to make any changes let me know pls.

Gmail- [email protected]

RahiReja avatar Sep 01 '23 12:09 RahiReja