Skip to content

Commit edb7d71

Browse files
docs: add subscribe CTA to the Home Support section (#914)
* feat(home): add subscribe CTA to the Support section Adds a subscription call-to-action at the top of the Home 'Support us!' section, linking to the new activitywatch.net/subscribe page with a ?src=inapp-home tag for click attribution (destination-instrumented; the app phones home nothing). Patronage framing: from $5/mo, every feature stays free. New i18n keys (home.subscribeIntro, home.subscribeCta) added to all locales; non-en use the English string as a placeholder for translators. * feat(home): route subscribe CTA through /go/ for click instrumentation Now that activitywatch.net/go/ is live, point the Home subscribe CTA at /go/?src=inapp-home instead of /subscribe?src=inapp-home directly. The redirect records a nudge_click event (per-src) then forwards to /subscribe — a direct link only yields a pageview, so this is what actually captures the click.
1 parent 749585f commit edb7d71

6 files changed

Lines changed: 18 additions & 0 deletions

File tree

‎src/i18n/locales/de.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,9 @@ export default {
191191
spreadFollow: 'Folgen Sie uns und teilen Sie auf',
192192
spreadStar: 'Geben Sie uns einen Stern auf',
193193
supportTitle: 'Unterstützen Sie uns!',
194+
subscribeIntro:
195+
'The best way to keep ActivityWatch maintained is a subscription — from $5/month, every feature stays free, cancel anytime.',
196+
subscribeCta: 'Support ActivityWatch →',
194197
support1: 'Gefällt Ihnen ActivityWatch? Helfen Sie uns, Ihnen zu helfen — spenden Sie über:',
195198
support2: 'Mehr Infos auf der',
196199
donationPage: 'Spendenseite der Website',

‎src/i18n/locales/en.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@ export default {
190190
spreadFollow: 'Follow us and spread the word on',
191191
spreadStar: 'Star us on',
192192
supportTitle: 'Support us!',
193+
subscribeIntro:
194+
'The best way to keep ActivityWatch maintained is a subscription — from $5/month, every feature stays free, cancel anytime.',
195+
subscribeCta: 'Support ActivityWatch →',
193196
support1:
194197
'Do you like ActivityWatch? Has it helped you? Help us help you by donating! You can donate to us via:',
195198
support2: 'For more info, please visit the',

‎src/i18n/locales/ru.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ export default {
189189
spreadFollow: 'Следите и делитесь в',
190190
spreadStar: 'Поставьте звезду на',
191191
supportTitle: 'Поддержите нас!',
192+
subscribeIntro:
193+
'The best way to keep ActivityWatch maintained is a subscription — from $5/month, every feature stays free, cancel anytime.',
194+
subscribeCta: 'Support ActivityWatch →',
192195
support1: 'Нравится ActivityWatch? Помогите нам помочь вам — пожертвование через:',
193196
support2: 'Подробнее — на',
194197
donationPage: 'странице пожертвований на сайте',

‎src/i18n/locales/uk.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ export default {
189189
spreadFollow: 'Слідкуйте та поширюйте в',
190190
spreadStar: 'Поставте зірку на',
191191
supportTitle: 'Підтримайте нас!',
192+
subscribeIntro:
193+
'The best way to keep ActivityWatch maintained is a subscription — from $5/month, every feature stays free, cancel anytime.',
194+
subscribeCta: 'Support ActivityWatch →',
192195
support1: 'Подобається ActivityWatch? Допоможіть нам допомогти вам — пожертва через:',
193196
support2: 'Детальніше — на',
194197
donationPage: 'сторінці пожертв на сайті',

‎src/i18n/locales/zh-CN.ts‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ export default {
185185
spreadFollow: '关注我们并传播:',
186186
spreadStar: '给我们加星:',
187187
supportTitle: '支持我们!',
188+
subscribeIntro:
189+
'The best way to keep ActivityWatch maintained is a subscription — from $5/month, every feature stays free, cancel anytime.',
190+
subscribeCta: 'Support ActivityWatch →',
188191
support1:
189192
'你喜欢 ActivityWatch 吗?它帮到你了吗?通过捐赠帮助我们继续帮助你!你可以通过以下方式捐赠:',
190193
support2: '更多信息请访问',

‎src/views/Home.vue‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ div
4040

4141
div.col-md-6
4242
h4 {{ $t('home.supportTitle') }}
43+
p
44+
| {{ $t('home.subscribeIntro') }}
45+
| #[a(href="https://activitywatch.net/go/?src=inapp-home") {{ $t('home.subscribeCta') }}]
4346
p
4447
| {{ $t('home.support1') }}
4548
ul

0 commit comments

Comments
 (0)