Skip to content

tracking USER_ID #10

Description

@UsmanJ

I want to be able to push the user id to ga (so ga can distinguish between new and old visitors).

Normally in JS it would be along the lines of

 ga('create', 'UA-XXXXXX-Y', {'userId': USER_ID});
  ga('send', 'pageview');

How can I modify the constructor to be able to do this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions