docs: surface the install-with-AI prompt on the iOS install page, refresh Meta Ads screenshot - #280
Merged
Merged
Conversation
The one-line agent prompt only lived on the superwall.com homepage, so anyone landing straight on the install page (search, a shared link, the sidebar) started hand-rolling SPM/CocoaPods steps without ever learning the agent path existed. Reported by a customer who hit exactly this. Adds an <InstallWithAI> component, registered globally so any SDK's install page can drop it in with one line, and wires it into iOS above the manual steps. The platform prop keeps the prompt specific, so iOS reads "into my iOS app" rather than the homepage's generic "my app". Routes its link through normalizeDocsInternalHref + TanStack Link like <Card> does; a raw <a> drops the /docs basePath and 404s. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The generated ad link moved to install.link and the page copy was updated, but this screenshot still showed the old mmp.superwall.com domain. Resized to 2000px wide per the repo image rule; lands at 2000x1222, the same dimensions as the image it replaces, so the page layout is unchanged. Note mmp_meta_ad_website_url.jpg (Step 5) is still stale, showing the old domain in both the Website URL field and the ad preview. Needs a fresh capture. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Closes the gap flagged in the previous commit: the Step 5 ad-level screenshot still showed mmp.superwall.com in the Website URL field and as the display domain in the ad preview. Resized to 2000px wide per the repo image rule. Note the aspect ratio differs from the capture it replaces (2000x1163 vs 2000x1918), so the image renders shorter on the page. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
superwall-docs | 340512f | Commit Preview URL Branch Preview URL |
Aug 26 2026, 07:33 PM |
…tall.link Third and last stale capture on the page. Easy to miss because the alt text describes the "Events to send" card, but the screenshot extends far enough down to include the Ads links section below it, which still showed mmp.superwall.com. Audited all nine mmp_* images on the page; the other six contain no ad link and needed no change. Resized to 2000px wide per the repo image rule. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Two unrelated docs changes, split into commits.
1. Install-with-AI prompt on the iOS install page
The one-line agent prompt (
Install Superwall into my app using the skill at github.com/superwall/skills) only lived in the INSTALL WITH AI section of the superwall.com homepage. Anyone landing straight on the install page from search, a shared link, or the sidebar never saw it and started hand-rolling SPM/CocoaPods steps.This came from customer feedback. They only knew the prompt existed because they'd browsed the homepage days earlier, hit enough friction during setup to abandon the install, and told us so.
src/components/InstallWithAI.tsx, registered globally so any SDK install page can drop it in with one line.platformprop keeps the prompt specific: iOS renders "into my iOS app" rather than the homepage's generic "my app".useCopyButtonhook andGridIconrather than a bespoke copy button.One thing worth a reviewer's eye: the line "Prefer to do it by hand? The steps are below" is mine, not the homepage's. It's there to keep the block from reading as though the manual path is being deprecated.
2. Meta Ads screenshots refreshed for
install.linkThe generated ad link moved to
install.linkand the page copy was updated, but the screenshots still showedmmp.superwall.com. I audited all ninemmp_*images on the page rather than only the obvious ones; three were stale and are now replaced, each resized to 2000px wide per the repo image rule.mmp_meta_events_to_sendmmp_meta_ad_linksmmp_meta_ad_website_urlThe remaining six (
mmp_performance_marketing_section,mmp_meta_dataset_token,mmp_meta_events_confirmed,mmp_meta_campaign_objective,mmp_meta_adset_conversion,mmp_advertising_chart_section) contain no ad link and needed no change. No other docs page carries MMP screenshots.The Step 3 one was the easiest to miss: its alt text describes the "Events to send" card, but the capture extends far enough down the page to include the Ads links section underneath, where the old domain was still visible.
The page copy was already clean;
mmp.superwall.comappears nowhere incontent/. Only the images lagged.Two notes for the reviewer
Step 5 shows a different link shape than Steps 3 and 4. Steps 3 and 4 both show
https://install.link/link/pk_...(with/link/); Step 5 showshttps://install.link/pk_...(without). The copy only ever references the bareinstall.linkdomain for the allow list, so nothing in the docs contradicts either, but it's worth confirming which is current.Unrelated product/docs mismatch, not fixed here. The docs tell people to allow-list
install.link(lines 101 and 244). The dashboard's own instructional text, visible inmmp_meta_dataset_token.jpgand in the fresh Step 3 capture, says "Type the domain superwall.com and add it to the allow list." That's current product copy rather than a stale screenshot, so one of the two is wrong. It gates whether Meta accepts the traffic, so probably worth apaywall-nextfix.Verification
Install Superwall into my iOS app using the skill at github.com/superwall/skills, confirmed by interceptingclipboard.writeTextrather than by eye. Button flips to "Copied".<a>rendered/dashboard/guides/superwall-skillwithout the/docsbasePath and would have 404'd. Now routed throughnormalizeDocsInternalHref+ TanStackLink, matching<Card>, and resolving to/docs/dashboard/guides/superwall-skill.bun test64/64.oxlint0 errors, no new warnings.bun run build:cfgreen, all pages prerendered, search index written.types:checkreports 256 errors, but cleanmainreports the identical 256. None are new. Pre-existing debt worth its own pass.Rebased onto current
main(#173).🤖 Generated with Claude Code