Comments (19)
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.
from google-measurement-php-client.
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.
i would love to hear some feedback 👍
from google-measurement-php-client.
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.
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.
No changes look at this screen (my app is on my local machine who isn't public so i'm the only user)
from google-measurement-php-client.
what kind of app is this?`
from google-measurement-php-client.
Symfony 2 app, with ajaxified search engine
from google-measurement-php-client.
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.
I Did it and i stroe it in cookie myself look this exemple where i dump the User ID
from google-measurement-php-client.
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.
thanks !
from google-measurement-php-client.
you are using the master
branch or the parameter
branch?
from google-measurement-php-client.
actually master
from google-measurement-php-client.
@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.
how did it work now ?
from google-measurement-php-client.
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.
It seems that it works correctly now
from google-measurement-php-client.
👍 thanks for let me notice it was broken
from google-measurement-php-client.
Related Issues (20)
- Ecommerce parameters HOT 3
- Enhanced Ecommerce HOT 1
- not declare a member variable HOT 1
- Measuring the Checkout Process HOT 1
- semantic versioning HOT 1
- Event tracking doesn't seem to be working? HOT 3
- Sessions versus events HOT 14
- [WIP] Refactoring this Repo HOT 4
- sendMultipleTracking problems HOT 10
- How to getResponseHeader for a sendMultipleTracking HOT 1
- Unable to see submitted page view tracking on analytics HOT 1
- Problem after upgrading from version 2.1.0 to 2.1.1 HOT 2
- Send IP address HOT 3
- When Internet is not available socket_connect throws a 'Host name lookup failure' PHP error HOT 2
- Suddendly stopped working - Analytics Host not reachable! HOT 2
- GA Cookie HOT 2
- Client ID HOT 6
- better error handling when sending all reports to google HOT 1
- Added all missing Parameters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-measurement-php-client.