Add tiktokMore initialization

Required to add custom events.
Website documentation should be updated @AmauriC
This commit is contained in:
Simon 2022-08-08 12:25:51 +02:00 committed by GitHub
parent db8924d207
commit 2f4d5b6909
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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();
}
}
};