Add snapchatMore initialization
Required to add custom events. Website documentation should be updated @AmauriC
This commit is contained in:
parent
db8924d207
commit
707c1b9606
|
|
@ -81,6 +81,10 @@ tarteaucitron.services.snapchat = {
|
||||||
window.snaptr('track', 'PAGE_VIEW');
|
window.snaptr('track', 'PAGE_VIEW');
|
||||||
|
|
||||||
tarteaucitron.addScript('https://sc-static.net/scevent.min.js');
|
tarteaucitron.addScript('https://sc-static.net/scevent.min.js');
|
||||||
|
|
||||||
|
if (typeof tarteaucitron.user.snapchatMore === 'function') {
|
||||||
|
tarteaucitron.user.snapchatMore();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue