Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(about): modify utm_medium & utm_campaign #935

Merged
merged 1 commit into from
Apr 26, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions src/views/about/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export default class About extends Vue {
@Getter('currentLang') private getterLang!: Language

private baseUrl = 'https://www.emqx.com'
private utm = '?utm_source=mqttx&utm_medium=app&utm_campaign='
private utm = '?utm_source=mqttx&utm_medium=referral&utm_campaign='

get version(): string {
return version
Expand All @@ -106,17 +106,12 @@ export default class About extends Vue {

get emqWebsite(): string {
const lang = this.getterLang === 'zh' ? 'zh' : 'en'
return `${this.baseUrl}/${lang}${this.utm}emq`
}

get emqxWebsite(): string {
const lang = this.getterLang === 'zh' ? 'zh' : 'en'
return `${this.baseUrl}/${lang}/products/emqx${this.utm}enterpirse`
return `${this.baseUrl}/${lang}${this.utm}mqttx-to-homepage`
}

get emqxCloudWebsite(): string {
const lang = this.getterLang === 'zh' ? 'zh' : 'en'
return `${this.baseUrl}/${lang}/cloud${this.utm}cloud`
return `${this.baseUrl}/${lang}/cloud${this.utm}mqttx-to-cloud`
}

get emqxIoWebsite(): string {
Expand Down