From 92f08b517406093189c401faa2bddbc61c3098d4 Mon Sep 17 00:00:00 2001 From: ArtemB Date: Tue, 6 Aug 2024 21:22:24 +0300 Subject: [PATCH] 1.1.60 add Meta Pixel Code --- static/js/registration.js | 2 ++ templates/tb_base.html | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/static/js/registration.js b/static/js/registration.js index 9920424..ae460ac 100644 --- a/static/js/registration.js +++ b/static/js/registration.js @@ -21,6 +21,8 @@ function SendRegistrationForm(el){ window.sessionStorage.removeItem('mailingSubscribeRequired') window.sessionStorage.removeItem('email') + fbq('track', 'Contact'); + ttq.identify({ "email": "", // string. The email of the customer if available. It must be hashed with SHA-256 on the client side. diff --git a/templates/tb_base.html b/templates/tb_base.html index c432c21..fa640b4 100644 --- a/templates/tb_base.html +++ b/templates/tb_base.html @@ -94,6 +94,24 @@ var e=ttq._i[t]||[],n=0;n + + + + +