Skip to content

Commit

Permalink
ACMS-3443: Add key to telemetry data to idenfy the new site installat…
Browse files Browse the repository at this point in the history
…ions.
  • Loading branch information
rajeshreeputra committed Apr 19, 2024
1 parent e48bbed commit 66df6f7
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,13 @@ private function getAcquiaCmsTelemetryData(): array {
];
}

// Add new site installation identification key to telemetry data.
$installationStatus = FALSE;
if (!$this->state->get('acquia_cms.telemetry.data_previously_sent', FALSE)) {
$installationStatus = TRUE;
}
$telemetryData['acquia_cms']['new_installation'] = $installationStatus;

return $telemetryData;
}

Expand Down

0 comments on commit 66df6f7

Please sign in to comment.