I am working on the Mxit platform and want to create and capture some custom variables for storage in Google Analytics.
With Mxit ports, this is not the usual connection between a browser and a web server. This application is for phone, mxit server, web server. Mxit sits in the middle, which means we cannot directly capture user information.
However, Mxit sets up custom headers with additional user information that can be written to Google Analytics through user variables.
We cannot use javascript, so Ive installed Google Analytics for mobile php script, which creates and adds data to the gif image.
I set custom variables on a regular website using javascript and using GA debugging I copied the utme parameter and added it to GA for mobile PHP code to manually add it to the gif query string.
Here is a quick, simplified, simplified example:
Custom values ββthat I would like to set.
$id = $headers['mxitID']; $country = $headers['country']; $gender = $headers['gender']; $age = $headers['age'];
and here i add the gif query string
&utme=8(MxitID*Country*Gender*Age)9($id*$country*$gender*$age)11(1*1*1*1)
As I understand it, 8 () represents the names of custom variables, 9 () represents the values ββof the user variable, and 11 () represents the scope.
This happened after 2 days, and Google Analytics still has no information about user variables.
I check visitors> User Variables
Any help would be appreciated.