mirror of
https://github.com/koala73/worldmonitor.git
synced 2026-04-25 17:14:57 +02:00
feat(wingbits): add UTM tracking params to wingbits.com attribution link (#1990)
This commit is contained in:
@@ -21,7 +21,7 @@ import { sparkline } from '@/utils/sparkline';
|
||||
|
||||
function formatPositionSource(source: string): string {
|
||||
if (source === 'POSITION_SOURCE_WINGBITS') {
|
||||
return '<a href="https://wingbits.com" target="_blank" rel="noopener" style="color:inherit">wingbits.com</a>';
|
||||
return '<a href="https://wingbits.com?utm_source=worldmonitor&utm_medium=referral&utm_campaign=worldmonitor" target="_blank" rel="noopener" style="color:inherit">wingbits.com</a>';
|
||||
}
|
||||
if (source === 'POSITION_SOURCE_OPENSKY') {
|
||||
return '<a href="https://opensky-network.org" target="_blank" rel="noopener" style="color:inherit">opensky-network.org</a>';
|
||||
|
||||
Reference in New Issue
Block a user