From 2f4d5b69097b510743c5dfc1f1ee7818916d69bf Mon Sep 17 00:00:00 2001 From: Simon <1218015+simondaigre@users.noreply.github.com> Date: Mon, 8 Aug 2022 12:25:51 +0200 Subject: [PATCH] Add tiktokMore initialization Required to add custom events. Website documentation should be updated @AmauriC --- tarteaucitron.services.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tarteaucitron.services.js b/tarteaucitron.services.js index 93ff79d..a7de1e7 100644 --- a/tarteaucitron.services.js +++ b/tarteaucitron.services.js @@ -5578,6 +5578,10 @@ tarteaucitron.services.tiktok = { } tarteaucitron.addScript('https://analytics.tiktok.com/i18n/pixel/sdk.js?sdkid=' + tarteaucitron.user.tiktokId); + + if (typeof tarteaucitron.user.tiktokMore === 'function') { + tarteaucitron.user.tiktokMore(); + } } };