mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Website: Add LinkedIn conversion tracking (#19921)
Related to: #19603 Changes: - Added LinkedIn conversion tracking to the signup page, swag request form, and contact forms.
This commit is contained in:
parent
addb665c8b
commit
19a4e07b94
4 changed files with 13 additions and 0 deletions
6
website/assets/js/pages/contact.page.js
vendored
6
website/assets/js/pages/contact.page.js
vendored
|
|
@ -83,6 +83,9 @@ parasails.registerPage('contact', {
|
|||
if(typeof gtag !== 'undefined'){
|
||||
gtag('event','website_contact_forms');
|
||||
}
|
||||
if(typeof window.lintrk !== 'undefined') {
|
||||
window.lintrk('track', { conversion_id: 18587089 });// eslint-disable-line camelcase
|
||||
}
|
||||
// Show the success message.
|
||||
this.cloudSuccess = true;
|
||||
|
||||
|
|
@ -92,6 +95,9 @@ parasails.registerPage('contact', {
|
|||
if(typeof gtag !== 'undefined'){
|
||||
gtag('event','website_contact_forms');
|
||||
}
|
||||
if(typeof window.lintrk !== 'undefined') {
|
||||
window.lintrk('track', { conversion_id: 18587089 });// eslint-disable-line camelcase
|
||||
}
|
||||
if(this.formData.numberOfHosts > 700){
|
||||
this.goto(`https://calendly.com/fleetdm/talk-to-us?email=${encodeURIComponent(this.formData.emailAddress)}&name=${encodeURIComponent(this.formData.firstName+' '+this.formData.lastName)}`);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -226,6 +226,9 @@ parasails.registerPage('basic-documentation', {
|
|||
if(typeof gtag !== 'undefined') {
|
||||
gtag('event','website_swag_request');
|
||||
}
|
||||
if(typeof window.lintrk !== 'undefined') {
|
||||
window.lintrk('track', { conversion_id: 18587105 });// eslint-disable-line camelcase
|
||||
}
|
||||
this.goto('https://kqphpqst851.typeform.com/to/ZfA3sOu0');
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -70,6 +70,9 @@ parasails.registerPage('signup', {
|
|||
if(typeof gtag !== 'undefined'){
|
||||
gtag('event','website_sign_up');
|
||||
}
|
||||
if(typeof window.lintrk !== 'undefined') {
|
||||
window.lintrk('track', { conversion_id: 18587097 });// eslint-disable-line camelcase
|
||||
}
|
||||
this.syncing = true;
|
||||
this.goto(this.pageToRedirectToAfterRegistration);// « / start if the user came here from the start now button, or customers/new-license if the user came here from the "Get your license" link.
|
||||
}
|
||||
|
|
|
|||
|
|
@ -385,6 +385,7 @@
|
|||
|
||||
}
|
||||
[purpose='swag-cta'] {
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
border: 1px solid #E3E3E3;
|
||||
box-shadow: 1px 2px 2px rgba(197, 199, 209, 0.2);
|
||||
|
|
|
|||
Loading…
Reference in a new issue