@everymatrix/casino-tournaments-thumbnail-controller 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -116,6 +116,13 @@
|
|
|
116
116
|
const loginAction = () => {
|
|
117
117
|
if (loginevent) {
|
|
118
118
|
window.postMessage({ type: loginevent, transition: 'Login' }, window.location.href);
|
|
119
|
+
|
|
120
|
+
//Analytics event
|
|
121
|
+
if(typeof gtag == 'function'){
|
|
122
|
+
gtag('event', 'OpenLoginModal', {
|
|
123
|
+
'context': 'TournamentsThumbnailController'
|
|
124
|
+
});
|
|
125
|
+
}
|
|
119
126
|
}
|
|
120
127
|
|
|
121
128
|
if (loginurl) {
|
|
@@ -126,6 +133,13 @@
|
|
|
126
133
|
const registerAction = () => {
|
|
127
134
|
if (registerevent) {
|
|
128
135
|
window.postMessage({ type: registerevent, transition: 'Register' }, window.location.href);
|
|
136
|
+
|
|
137
|
+
//Analytics event
|
|
138
|
+
if(typeof gtag == 'function'){
|
|
139
|
+
gtag('event', 'OpenRegisterModal', {
|
|
140
|
+
'context': 'TournamentsThumbnailController'
|
|
141
|
+
});
|
|
142
|
+
}
|
|
129
143
|
}
|
|
130
144
|
|
|
131
145
|
if (registerurl) {
|