Comments (3)
@vinnyusestrict Please make sure you are using at least v2.2.0, because there is a unit test for this method and it works fine. https://github.com/theiconic/php-ga-measurement-protocol/blob/master/tests/TheIconic/Tracking/GoogleAnalytics/AnalyticsTest.php#L256-L277
Run composer update and verify you at least have v2.2.0 in your composer.lock file.
from php-ga-measurement-protocol.
I'm using 1.x as I can't be sure what PHP version my clients will be using this with.
from php-ga-measurement-protocol.
That's the issue, unfortunately version 1.x stopped being maintained around 2 years ago.
from php-ga-measurement-protocol.
Related Issues (20)
- Can anyone write code for full Order refund in Enhanced Ecommerce ?
- Set Index for product
- Empty ClientId from GA cookie
- ?
- Incompatible return type with internal class
- Deprecated: http_build_query(), PHP 8.1.6
- Call to undefined function GuzzleHttp\Promise\unwrap() HOT 4
- begin_checkout
- main.CRITICAL: Error: Call to undefined function GuzzleHttp\Promise\unwrap() in /vendor/theiconic/php-ga-measurement-protocol/src/Network/HttpClient.php:51 HOT 2
- how do I add my own parameters? HOT 2
- Linking cross-domains
- How to control session duration? HOT 1
- update guzzle requirements HOT 3
- Missing orders in GA from Firefox in private mode
- Looking for Maintainers HOT 3
- Google Analytics 4 HOT 10
- Google Adsense
- Need new param on product currency HOT 1
- DebugResponse return null and no data send to GA HOT 4
- Adgang til Google My Business
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 php-ga-measurement-protocol.