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

Feature request: have the Tag template rewrite the FB cookies

Open sahava opened this issue 3 years ago • 14 comments

To help work with ITP's restrictions on JavaScript-set cookies, it would be useful if the Tag template rewrote the _fbc and _fbp cookies (if available in the request OR if fbclid is in the page location) in the HTTP response.

Tag templates can modify the response as well, so a setCookie() API call with those cookies would help extend the lifetime of FB's cookies especially on Safari and iOS browsers.

sahava avatar Mar 16 '21 20:03 sahava

Hello Simo,

Thanks for exploring our template and sharing feedback. We are tracking this internally and will provide an update in the next few days.

HeyMultiverse avatar Mar 18 '21 05:03 HeyMultiverse

Any update @HeyMultiverse? I have multiple people asking me about this. 🙂 thanks!

derekcavaliero avatar Apr 03 '21 16:04 derekcavaliero

@HeyMultiverse An update (as promised) would be welcome thanks!

terhoutd avatar Jun 15 '21 11:06 terhoutd

@HeyMultiverse Any update?

redareda9 avatar Nov 05 '21 08:11 redareda9

@HeyMultiverse Really looking forward to the update!

lukasdsh avatar Nov 11 '21 04:11 lukasdsh

Hello, are you guys still working on this?

ghostiq avatar Dec 09 '21 09:12 ghostiq

Hi, do you have any updates? Thanks.

sergio-krava avatar Mar 17 '22 09:03 sergio-krava

This already done. Commit https://github.com/facebookincubator/ConversionsAPI-Tag-for-GoogleTagManager/commit/9585a2d5078d02a269ec6ca830c03c68c63bc882

Bukashk0zzz avatar Mar 17 '22 09:03 Bukashk0zzz

Hi, thanks to all the genius for the great work! It seems like the feature is already done 3 months ago, but the latest version is still the Jan. 26th version. Any chance to roll out this feature to GTM recently? image

gloria-lin-office avatar Jun 21 '22 03:06 gloria-lin-office

half a year later and the GTM template still isn't updated to the latest version from GitHub. Did it get disconnected from the repo somehow??? image

koconnor3 avatar Jan 11 '23 21:01 koconnor3

It's becoming ridiculous.

Untitled design(26)

Anakin008 avatar Feb 07 '23 20:02 Anakin008

Any update on this?

roelcools avatar Feb 20 '23 12:02 roelcools

Did this never make its way to GTM because of invalid test names perhaps? I imported the latest template from the source and these tests are invalid because they contain ".

Set Meta cookies (fbp / fbc) if "extendCookies" checkbox is ticked Do not set Meta cookies (fbp / fbc) if "extendCookies" checkbox is ticked

Created a PR with the fixes here, not sure if this is why this template is not up to date in GTM though.

grebbanedvin avatar Feb 20 '23 13:02 grebbanedvin

I gave up on using the Meta provided tag template because they aren't really maintaining it. Stape.io has a better one and I've written my own on a few implementations with specific needs.

derekcavaliero avatar Jul 20 '23 22:07 derekcavaliero