์ฌ๋ฌ ๊ตญ๊ฐ๋ฅผ ์ํ ๋์ ์ดํ๋ฆฌ์์ดํธ ๋๋ฉ ํ์ด์ง ๋ง๋ค๊ธฐ
์ฝํ ์ธ ๋ชฉ๋ก
- ๐ฏ ์ ์ ๊ฐ์
- โ HTML + JS ์ฝ๋ (์ฆ์ ์ฌ์ฉ ๊ฐ๋ฅ)
- ๐ง ์ด๋ป๊ฒ ์๋ํ๋์?
- ๐ก ์ ์ฉํ ์ด์
- ๐งช ์์ URL
- ๐ ๋ค์ ๋จ๊ณ
- ChatGPT์์ ๋๋ฉ ํ์ด์ง ์ฌ์ฉ์ ์ ์
- โก ํ์ด์ง ๋ฐฐํฌ ๋ฐฉ๋ฒ
- ์ต์ 1. Selldone ๊ฐ๊ฒ์ ๋ฐฐํฌ:
- ์ต์ 2. Cloudflare Pages์ ๋ฌด๋ฃ๋ก ๋ฐฐํฌ (๊ถ์ฅ):
- ๐บ๐ธ en.selldone.com
- ๐ฌ๐ง uk.selldone.com
- ๐ฉ๐ฐ da.selldone.com
- ๐ซ๐ท fr.selldone.com
๐ฏ ์ ์ ๊ฐ์
- ๋จ์ํ๋ฉด์๋ ์ธ๋ จ๋ ๋๋ฉ ํ์ด์ง ๊ตฌ์ฑ ์์:
- ํค๋ฉ: "Exalted Fashion"
- ๋ถ์ : "์ผํ์ ์์ํ ๋๋ผ๋ฅผ ์ ํํ์ธ์..."
- ๊ตญ๊ฐ์ ๊น๋ฐ์ด ํฌํจ๋ ๋ค ๊ฐ์ ํฐ ๋๋ผ ๋ฒํผ
- URL์์ ์๋์ผ๋ก ์ฒ๋ฆฌ๋๋ ์ถ์ฒ ์ฝ๋
โ HTML + JS ์ฝ๋ (์ฆ์ ์ฌ์ฉ ๊ฐ๋ฅ)
๋ค์ ์ฝ๋๋ฅผ .html ํ์ผ๋ก ์ ์ฅํ์ฌ ์๋ฒ์ ํธ์คํ ํ ์ ์์ต๋๋ค:HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Selldone Fashion</title>
<style>
body {
font-family: 'Inter', sans-serif;
background-color: #f9f9f9;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
color: #222;
}
main {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 2rem 1rem;
}
h1 {
font-size: 2.5rem;
margin-bottom: 0.5rem;
}
p.instruction {
font-size: 1.1rem;
margin-bottom: 2rem;
color: #555;
}
.buttons {
display: flex;
flex-direction: column;
gap: 1rem;
width: 100%;
max-width: 400px;
}
.country-button {
padding: 1.2rem;
font-size: 1.25rem;
background-color: #fff;
border: 2px solid #ddd;
border-radius: 12px;
cursor: pointer;
transition: all 0.2s ease;
text-decoration: none;
color: #222;
text-align: center;
}
.country-button:hover {
background-color: #eee;
border-color: #ccc;
}
@media (min-width: 600px) {
.buttons {
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
.country-button {
flex: 1 1 40%;
}
}
footer {
padding: 1rem;
text-align: center;
font-size: 0.9rem;
color: #888;
border-top: 1px solid #eee;
background-color: #fafafa;
}
</style>
</head>
<body>
<main>
<h1>Selldone Fashion</h1>
<p class="instruction">Select your country to start shopping...</p>
<div class="buttons">
<a id="btn-us" class="country-button">๐บ๐ธ United States</a>
<a id="btn-de" class="country-button">๐ฉ๐ช Germany</a>
<a id="btn-dk" class="country-button">๐ฉ๐ฐ Denmark</a>
<a id="btn-fr" class="country-button">๐ซ๐ท France</a>
</div>
</main>
<footer>
ยฉ <span id="year"></span> Selldone. All rights reserved.
</footer>
<script>
function getRefParam() {
const params = new URLSearchParams(window.location.search);
return params.get("ref") || "";
}
const ref = getRefParam();
document.getElementById("btn-us").href = `https://en.selldone.com?ref=${ref}`;
document.getElementById("btn-de").href = `https://de.selldone.com?ref=${ref}`;
document.getElementById("btn-dk").href = `https://da.selldone.com?ref=${ref}`;
document.getElementById("btn-fr").href = `https://fr.selldone.com?ref=${ref}`;
// Set current year in footer
document.getElementById("year").textContent = new Date().getFullYear();
</script>
</body>
</html>
๐ง ์ด๋ป๊ฒ ์๋ํ๋์?
- ์ถ์ฒ ์ฝ๋ ์ถ์ถ: URLSearchParams๋ฅผ ์ฌ์ฉํ์ฌ ํ์ฌ URL์์ ref ํ๋ผ๋ฏธํฐ๋ฅผ ๊ฐ์ ธ์ต๋๋ค.
- ๋์ ๋ฆฌ๋๋ ์ : ์ฌ์ฉ์๊ฐ ๋ฒํผ์ ํด๋ฆญํ๋ฉด ์คํฌ๋ฆฝํธ๊ฐ ์๋์ผ๋ก ํด๋น ๊ตญ๊ฐ ๋๋ฉ์ธ์ผ๋ก ์ถ์ฒ ์ฝ๋๋ฅผ ์ ๋ฌํ๋ฉฐ ๋ฆฌ๋๋ ์ ํฉ๋๋ค.
- ๋ฐ์ํ ๋์์ธ: ๋ชจ๋ฐ์ผ ์นํ์ ์ธ ๋ ์ด์์์ผ๋ก ํฐ ๋ฒํผ์ ์ฌ์ฉํฉ๋๋ค. ์ผ๊ด๋ ํฌ๊ธฐ๋ฅผ ์ํด ํ๋ ์ค๋ฐ์ค๋ฅผ ์ฌ์ฉํฉ๋๋ค.
๐ก ์ ์ฉํ ์ด์
- ๋ชจ๋ ์ดํ๋ฆฌ์์ดํธ๋ฅผ ์ํ ํ ๋งํฌ: xyz.com/?ref=XXXX ๋งํฌ๋ง ์ฌ์ฉํ๋ฉด ๋ฉ๋๋ค.
- ํ์งํ๋ ๊ฒฝํ: ๊ณ ๊ฐ์ด ํด๋น ์ง์ญ์ ๋ง๋ ์์ ๋๋ฉ์ธ์ผ๋ก ๋ฆฌ๋๋ ์ ๋ฉ๋๋ค.
- ๋ฐฑ์๋๊ฐ ํ์ ์์ต๋๋ค: ์ด ์๋ฃจ์ ์ ์ ์ ์ด๋ฉฐ ์์ ํ ํด๋ผ์ด์ธํธ ์ฌ์ด๋ ๊ธฐ๋ฐ์ ๋๋ค.
๐งช ์์ URL
์์ :https://xyz.com/?ref=AFF12345
๐ฉ๐ฐ ๋ด๋งํฌ ๋ฒํผ์ ํด๋ฆญํ๋ฉด ๋ค์์ผ๋ก ๋ฆฌ๋๋ ์ ๋ฉ๋๋ค:
https://da.selldone.com/?ref=AFF12345
๐ ๋ค์ ๋จ๊ณ
- ์ดํ๋ฆฌ์์ดํธ ๋ฌธ์์ ์ด ํ์ด์ง๋ฅผ ํฌํจํ์ธ์.
- ๊ธฐ๋ณธ ๋งํฌ https://xyz.com/?ref=YOURCODE๋ฅผ ํํธ๋์ ๊ณต์ ํ์ธ์.
- ๋์ค์ ๊ฐ์ ํ์์ผ๋ก ๋ ๋ง์ ๊ตญ๊ฐ๋ฅผ ๋ฒํผ ๋ฆฌ์คํธ์ ์ถ๊ฐํ ์ ์์ต๋๋ค.
ChatGPT์์ ๋๋ฉ ํ์ด์ง ์ฌ์ฉ์ ์ ์
๋ค์ ๋งํฌ์์ ChatGPT๋ฅผ ์ฌ์ฉํ์ฌ ํ์ด์ง๋ฅผ ํ์์ ๋ง๊ฒ ์ฌ์ฉ์ ์ ์ํ ์ ์์ต๋๋ค:โก ํ์ด์ง ๋ฐฐํฌ ๋ฐฉ๋ฒ
๋ ๊ฐ์ง ์ฌ์ด ์ต์ ์ผ๋ก ๋์ ์ดํ๋ฆฌ์์ดํธ ๋๋ฉ ํ์ด์ง๋ฅผ ๊ฒ์ํ ์ ์์ต๋๋ค:์ต์ 1. Selldone ๊ฐ๊ฒ์ ๋ฐฐํฌ:
Selldone ๋์๋ณด๋์ ๋ก๊ทธ์ธํ๊ณ , ํ์ด์ง > ์ ์ ์ผ๋ก ์ด๋ํ ํ ํด๋ (์: affiliate)๋ฅผ ๋ง๋ญ๋๋ค. HTML ํ์ผ์ index.html ๋ก ์ด ํด๋์ ์ ๋ก๋ํฉ๋๋ค. ๊ทธ๋ฐ ๋ค์, ๋๋ฉ์ธ ์น์ ์ผ๋ก ๊ฐ์ ์ ๋๋ฉ์ธ์ด๋ ์๋ธ๋๋ฉ์ธ์ ์ถ๊ฐํ๊ณ , ๊ฒฝ๋ก๋ฅผ ์ดํ๋ฆฌ์์ดํธ ํด๋๋ก ์ค์ ํ์ฌ ์ ์ ์ ํ์ด์ง์ ํ ๋นํฉ๋๋ค.
์ต์ 2. Cloudflare Pages์ ๋ฌด๋ฃ๋ก ๋ฐฐํฌ (๊ถ์ฅ):
Cloudflare Pages๋ฅผ ์ฌ์ฉํ์ฌ ํ์ด์ง๋ฅผ ๋ฌด๋ฃ๋ก ํธ์คํ ํ ์๋ ์์ต๋๋ค. ์ ํ๋ก์ ํธ๋ฅผ ๋ง๋ค๊ณ index.html ํ์ผ์ ๋๋๊ทธ ์ค ๋๋กญํ์ฌ ๋ฐฐํฌํฉ๋๋ค. ๋ผ์ด๋ธ๋ก ์คํ๋๋ฉด Cloudflare์์ ์ฌ์ฉ์ ์ ์ ์๋ธ๋๋ฉ์ธ(๋๋ ๋๋ฉ์ธ)์ ํ ๋นํ์ฌ ์น์์ ํ์ด์ง์ ์ ๊ทผํ ์ ์๋๋ก ์ค์ ํฉ๋๋ค.์ด ๋ ๋ฐฉ๋ฒ ๋ชจ๋ ์ถ์ฒ ์ถ์ ์ด ํฌํจ๋ ๋ธ๋๋ ํ์ด์ง๋ฅผ ์ ์ํ๊ณ ๋น ๋ฅด๊ฒ ๊ณต์ ํ ์ ์๋๋ก ํฉ๋๋ค.FAQ
์ดํ๋ฆฌ์์ดํธ ๋๋ฉ ํ์ด์ง์ ๋ฉ์ธ ์์ ๋๋ฉ์ธ์ ์ฌ์ฉํด์ผ ํ๋์?
์์ฅ์์ ์ต๊ณ ์ ๊ธฐ์ ์๋ฃจ์ ์ผ๋ก ๋น์ฆ๋์ค๋ฅผ ์จ๋ผ์ธ์ผ๋ก ๋ง๋์ญ์์ค.
30 ์ผ ํ๋ถ ๋ณด์ฅ
์ ์์๊ฑฐ๋ ๋ง๋ค๊ธฐ์ง๊ธ ์์ํ์ธ์ โ ๋ฌด๋ฃ์ ๋๋ค
๋ฎ์ ์จ๋ผ์ธ ํ๋งค์จ์ ์ด์ ๊ทธ๋ง!








๋น์ ์ ์๊ฐ์ ์ฐ๋ฆฌ์ ๊ณต์ ํ์ธ์