fix(settings): include Google & Clarity tracking keys in getCategorySetting('seo') response
Deploy Canina / deploy (push) Successful in 32s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 6s

This commit is contained in:
parsa aghaei committed 2026-09-02 13:50:21 +03:30
1 parent 0b37825094
commit b766b01713
1 file changed
+36
+36
View File
@@ -487,6 +487,42 @@ export class SettingsService implements OnModuleInit {
storedObj.ogImageUrl ||
map.get('ogImageUrl') ||
'/assets/images/regenerated_image_1779109861747.png',
googleSiteVerification:
storedObj.googleSiteVerification ||
storedObj.google_site_verification ||
map.get('googleSiteVerification') ||
map.get('google_site_verification') ||
'',
googleAnalyticsId:
storedObj.googleAnalyticsId ||
storedObj.ga_measurement_id ||
map.get('googleAnalyticsId') ||
map.get('ga_measurement_id') ||
'',
googleTagManagerId:
storedObj.googleTagManagerId ||
storedObj.gtm_id ||
map.get('googleTagManagerId') ||
map.get('gtm_id') ||
'',
enableGoogleAnalytics:
storedObj.enableGoogleAnalytics !== undefined
? Boolean(storedObj.enableGoogleAnalytics)
: map.get('enableGoogleAnalytics') !== undefined
? map.get('enableGoogleAnalytics') === 'true'
: true,
enableGoogleTagManager:
storedObj.enableGoogleTagManager !== undefined
? Boolean(storedObj.enableGoogleTagManager)
: map.get('enableGoogleTagManager') !== undefined
? map.get('enableGoogleTagManager') === 'true'
: true,
clarityProjectId:
storedObj.clarityProjectId ||
storedObj.clarity_project_id ||
map.get('clarityProjectId') ||
map.get('clarity_project_id') ||
'',
};
}