Giter Site home page Giter Site logo

Comments (5)

ivolo avatar ivolo commented on May 24, 2024

Hey! Can you describe your use case a bit? We used to have sessionId as part of the server-side identify / track API (which would automatically alias if you provided both userId and sessionId). But we found that it was confusing people.

Most just send server-side events for already logged in users, and used analytics.js to track and alias unidentified users before they logged in.

I'm definitely open to to the idea of adding alias server-side, just want to make sure I understand the use case better!

from analytics.net.

janmechtel avatar janmechtel commented on May 24, 2024

We have a desktop app. (www.veodin.com/keyrocket)

  1. user comes to site, gets tracked with kissmetrics using their "made up" id from the session.
  2. user installs the app, we identify the user using a kind of windows user-id
  3. user might give us their email, then we want to alias that email to the windows user-id (this happens in the desktop app).

Does that make it clearer?

from analytics.net.

ivolo avatar ivolo commented on May 24, 2024

Yep - looks like we'll have to add alias! I'll let you know as soon as it's done, thanks for explaining!

from analytics.net.

janmechtel avatar janmechtel commented on May 24, 2024

We actually switched to the REST API today because our CTO wasn't fond of including the .net API + the JSON library to all our clients.

Side benefit: the alias works as you described, so we rely on that now. we start sending Tracks/Identify with userid = sessionid = XZY, then we switch to userid=email, sessionid=XZY which triggers the alias on Kissmetrics, exactly what we need.

No need to include Alias just for us any more.

from analytics.net.

ivolo avatar ivolo commented on May 24, 2024

Thanks Jan. If anyone needs .NET alias in the future, feel free to re-open!

from analytics.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.