Skip to content

Commit

Permalink
feat:docs add 's' parameter for user source tracking (#4958)
Browse files Browse the repository at this point in the history
  • Loading branch information
zjy365 authored Aug 12, 2024
1 parent 3515cdb commit 9caf45a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion docs/website/src/pages/self-hosting/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,11 @@ const HomeHeader = ({ isPc }: { isPc: boolean }) => {
{i18nMap[currentLocale].label}
</div>
)}
<a className="start-now-button" href={`${cloudUrl}?bd_vid=${bd_vid}`} target="_blank">
<a
className="start-now-button"
href={`${cloudUrl}?bd_vid=${bd_vid}&s=bd-sealos-self-hosting`}
target="_blank"
>
{i18nObj.startNow}
<div className="start-now-button-wrap"></div>
</a>
Expand Down
8 changes: 6 additions & 2 deletions docs/website/src/pages/self-hosting/product/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ export default function Product() {
</div>
<div className="flex justify-center mt-14">
<div
onClick={() => window.open(`https://license.sealos.io/signin?bd_vid=${bd_vid}`)}
onClick={() =>
window.open(`https://license.sealos.io/signin?bd_vid=${bd_vid}&s=bd-sealos-license`)
}
className="rounded-md cursor-pointer hover:no-underline text-[#FFFFFFCC] hover:text-[#FFFFFFCC] bg-[#B7D8FF26] flex justify-center items-center font-semibold text-lg gap-2 py-3 px-4 lg:text-sm"
>
<svg
Expand Down Expand Up @@ -89,7 +91,9 @@ export default function Product() {
backgroundColor: '#8EBAEE',
color: '#03080C'
}}
onClick={() => window.open(`https://license.sealos.io/signin?bd_vid=${bd_vid}`)}
onClick={() =>
window.open(`https://license.sealos.io/signin?bd_vid=${bd_vid}&s=bd-sealos-license`)
}
>
获取
</div>
Expand Down

0 comments on commit 9caf45a

Please sign in to comment.