We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to send:
$analytics.eventTrack('play_game', { gameMode: '1', playForMoney: true, });
but the variables are not showing in the GTM console only the action, what should I do?
I read the code and I thing should have something like
function eventTrack(action, properties) { var dataLayer = window.dataLayer = window.dataLayer || []; properties = properties || {}; dataLayer.push({ 'event': properties.event || 'interaction', 'target': properties.category, 'action': action, 'target-properties': properties.label, 'value': properties.value, 'interaction-type': properties.noninteraction, 'userId': $analyticsProvider.settings.ga.userId, ...properties.gtmCustom // <-- the same way they are doing in https://github.com/angulartics/angulartics2/blob/5c478ca09c20ca8bb230f47a5669287fe8fd5f80/src/lib/providers/gtm/gtm.ts#L81 }); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to send:
but the variables are not showing in the GTM console only the action, what should I do?
I read the code and I thing should have something like
The text was updated successfully, but these errors were encountered: