mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-03 09:58:30 +02:00
Cloud UI Outbound Link URL Param (#1055)
* adding url param 'qdrant-tech' to outbound links to Cloud UI for the sake of tracking user journey (when consented) * tagCloudUILinksWithHash() should not be conditional but occur before tracking events/elements are registered * tagCloudUILinksWithHash within DOMContentLoaded and before registering All anchors for tracking * import correction * add new key/value pair to interaction * uniform naming convention and remove "s" from key, and CROSS_SITE_URL_PARAM_KEY for uniformity
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
import scrollHandler from './scroll-handler';
|
||||
import { XXL_BREAKPOINT } from './constants';
|
||||
import { initGoToTopButton, getCookie } from './helpers';
|
||||
import { initGoToTopButton, getCookie, tagCloudUILinksWithHash } from './helpers';
|
||||
import { loadSegment, createSegmentStoredPage, tagAllAnchors } from './segment-helpers'
|
||||
|
||||
createSegmentStoredPage();
|
||||
|
||||
// on document ready
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
tagCloudUILinksWithHash();
|
||||
tagAllAnchors();
|
||||
|
||||
if (!window.analytics && getCookie('cookie-consent')) {
|
||||
|
||||
Reference in New Issue
Block a user