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:
parent
4cdcb9185c
commit
7546e04eef
1 changed files with 4 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue