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:
Mike McNeil 2024-06-27 14:18:51 -05:00 committed by GitHub
parent 87f4a28419
commit 1b6fa1a8c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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