Comments (2)
With a little help from a cheatsheet website the parameters have somewhat been "decoded" now.
/**
* Using V1 parameters to imulate a page view through server side \
* Be aware that this requires custom client_id and may result in loss of demographic information
* @link https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters
* @link https://www.thyngster.com/ga4-measurement-protocol-cheatsheet/
* @param string v Protocol Version eg "2"
* @param string tid Tracking ID eg "G-xxx"
* @param bool aip Anonymize IP eg "true"
* @param string gtm GTM Hash Info
* @param string _p Random load hash // Math.floor(Math.random() * (2147483647 - 0 + 1) + 0)
* @param string _z
* @param string cid Client ID eg Cookie._ga or Cookie._gid or Session ID
* @param string uid User ID eg "customer_1"
* @param string ul User Language eg "en-us"
* @param string sr Screen resolution eg "1920x1080"
* @param string sid Session ID
* @param string sct Session Count // Incresed by 1 per session registered (expired)
* @param string seg Session Engagement eg "1"
* @param string dl Document Location eg http://foo.com/home?a=b as http%3A%2F%2Ffoo.com%2Fhome%3Fa%3Db
* @param string dr Document Referer eg http://example.com as http%3A%2F%2Fexample.com
* @param string dt Document Title eg <title>THIS</title>
* @param int _s Hit Counter eg "1"
*/
from php-ga4.
I'm closing this as Won't Fix due to tags that are generated with GTM/GTAG that can not be properly replicated in PHP to my knowledge as is right now.
It might come back up at a later time.
from php-ga4.
Related Issues (20)
- Refactor structure and use of facades/abstraction
- rationale for Analytics::new() HOT 2
- Add document title HOT 3
- Add core events of GA.js/GTAG.js as SST-Events HOT 1
- php-ga4: ^1.1 - Events are not appearing in GA4 realtime . HOT 9
- begin_checkout HOT 1
- begin checkout HOT 2
- If you follow the code then you will see there is 3 layers. HOT 1
- README _gid cookie question HOT 1
- question: How to get data to show up in debug? HOT 3
- Dashboard not reflecting the posted report HOT 1
- User Properties - Question HOT 1
- Status of page_view event HOT 2
- User location HOT 1
- Client id must have been created by gtag.js? HOT 2
- Server only tracking, user tracking? HOT 6
- PHP 8.3 support HOT 2
- Item -> item_category - Validation error [VALUE_INVALID] HOT 3
- Missing measurement ID exception throws incorrect error message HOT 1
- ask for help HOT 7
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-ga4.