Skip to content

Commit

Permalink
Merge pull request #301 from virtualidentityag/feat/add-referer-OB-4578
Browse files Browse the repository at this point in the history
feat: add referer to statistics file
  • Loading branch information
RunzelRosinchen authored Aug 7, 2023
2 parents c01e42c + 38b40c0 commit 187a5f4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/Statistic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const Statistic = () => {
'relevant',
'plz',
'betend',
'referer',
]);
registrationStatistics.forEach(function createCsvLine(entry) {
const csvLine: string[] = [];
Expand All @@ -60,6 +61,7 @@ export const Statistic = () => {
csvLine.push(entry.mainTopicInternalAttribute || '');
csvLine.push(entry.postalCode);
csvLine.push(entry.endDate);
csvLine.push(entry.referer || '');

data.push(csvLine);
});
Expand Down
1 change: 1 addition & 0 deletions src/types/registrationData.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ export interface RegistrationStatistics {
mainTopicInternalAttribute: string | null;
postalCode: string;
endDate: string;
referer: string | null;
}

0 comments on commit 187a5f4

Please sign in to comment.