Setup in a couple of minutes a link tracking system with Google Analytics.
- Vite
- Custom Title
- Analytics
- Netlify Button
- Vercel Button
- Subdomains
- Loading animation
- Create a Google Analytics account
- Setup on Netlify or Vercel (Auto deploy button below)
- Set the proper environment variables
- Edit subdomains file in your repo (Optional)
or
- For this repo
- Edit local src/config/subdomains.json
- Import it into Vercel or Netlify.
VITE_TITLE="La Crypta - Redirecting..."
VITE_DESTINATION="http://lacrypta.com.ar"
VITE_GOOGLE_ANALYTICS="G-0000000000"
Deploy it and assign a subdomain.
Edit local src/config/subdomains.json Those links are being redirected by this tool.
{
"twitter": "https://twitter.com/LaCryptaOficial",
"instagram": "https://www.instagram.com/lacryptaok/",
"discord": "https://discord.com/invite/SN8JNhMgvY",
"github": "https://github.com/lacrypta"
}
Then add those subdomains on your Netlify or Vercel Dashboard.
If the subdomain is not found in the config it automatically fallback to the url provided in VITE_DESTINATION.