Skip to content
New issue

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

User ID #23

Open
ema1argentina opened this issue Feb 3, 2016 · 6 comments
Open

User ID #23

ema1argentina opened this issue Feb 3, 2016 · 6 comments

Comments

@ema1argentina
Copy link

Hi Everyone,

Do you know how to configure the UserId using this plugin?
I am new to GTM, and I don't know if I'll be able to achieve this using this plugin.

https://support.google.com/analytics/answer/3123666?hl=en

Best Regards,
Emanuel

@jreidel
Copy link

jreidel commented May 26, 2016

You can use userId with the pushEvent method. You can use pushEvent with all hits (sceen views, events, transactions...)

@raphaelgodoi
Copy link

@jreidel cool, but, there is no documentation for this, do you have an example?

@bitumin
Copy link

bitumin commented Sep 15, 2016

@diegomichel
Copy link

Anyone had has any success with this?

I have been able to emulate the other functions with pushEvent, but the userId doesn't work sadly. Also tried with a custom dimension1 but no success either way... This is how I have it just now.

Event Example
2016-11-22-133041_641x217_scrot

trackPage example
2016-11-22-133304_628x153_scrot

on GTM I have two new variables
2016-11-22-133532_1043x479_scrot
and
2016-11-22-133603_993x490_scrot

On the GA tag Events I have:
2016-11-22-133642_891x576_scrot
and on Pageviews GA Tag:
2016-11-22-133729_901x370_scrot

Note: Just changed dimension1 from Fields to Set to Custom Dimensions and waiting for data to appear on GA to see if the custom dimension works.

Also on GA I do have User-ID feature enabled.
2016-11-22-134010_737x333_scrot

Thanks!.

@diegomichel
Copy link

Hello guys,

It worked sending &uid instead of userid. Keep in mind that changes to GTM containers take some time to reflect on the app(sometimes hours). Hope this helps.

2016-12-08-110215_232x152_scrot

Best Regards,
Diego Michel.

@sunayanagoyale
Copy link

Thanks, Diego!
Excellent way of giving a solution, really appreciate you for this. You may be right, the data is not appearing immediately in User ID view of GA. It is taking lot of time to reflect.

I've a question - does this work well for both iOS and Android?
The steps needed to set up GTM for Android are same as that of iOS?
Can you please specify how to move ahead with Android?

Many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants