TagSpy

login

Recommended

Send this event to signify that a user has logged in.

Platforms
web, app
When it fires
You send it when the action happens.
Official docs

Parameters (1)

ParameterTypeRequiredDescriptionExample
methodstringNoThe method used to login.Google

Example

gtag.js
gtag('event', 'login', {
  method: 'Google',
});
GTM dataLayer
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
  event: 'login',
  method: 'Google',
});

Also see