Improve General tab guidance and move custom domain to Advanced.#35
Merged
adriaandotcom merged 3 commits intoJun 18, 2026
Merged
Conversation
This reduces setup confusion by keeping custom domain under Advanced, adds clearer onboarding copy and dashboard links in General, hides Save Changes on that informational tab, and updates browser tests for the revised tab behavior.
adriaandotcom
requested changes
Jun 18, 2026
adriaandotcom
left a comment
Contributor
There was a problem hiding this comment.
Nice, some copy changes.
Comment on lines
+177
to
+179
| <a class="text-primary hover:underline" target="_blank" href="<?php echo esc_url(self::SIGNUP_URL); ?>"> | ||
| simpleanalytics.com | ||
| </a>. |
Contributor
There was a problem hiding this comment.
This prevents a space between link and dot:
Suggested change
| <a class="text-primary hover:underline" target="_blank" href="<?php echo esc_url(self::SIGNUP_URL); ?>"> | |
| simpleanalytics.com | |
| </a>. | |
| <a class="text-primary hover:underline" target="_blank" href="<?php echo esc_url(self::SIGNUP_URL); ?>">simpleanalytics.com</a>. |
Comment on lines
+160
to
+165
| This plugin adds Simple Analytics to your WordPress site and collects pageviews in a privacy-first way. | ||
| Your stats appear in | ||
| <a class="text-primary hover:underline" target="_blank" href="<?php echo esc_url(self::DASHBOARD_URL); ?>"> | ||
| your dashboard | ||
| </a> | ||
| within minutes. |
Contributor
There was a problem hiding this comment.
Some people expect the dashboard within Wordpress, so this makes it more clear:
Suggested change
| This plugin adds Simple Analytics to your WordPress site and collects pageviews in a privacy-first way. | |
| Your stats appear in | |
| <a class="text-primary hover:underline" target="_blank" href="<?php echo esc_url(self::DASHBOARD_URL); ?>"> | |
| your dashboard | |
| </a> | |
| within minutes. | |
| The plugin collects pageviews in a privacy-first way, without cookies or personal data. | |
| Your stats will appear in | |
| <a class="text-primary hover:underline" target="_blank" href="<?php echo esc_url(self::DASHBOARD_URL); ?>"> | |
| the Simple Analytics dashboard | |
| </a> | |
| within a few minutes. |
| ?> | ||
| <div class="mb-7" style="max-width: 64ch;"> | ||
| <p class="text-sm text-gray-700"> | ||
| Thanks for choosing Simple Analytics. |
Contributor
There was a problem hiding this comment.
Suggested change
| Thanks for choosing Simple Analytics. | |
| Simple Analytics is now added to your WordPress site. |
Comment on lines
+168
to
+169
| To exclude your own visits, open the "Ignore Rules" tab and enable the option for logged-in admins. | ||
| You can also add your own IP there. |
Contributor
There was a problem hiding this comment.
Suggested change
| To exclude your own visits, open the "Ignore Rules" tab and enable the option for logged-in admins. | |
| You can also add your own IP there. | |
| To avoid tracking your own visits, go to the "Ignore Rules" tab and ignore visits from logged-in admins. | |
| You can also add your own IP address there. |
Comment on lines
+172
to
+173
| Want automated events, like downloads, outbound link clicks, and email clicks, collected for you, | ||
| check "Collect automated events" in the "Events" tab. |
Contributor
There was a problem hiding this comment.
Suggested change
| Want automated events, like downloads, outbound link clicks, and email clicks, collected for you, | |
| check "Collect automated events" in the "Events" tab. | |
| To automatically track downloads, outbound links, and email clicks, go to the "Events" tab and enable "Collect automated events". |
| check "Collect automated events" in the "Events" tab. | ||
| </p> | ||
| <p class="mt-4 text-sm text-gray-700"> | ||
| No account yet? Sign up at |
Contributor
There was a problem hiding this comment.
Suggested change
| No account yet? Sign up at | |
| No account yet? Create one at |
| <a class="text-primary hover:underline" target="_blank" href="<?php echo esc_url(self::SIGNUP_URL); ?>"> | ||
| simpleanalytics.com | ||
| </a>. | ||
| The trial includes almost all features, then you can choose a free or paid plan. |
Contributor
There was a problem hiding this comment.
Suggested change
| The trial includes almost all features, then you can choose a free or paid plan. | |
| You can start with a free trial and choose a free or paid plan later. |
| target="_blank" | ||
| class="inline-flex items-center rounded bg-primary px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-red-500" | ||
| > | ||
| Visit your analytics dashboard |
Contributor
There was a problem hiding this comment.
Suggested change
| Visit your analytics dashboard | |
| Open dashboard |
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This reduces setup confusion by keeping custom domain under Advanced, adds clearer onboarding copy and dashboard links in General, hides Save Changes on that informational tab, and updates browser tests for the revised tab behavior.
Summary
Closes #18
Moved the
Custom Domainsetting from theGeneraltab to theAdvancedtab to prevent accidental misconfiguration. Added onboarding content and dashboard/signup links to theGeneraltab, updated the header dashboard link URL, and hidSave Changeson the informationalGeneraltab.Security implications
Testing
Validated with focused Playwright browser tests:
adds a script by defaultshows guidance on general tab and keeps custom domain in advanced tabadds a script with a custom domain nameAlso ran
php -lfor the updated UI PHP file.Checklist