govCMS / scaffold-tooling

6 stars 17 forks source link

Hardcoded Google Analytics settings is misleading #343

Open AlexSkrypnyk opened 2 days ago

AlexSkrypnyk commented 2 days ago

I've just spent an hour debugging GA code just to learn that an override is added in the dev mode:

https://github.com/govCMS/scaffold-tooling/blob/76ed778906b2f803400b830c0b035dc20da1be0f/drupal/settings/development.settings.php#L11

$config['google_analytics.settings']['account'] = 'UA-XXXXXXXX-YY';

Can the value be changed from UA-XXXXXXXX-YY to something else to at least give developers an idea that this is not a default value coming from the broken module.

thanks