Background
Google Tag Manager is a free tool that allows you manage and deploy marketing tags (snippets of code or tracking pixels) on your website (or mobile app) without having to modify the code. For more details visit https://marketingplatform.google.com/about/tag-manager/
CRM Integration
GTM works for pages visited by users in members area
Configuration
Navigate to admin area and click Settings located at the bottom of the sidebar
Portal Settings
Integrations
To enable GTM set this setting to enabled → Google Tag Manager Enabled
Enter your custom google tag manager id under Google Tag Manager Id
Click Save
Custom Event Trigger
Login Event:
title: 'Login', event: 'login', user: <Email Address>,
Customer Registration Event:
title: 'Customer Registration', event: 'customerRegistration', firstName: <First Name>, lastName: <Last Name>, email: <Email Address>, country: <Country Code>
Create Account Event :
title: 'Create Account', event: 'createAccount', mode: <Platform Mode: "demo"/"live">, type: <Platform Type: "mt4"/"mt5">
Deposit Event:
title: 'Deposit Funds', event: 'deposit', method: <Method: "payment_processor"/"bank_transfer">, amount: <Amount>
Withdrawal event:
title: 'Withdrawal Funds', event: 'withdrawal', method: <Method: "payment_processor"/"bank_transfer">, amount: <Amount>
Internal Transfer Event (between two trading accounts):
title: 'Transfer Funds', event: 'transfer', amount: <Amount>
Transaction Result Event:
title: 'Transaction Result', event: 'transactionResult', id: <Transaction Id>, customerNumber: <Customer Number>, amount: <Amount>, currency: <Currency Code>, status: <Status: "SUCCESS", "ERROR", "FAIL", "PENDING">, ftd: <FTD flag: "false"/"true">