Expand my Community achievements bar.

GA4 cookies expiry session based issue

Avatar

Level 4

Hi Team,

 

I'm using the Global Site Tag (gtag.js) by Acronym extension in Adobe Launch and have configured it with prod measurement ID.

However, I'm encountering an issue where the GA4 cookies are showing session-based expiry. Notably, I haven't configured any specific settings related to cookie expiration within the extension.

 

Could anyone please help me understand why the cookies are being set up with session-based expiry?

 

Extension Cookies & User IDs Screen:

priyankagupta20_0-1732115812710.png

 

Site _ga Cookies screen:

priyankagupta20_1-1732115861156.png

 

2 Replies

Avatar

Community Advisor and Adobe Champion

Interesting... I am seeing the same thing on my implementations using this extension... but sites using GTM have a longer life... 

 

Let me see if I can find anything about this and get back to you

Avatar

Community Advisor and Adobe Champion

Ok, I am not suspicious that there is something broken in this extension... 

 

From the "auto" populated "730 days", I manually typed in "730"

Jennifer_Dungan_0-1732118652319.png

 

And checked my site in incognito... It's not "session" any more... but it's also not 2 years... the expiry is set to today and about 12 mins from the current time...

2024-11-20T16:14:21.000Z

 

I think that the "730" is actually the number of seconds, as opposed to days

 

So, I did a test, using "31540000", which should be 1 year (365 days) if I am correct....

 

The reran my test in a new incognito window, and the results:

2025-11-20T17:18:17.000Z

That's looking a lot better....

 

So to get 2 years, I would say manually use "63070000"