0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-27 21:39:16 -05:00

refactor(ui): add utm params to powered by link (#3990)

This commit is contained in:
Gao Sun 2023-06-08 22:33:10 +08:00 committed by GitHub
parent 4cdcb9185c
commit 7546e04eef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,11 +8,10 @@ import LogtoLogoShadow from '@/assets/icons/logto-logo-shadow.svg';
import * as styles from './index.module.scss';
const logtoUrl = new URL(
`https://logto.io?${new URLSearchParams({
src: window.location.href,
}).toString()}`
);
const logtoUrl = `https://logto.io/?${new URLSearchParams({
utm_source: 'sign_in',
utm_medium: 'powered_by',
}).toString()}`;
type Props = {
className?: string;