Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

added new data to the GDPR request template

Blue Mouse70d01112d3bc
diff --git a/src/common/templates/en/gdpr_data_export.html b/src/common/templates/en/gdpr_data_export.html
index 47088a0ff..2d6342d39 100644
--- a/src/common/templates/en/gdpr_data_export.html
+++ b/src/common/templates/en/gdpr_data_export.html
@@ -85,7 +85,12 @@
<b>Summary report frequency:</b>&nbsp;{{user.reportFrequency}}<br />
<b>Account created at:</b>&nbsp;{{user.created}}<br />
<b>Account updated at:</b>&nbsp;{{user.updated}}<br />
- <b>Last report generation time:</b>&nbsp;{{user.exportedAt}}
+ <b>Last report generation time:</b>&nbsp;{{user.exportedAt}}<br />
+ <b>Last tier warning email sent on:</b>&nbsp;{{user.evWarningSentOn}}<br />
+ <b>Timezone:</b>&nbsp;{{user.timezone}}<br />
+ <b>Paddle: Subscription ID:</b>&nbsp;{{user.subID}}<br />
+ <b>Paddle: Update subscription URL:</b>&nbsp;{{user.subUpdateURL}}<br />
+ <b>Paddle: Cancel subscription URL:</b>&nbsp;{{user.subCancelURL}}
<div style="height: 10px; line-height: 10px; font-size: 8px;">&nbsp;</div>
<h3 style="margin-bottom: 5px;">Projects Information:</h3>
diff --git a/src/user/user.controller.ts b/src/user/user.controller.ts
index 7f35efaf9..251be328a 100644
--- a/src/user/user.controller.ts
+++ b/src/user/user.controller.ts
@@ -265,6 +265,10 @@ export class UserController {
created: dayjs(user.created).format('YYYY/MM/DD HH:mm:ss'),
updated: dayjs(user.updated).format('YYYY/MM/DD HH:mm:ss'),
exportedAt: _isNull(user.exportedAt) ? '-' : dayjs(user.exportedAt).format('YYYY/MM/DD HH:mm:ss'),
+ evWarningSentOn: _isNull(user.evWarningSentOn) ? '-' : dayjs(user.evWarningSentOn).format('YYYY/MM/DD HH:mm:ss'),
+ subID: user.subID || '-',
+ subUpdateURL: user.subUpdateURL || '-',
+ subCancelURL: user.subCancelURL || '-',
},
projects: _map(projects, project => ({
...project,