Skip to content

Commit

Permalink
chore(companyInfo): remove deprecated analytics field (#600)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiazom authored Sep 11, 2024
1 parent c9829ae commit da65413
Showing 1 changed file with 0 additions and 40 deletions.
40 changes: 0 additions & 40 deletions studio/schemas/documents/companyInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,46 +73,6 @@ const companyInfo = defineType({
}),
],
},
{
// TODO: deprecated, drop support once important deployments have updated
deprecated: {
reason: "Analytics and Tracking is no longer used",
},
readOnly: true,
hidden: true,
name: "analyticsTracking",
type: "object",
title: "Analytics and Tracking",
description:
"Select your analytics service and add the tracking ID to monitor site traffic and user interactions.",
fields: [
defineField({
name: "service",
type: "string",
title: "Analytics Service",
description: "Select the analytics service you are using.",
options: {
list: [
{ title: "Google Analytics", value: "googleAnalytics" },
{ title: "Facebook Pixel", value: "facebookPixel" },
{ title: "Plausible", value: "plausible" },
{ title: "Fathom", value: "fathom" },
{ title: "Matomo", value: "matomo" },
{ title: "Splitbee", value: "splitbee" },
{ title: "Visitor Analytics", value: "visitorAnalytics" },
],
layout: "dropdown",
},
}),
defineField({
name: "trackingID",
type: "string",
title: "Tracking ID",
description:
"Enter the tracking ID for the selected analytics service.",
}),
],
},
{
name: "defaultSEO",
type: "object",
Expand Down

0 comments on commit da65413

Please sign in to comment.