Giter VIP home page Giter VIP logo

Comments (19)

ins0 avatar ins0 commented on August 25, 2024

hey thanks for your action. please look at this branch it should had all requirements that are currently missing in the master branch. currently i don't swap this branch to master because of low response.

#9

from google-measurement-php-client.

pml-dev avatar pml-dev commented on August 25, 2024

Thx for reply,

There is lot of parameters i think i w'll modify the class "page" for include user support if i find how to get the goood parameter and value (most complicated)

from google-measurement-php-client.

ins0 avatar ins0 commented on August 25, 2024

i would love to hear some feedback 👍

from google-measurement-php-client.

pml-dev avatar pml-dev commented on August 25, 2024

i've tried to add user support but it's didn't work. Did you have find the solution on your branch ? or did you take one pageview = one user ?

from google-measurement-php-client.

ins0 avatar ins0 commented on August 25, 2024

please look at the createClientID() function on https://github.com/ins0/google-measurement-php-client/blob/master/src/Racecore/GATracking/GATracking.php#L207.

if you don't set a client id by yourself setClientId() the class will try to identify the user and set the correct client id set by google, if this fails a random client id is generated (eg = new user each pageview)

from google-measurement-php-client.

pml-dev avatar pml-dev commented on August 25, 2024

No changes look at this screen (my app is on my local machine who isn't public so i'm the only user)

ga-screen1

from google-measurement-php-client.

ins0 avatar ins0 commented on August 25, 2024

what kind of app is this?`

from google-measurement-php-client.

pml-dev avatar pml-dev commented on August 25, 2024

Symfony 2 app, with ajaxified search engine

from google-measurement-php-client.

ins0 avatar ins0 commented on August 25, 2024

as is suggested if the current user doesn't have a cookie from google _ga and your plattform isn't a browser the class can't receive the client id from google so you are responsable to set a unique client id for the current user with setClientId()

from google-measurement-php-client.

pml-dev avatar pml-dev commented on August 25, 2024

I Did it and i stroe it in cookie myself look this exemple where i dump the User ID

ga-screen2-1
ga-screen2-2
ga-screen2-3

from google-measurement-php-client.

ins0 avatar ins0 commented on August 25, 2024

ah ok now i get the point, sry but it was not clear that you set a client id and for some reason the class ignore this, i will look into this

from google-measurement-php-client.

pml-dev avatar pml-dev commented on August 25, 2024

thanks !

from google-measurement-php-client.

ins0 avatar ins0 commented on August 25, 2024

you are using the master branch or the parameter branch?

from google-measurement-php-client.

pml-dev avatar pml-dev commented on August 25, 2024

actually master

from google-measurement-php-client.

ins0 avatar ins0 commented on August 25, 2024

@pml-dev sry for my late response - i refactored the hole class and with my test the duplicate user with same userid/clientid was gone

from google-measurement-php-client.

pml-dev avatar pml-dev commented on August 25, 2024

how did it work now ?

from google-measurement-php-client.

ins0 avatar ins0 commented on August 25, 2024

as usual the "only" difference is that the campaign class was removed and is now implement into most all tracking types, in my tests with setCliendId the "Live View" only registered 1 User on multiple requests

from google-measurement-php-client.

pml-dev avatar pml-dev commented on August 25, 2024

It seems that it works correctly now

from google-measurement-php-client.

ins0 avatar ins0 commented on August 25, 2024

👍 thanks for let me notice it was broken

from google-measurement-php-client.

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.