Google Tag Manager integration
GTM allows you to keep in organized way all of your tags, snippets and Javascript code.
Jak używać?
Żeby dodać User.com do Twojego GTM:
- Przejdź do odpowiedniego projektu w Google Tag Manager, po czym przejdź do zakładki Tags.
- Kliknij przycisk tworzenia nowego taka.
- Przejdź do konfiguracji taga i wybierz Custom HTML tag.
- Wklej kod śledzący Twojego systemu marketing automation.
- Wklej poniższy kod JavaScript:
<script data-cfasync="false" type="text/javascript">
window.civchat = {
// You can find your API key and app domain by going to your app and selecting Setup & Integrations in App Settings
apiKey: 'YOUR_API_KEY'
};
</script>
// You can find your API key and app domain by going to your app and selecting Setup & Integrations
<script data-cfasync="false" type="text/javascript" src="https://<your_app_subdomain>.user.com/widget.js"></script>
Read more about implementing Google Tag Manager on
https://docs.user.com/implementing-userengage-with-google-tag-managerDowiedz się więcej
How to track scroll depth via GTM
Create an event after scrolling ⅔ of your page to trigger an action
Dowiedz się więcej