1 | /**
|
2 | * Forwards Facebool Pixels main window calls to Partytown's worker thread.
|
3 | *
|
4 | * https://developers.facebook.com/docs/facebook-pixel/get-started
|
5 | *
|
6 | * @public
|
7 | */
|
8 | const facebookPixelForward = ['fbq'];
|
9 |
|
10 | /**
|
11 | * Forwards Freshpaint.io main window calls to Partytown's worker thread.
|
12 | *
|
13 | * https://www.freshpaint.io/
|
14 | *
|
15 | * @public
|
16 | */
|
17 | const freshpaintForward = [
|
18 | 'freshpaint.addPageviewProperties',
|
19 | 'freshpaint.identify',
|
20 | 'freshpaint.track',
|
21 | ];
|
22 |
|
23 | /**
|
24 | * Forwards Google Tag Manager main window calls to Partytown's worker thread.
|
25 | *
|
26 | * @public
|
27 | */
|
28 | const googleTagManagerForward = ['dataLayer.push'];
|
29 |
|
30 | export { facebookPixelForward, freshpaintForward, googleTagManagerForward };
|