feat: complete Google Search Console and Analytics integration across admin panel and storefront
Deploy Canina / deploy (push) Successful in 2m14s
E2E Playwright Tests / Run Full E2E & Security Suites (push) Failing after 7s

This commit is contained in:
parsa aghaei committed 2026-09-02 11:34:10 +03:30
1 parent 1fb5de764c
commit f0457b5748
16 files changed
+7698 -7210

No files matched your search

+22
View File
@@ -571,6 +571,28 @@ export class SettingsService implements OnModuleInit {
if (obj.ogImageUrl) {
updates['ogImageUrl'] = String(obj.ogImageUrl);
}
if ('googleSiteVerification' in obj) {
updates['googleSiteVerification'] = String(obj.googleSiteVerification ?? '');
updates['google_site_verification'] = String(obj.googleSiteVerification ?? '');
}
if ('googleAnalyticsId' in obj) {
updates['googleAnalyticsId'] = String(obj.googleAnalyticsId ?? '');
updates['ga_measurement_id'] = String(obj.googleAnalyticsId ?? '');
}
if ('googleTagManagerId' in obj) {
updates['googleTagManagerId'] = String(obj.googleTagManagerId ?? '');
updates['gtm_id'] = String(obj.googleTagManagerId ?? '');
}
if ('enableGoogleAnalytics' in obj) {
updates['enableGoogleAnalytics'] = String(Boolean(obj.enableGoogleAnalytics));
}
if ('enableGoogleTagManager' in obj) {
updates['enableGoogleTagManager'] = String(Boolean(obj.enableGoogleTagManager));
}
if ('clarityProjectId' in obj) {
updates['clarityProjectId'] = String(obj.clarityProjectId ?? '');
updates['clarity_project_id'] = String(obj.clarityProjectId ?? '');
}
if (Object.keys(updates).length > 0) {
await this.updateBulkUiTexts(updates);