Merge pull request #26901 from overleaf/rh-hotjar-marketing

Add hotjar tracking to marketing pages

GitOrigin-RevId: 5490392b44a287e4853778416323b3aa5fbfc1ef
This commit is contained in:
roo hutton
2025-07-11 08:05:25 +00:00
committed by Copybot
parent 14afc82acf
commit 6bdcd1f803
5 changed files with 17 additions and 2 deletions
@@ -30,7 +30,8 @@ function setConsent(value) {
if (
getMeta('ol-ExposedSettings').gaToken ||
getMeta('ol-ExposedSettings').gaTokenV4 ||
getMeta('ol-ExposedSettings').propensityId
getMeta('ol-ExposedSettings').propensityId ||
getMeta('ol-ExposedSettings').hotjarId
) {
document
.querySelectorAll('[data-ol-cookie-banner-set-consent]')
+1
View File
@@ -1,5 +1,6 @@
import './utils/webpack-public-path'
import './infrastructure/error-reporter'
import './infrastructure/hotjar'
import './features/form-helpers/hydrate-form'
import './features/form-helpers/password-visibility'
import './features/link-helpers/slow-link'
@@ -1,4 +1,5 @@
import '../../marketing'
import '@/infrastructure/hotjar'
function homepageAnimation(homepageAnimationEl) {
function createFrames(word, { buildTime, holdTime, breakTime }) {