mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 08:58:41 +00:00
Website: Update key event names (#20065)
TODO: Update the other spots and in linkedin cc @Drew-P-drawers --------- Co-authored-by: Eric <eashaw@sailsjs.com>
This commit is contained in:
parent
87f4a28419
commit
1b6fa1a8c8
3 changed files with 7 additions and 4 deletions
4
website/assets/js/pages/contact.page.js
vendored
4
website/assets/js/pages/contact.page.js
vendored
|
|
@ -81,7 +81,7 @@ parasails.registerPage('contact', {
|
|||
|
||||
submittedContactForm: async function() {
|
||||
if(typeof gtag !== 'undefined'){
|
||||
gtag('event','website_contact_forms');
|
||||
gtag('event','fleet_website__contact_forms');
|
||||
}
|
||||
if(typeof window.lintrk !== 'undefined') {
|
||||
window.lintrk('track', { conversion_id: 18587089 });// eslint-disable-line camelcase
|
||||
|
|
@ -93,7 +93,7 @@ parasails.registerPage('contact', {
|
|||
submittedTalkToUsForm: async function() {
|
||||
this.syncing = true;
|
||||
if(typeof gtag !== 'undefined'){
|
||||
gtag('event','website_contact_forms');
|
||||
gtag('event','fleet_website__contact_forms');
|
||||
}
|
||||
if(typeof window.lintrk !== 'undefined') {
|
||||
window.lintrk('track', { conversion_id: 18587089 });// eslint-disable-line camelcase
|
||||
|
|
|
|||
|
|
@ -224,7 +224,7 @@ parasails.registerPage('basic-documentation', {
|
|||
|
||||
clickSwagRequestCTA: function () {
|
||||
if(typeof gtag !== 'undefined') {
|
||||
gtag('event','website_swag_request');
|
||||
gtag('event','fleet_website__swag_request');
|
||||
}
|
||||
if(typeof window.lintrk !== 'undefined') {
|
||||
window.lintrk('track', { conversion_id: 18587105 });// eslint-disable-line camelcase
|
||||
|
|
|
|||
|
|
@ -67,8 +67,11 @@ parasails.registerPage('signup', {
|
|||
// redirect to the /start page.
|
||||
// > (Note that we re-enable the syncing state here. This is on purpose--
|
||||
// > to make sure the spinner stays there until the page navigation finishes.)
|
||||
//
|
||||
// Naming convention: (like sails config)
|
||||
// "Website - Sign up" becomes "fleet_website__sign_up" (double-underscore representing hierarchy)
|
||||
if(typeof gtag !== 'undefined'){
|
||||
gtag('event','website_sign_up');
|
||||
gtag('event','fleet_website__sign_up');
|
||||
}
|
||||
if(typeof window.lintrk !== 'undefined') {
|
||||
window.lintrk('track', { conversion_id: 18587097 });// eslint-disable-line camelcase
|
||||
|
|
|
|||
Loading…
Reference in a new issue