Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Fixes #5067 - add custom dimension for login type to GA #5152

Merged
merged 2 commits into from
Nov 9, 2018

Conversation

ianb
Copy link
Contributor

@ianb ianb commented Nov 8, 2018

No description provided.

@punamdahiya punamdahiya changed the title [WIP] #5067, add custom dimension for login type to GA Fixes #5067 - add custom dimension for login type to GA Nov 8, 2018
@punamdahiya
Copy link
Contributor

@ianb did a basic verification using console logs that script here is getting a correct login type. I have updated deviceId documentation with accountId details.

Including @6a68 for feedback/comments. Thanks!

docs/METRICS.md Outdated

The `cd9` dimension holds the "login type". The values can be:

* Empty: visitor is not logged in
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, as long as the dashboard allows filtering on empty values of custom dimensions

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think we want an explicit not-logged in value here. A quick search for "custom dimension not set value" yields support threads like this one:

image

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Updated to pass explicit value 'non-login' for not logged in case

Copy link
Member

@jaredhirsch jaredhirsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need an explicit value for the non-logged in case

docs/METRICS.md Outdated

The `cd9` dimension holds the "login type". The values can be:

* Empty: visitor is not logged in
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I think we want an explicit not-logged in value here. A quick search for "custom dimension not set value" yields support threads like this one:

image

Copy link
Member

@jaredhirsch jaredhirsch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks @punamdahiya!

@jaredhirsch jaredhirsch merged commit c50e1fa into master Nov 9, 2018
@jaredhirsch jaredhirsch deleted the browser-login-cd branch November 9, 2018 21:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants