How to implement fibotalk code using Google Tag Manager
- Login to https://app.fibotalk.com/ application.
- Go to “Quick Links” > “Get Started”. Click on “Copy Code”.
- Go to Google Tag Manager > click on “Tags”.
- Click on “New”.
- Select “Custom HTML”
- Put the code in a text box as shown in screenshot. In “Advanced Settings” > “Tag firing options”, choose “Once per page”.
- Save the tag.
For passing User Information:
Where you get the user information in the login/signup page, pass the user information to the “fibotalk” window variable like:
window.fibotalkSettings = {
user: {
userId (mandatory): <unique user identification>,
name: “User’s name”,
email: “email info”
},
account: {
accountId (mandatory): <unique account identification>,
accountName: “account’s name”,
},
};