Dashbraco configuration

Hi - does anyone know the “Dashbraco” package? I am trying to configure the “google analytics” tab, but I don’t know where I obtain this data, or what data exactly I need.

The general configuration is like the following. But what is “GoogleAnalyticsPropertyId” and the missing values under “GoogleCredentials”?

The only value I have from our customer is something they call “api key”. Where is the configuration for the “api key”?

"Dashbraco": {
  "DefaultWidgets": [ "Analytics", "PictureOfTheDay", "UnusedMedia", "EntriesActivites" ],
  "RefreshInterval": 300,
  "GoogleAnalyticsPropertyId": "99999999",
  "GoogleCredentials": {
    "type": "service_account",
    "project_id": "YOUR_PROJECT_ID",
    "private_key_id": "YOUR_PRIVATE_KEY_ID",
    "private_key": "-----BEGIN PRIVATE KEY-----\nYOUR_PRIVATE_KEY\n-----END PRIVATE KEY-----\n",
    "client_email": "YOUR_CLIENT_EMAIL",
    "client_id": "YOUR_CLIENT_ID",
    "auth_uri": "https://accounts.google.com/o/oauth2/auth",
    "token_uri": "https://oauth2.googleapis.com/token",
    "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
    "client_x509_cert_url": "YOUR_CERT_URL"
  },
  "Styles": {
    "PrimaryColor": "#F3F3F3",
    "SecondaryColor": "#F3F3F3",
    "TextColor": "#333333",
    "ActiveTabColor": "#A8322E",
    "InactiveTabColor": "#FF5733",
    "BackgroundColor": "#FFFFFF",
    "BorderColor": "#E0E0E0",
    "HoverColor": "#FF7043",
    "ButtonColor": "#3BCF0A",
    "ButtonTextColor": "#FFFFFF",
    "SuccessColor": "#28A745",
    "WarningColor": "#FFC107",
    "ErrorColor": "#C0392B",
    "LinkColor": "#007BFF",
    "LinkHoverColor": "#0056B3"
  }
}

Hi @AKQAPeterKirk

My best guess is that dashbraco is setup with another type of credentials and you would need to ask the client for the keys needed.
Or make a PR to dashbraco so it support api key as well

1 Like