Skip to content

Commit 8ba3785

Browse files
Update src/hooks/custom-hooks/useOAuth.ts
add gclid Co-authored-by: Shayan Khaleghparast <[email protected]>
1 parent 1fd7abe commit 8ba3785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/custom-hooks/useOAuth.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const useOAuth = (): UseOAuthReturn => {
3131

3232
const WSLogoutAndRedirect = async () => {
3333
await logout();
34-
removeCookies('affiliate_token', 'affiliate_tracking', 'utm_data', 'onfido_token');
34+
removeCookies('affiliate_token', 'affiliate_tracking', 'utm_data', 'onfido_token', 'gclid');
3535
window.open(oauthUrl, '_self');
3636
};
3737
const { OAuth2Logout: oAuthLogout } = useOAuth2(oAuthGrowthbookConfig, WSLogoutAndRedirect);

0 commit comments

Comments
 (0)