PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 2.4.8
Booking for Appointments and Events Calendar – Amelia v2.4.8
2.4.8 2.4.7 2.4.6 2.4.5 2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / v3 / src / assets / js / public / facebookPixel.js
ameliabooking / v3 / src / assets / js / public Last commit date
actions.js 1 month ago booking.js 2 days ago cabinet.js 1 month ago cart.js 2 days ago catalog.js 2 days ago coupon.js 1 month ago customFields.js 1 month ago customFontFace.js 1 month ago eventFormCssVars.js 1 month ago events.js 1 month ago facebookPixel.js 1 month ago ivy.js 1 month ago package.js 2 days ago panel.js 1 month ago public.js 1 month ago renderActions.js 1 month ago restore.js 2 days ago slots.js 2 days ago stripePaymentIntent.js 2 days ago translation.js 1 month ago user.js 1 month ago
facebookPixel.js
56 lines
1 const standardEvents = [
2 'addpaymentinfo',
3 'addtocart',
4 'addtowishlist',
5 'completeregistration',
6 'contact',
7 'customizeproduct',
8 'donate',
9 'findlocation',
10 'initiatecheckout',
11 'lead',
12 'pageview',
13 'purchase',
14 'schedule',
15 'search',
16 'starttrial',
17 'submitapplication',
18 'subscribe',
19 'viewcontent',
20 ]
21
22 function install() {
23 if (typeof window.fbq === 'undefined') {
24 !(function (f, b, e, v, n, t, s) {
25 if (f.fbq) return
26 n = f.fbq = function () {
27 n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments)
28 }
29 if (!f._fbq) f._fbq = n
30 n.push = n
31 n.loaded = !0
32 n.version = '2.0'
33 n.queue = []
34 t = b.createElement(e)
35 t.async = !0
36 t.src = v
37 s = b.getElementsByTagName(e)[0]
38 s.parentNode.insertBefore(t, s)
39 })(window, document, 'script', 'https://connect.facebook.net/en_US/fbevents.js')
40 }
41 }
42
43 function init(appId) {
44 window.fbq('init', appId, {})
45 }
46
47 function event(name, data) {
48 window.fbq.apply(window, [
49 !standardEvents.includes(name.toLowerCase()) ? 'trackCustom' : 'track',
50 name,
51 data,
52 ])
53 }
54
55 export { install, init, event }
56