@codecademy/tracking 1.0.49-alpha.eda04bfb95.0 → 1.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -114,6 +114,7 @@ export type TrackingContentIds = {
114
114
  journey_id?: string;
115
115
  external_course_id?: string;
116
116
  external_path_id?: string;
117
+ lo_id?: string;
117
118
  };
118
119
  /**
119
120
  * Shared data relevant for all user events
@@ -17,13 +17,13 @@ export const initializeTrackingIntegrations = async _ref => {
17
17
  if (init) return; // Prevent multiple initializations
18
18
  init = true;
19
19
  if (enablePartytown) {
20
- await initializePartytown();
20
+ initializePartytown();
21
21
  } else {
22
22
  // Wait to allow any other post-hydration logic to run first
23
23
  await new Promise(resolve => setTimeout(resolve, 1000));
24
24
  }
25
25
  if (isFidesEnabled) {
26
- await initializeFides();
26
+ initializeFides();
27
27
  } else {
28
28
  // Load in OneTrust's banner and wait for its `OptanonWrapper` callback
29
29
  await initializeOneTrust({
@@ -34,7 +34,7 @@ export const initializeTrackingIntegrations = async _ref => {
34
34
  }
35
35
 
36
36
  // Load GTM
37
- await initializeGTM({
37
+ initializeGTM({
38
38
  scope,
39
39
  environment,
40
40
  optedOutExternalTracking,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codecademy/tracking",
3
3
  "description": "Tracking library for Codecademy",
4
- "version": "1.0.49-alpha.eda04bfb95.0",
4
+ "version": "1.0.49",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@qwik.dev/partytown": "0.11.0"