From 7ec9c488711359a79a3ab70e01cce162470c6aaf Mon Sep 17 00:00:00 2001 From: bsiggel Date: Mon, 19 Jan 2026 18:30:28 +0100 Subject: [PATCH] Add UTM parameters and related fields to CVmhErstgespraech entity and layouts --- .../i18n/de_DE/CVmhErstgespraech.json | 14 ++++- .../i18n/en_US/CVmhErstgespraech.json | 10 ++++ .../layouts/CVmhErstgespraech/detail.json | 42 +++++++++++++ .../layouts/CVmhErstgespraech/list.json | 4 ++ .../entityDefs/CVmhErstgespraech.json | 60 +++++++++++++++++++ data/config.php | 4 +- 6 files changed, 131 insertions(+), 3 deletions(-) diff --git a/custom/Espo/Custom/Resources/i18n/de_DE/CVmhErstgespraech.json b/custom/Espo/Custom/Resources/i18n/de_DE/CVmhErstgespraech.json index f6292705..f9a74eca 100644 --- a/custom/Espo/Custom/Resources/i18n/de_DE/CVmhErstgespraech.json +++ b/custom/Espo/Custom/Resources/i18n/de_DE/CVmhErstgespraech.json @@ -27,6 +27,18 @@ } }, "fields": { - "erfolgsaussichten": "Erfolgsaussichten" + "erfolgsaussichten": "Erfolgsaussichten", + "aquiseplattform": "Akquisitionsplattform", + "gclid": "Google Click ID", + "utm_source": "UTM Source", + "utm_medium": "UTM Medium", + "utm_campaign": "UTM Campaign", + "utm_term": "UTM Term", + "utm_content": "UTM Content", + "ad_group": "Ad Group", + "keyword": "Keyword", + "campaign_id": "Campaign ID", + "landing_page": "Landing Page", + "referrer": "Referrer" } } \ No newline at end of file diff --git a/custom/Espo/Custom/Resources/i18n/en_US/CVmhErstgespraech.json b/custom/Espo/Custom/Resources/i18n/en_US/CVmhErstgespraech.json index 520dcdc9..2d3dcfff 100644 --- a/custom/Espo/Custom/Resources/i18n/en_US/CVmhErstgespraech.json +++ b/custom/Espo/Custom/Resources/i18n/en_US/CVmhErstgespraech.json @@ -38,6 +38,16 @@ "eMailErstgesprch2": "E-Mail ErstgesprÃĪch II.", "aquiseplattform": "Aquiseplattform", "gclid": "gclid", + "utm_source": "UTM Source", + "utm_medium": "UTM Medium", + "utm_campaign": "UTM Campaign", + "utm_term": "UTM Term", + "utm_content": "UTM Content", + "ad_group": "Ad Group", + "keyword": "Keyword", + "campaign_id": "Campaign ID", + "landing_page": "Landing Page", + "referrer": "Referrer", "anzahlVermieter": "Anzahl Vermieter", "anzahlMieter": "Anzahl Mieter", "anzahlSonstigeVolljhrigeBewohner": "Anzahl sonst. Besitzer", diff --git a/custom/Espo/Custom/Resources/layouts/CVmhErstgespraech/detail.json b/custom/Espo/Custom/Resources/layouts/CVmhErstgespraech/detail.json index c3ebf954..3e555308 100644 --- a/custom/Espo/Custom/Resources/layouts/CVmhErstgespraech/detail.json +++ b/custom/Espo/Custom/Resources/layouts/CVmhErstgespraech/detail.json @@ -205,6 +205,48 @@ { "name": "gclid" } + ], + [ + { + "name": "utm_source" + }, + { + "name": "utm_medium" + } + ], + [ + { + "name": "utm_campaign" + }, + { + "name": "utm_term" + } + ], + [ + { + "name": "utm_content" + }, + { + "name": "ad_group" + } + ], + [ + { + "name": "keyword" + }, + { + "name": "campaign_id" + } + ], + [ + { + "name": "landing_page" + } + ], + [ + { + "name": "referrer" + } ] ], "dynamicLogicVisible": null, diff --git a/custom/Espo/Custom/Resources/layouts/CVmhErstgespraech/list.json b/custom/Espo/Custom/Resources/layouts/CVmhErstgespraech/list.json index 8d7ff5ea..70a88b5e 100644 --- a/custom/Espo/Custom/Resources/layouts/CVmhErstgespraech/list.json +++ b/custom/Espo/Custom/Resources/layouts/CVmhErstgespraech/list.json @@ -15,6 +15,10 @@ "link": true, "align": "left" }, + { + "name": "aquiseplattform", + "width": 16 + }, { "name": "assignedUser", "width": 16 diff --git a/custom/Espo/Custom/Resources/metadata/entityDefs/CVmhErstgespraech.json b/custom/Espo/Custom/Resources/metadata/entityDefs/CVmhErstgespraech.json index a835dd74..dafad0c0 100644 --- a/custom/Espo/Custom/Resources/metadata/entityDefs/CVmhErstgespraech.json +++ b/custom/Espo/Custom/Resources/metadata/entityDefs/CVmhErstgespraech.json @@ -278,6 +278,66 @@ "options": [], "isCustom": true }, + "utm_source": { + "type": "varchar", + "maxLength": 255, + "readOnly": true, + "isCustom": true + }, + "utm_medium": { + "type": "varchar", + "maxLength": 255, + "readOnly": true, + "isCustom": true + }, + "utm_campaign": { + "type": "varchar", + "maxLength": 255, + "readOnly": true, + "isCustom": true + }, + "utm_term": { + "type": "varchar", + "maxLength": 255, + "readOnly": true, + "isCustom": true + }, + "utm_content": { + "type": "varchar", + "maxLength": 255, + "readOnly": true, + "isCustom": true + }, + "ad_group": { + "type": "varchar", + "maxLength": 255, + "readOnly": true, + "isCustom": true + }, + "keyword": { + "type": "varchar", + "maxLength": 255, + "readOnly": true, + "isCustom": true + }, + "campaign_id": { + "type": "varchar", + "maxLength": 100, + "readOnly": true, + "isCustom": true + }, + "landing_page": { + "type": "varchar", + "maxLength": 500, + "readOnly": true, + "isCustom": true + }, + "referrer": { + "type": "varchar", + "maxLength": 500, + "readOnly": true, + "isCustom": true + }, "anzahlVermieter": { "type": "int", "required": true, diff --git a/data/config.php b/data/config.php index ef7d23b9..584b300b 100644 --- a/data/config.php +++ b/data/config.php @@ -349,8 +349,8 @@ return [ 0 => 'youtube.com', 1 => 'google.com' ], - 'cacheTimestamp' => 1768843459, - 'microtime' => 1768843459.149415, + 'cacheTimestamp' => 1768843792, + 'microtime' => 1768843792.806048, 'siteUrl' => 'https://crm.bitbylaw.com', 'fullTextSearchMinLength' => 4, 'appTimestamp' => 1768581056,