Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [custom-variables]

The tag has no usage guidance.

1
vote
0answers
24 views

Affiliate Custom Campaign Parameters reports in Google Analytics

I am using an affiliate software which automatically passes custom parameters for all affiliate traffic. This custom parameter variable name doesn't match with standard Google campaign parameters. ...
1
vote
1answer
60 views

Capturing a variable from a clicked link or url using php [closed]

I've build a php page called pageById.php that pulls in and displays data from a MySQL database, but the query is 'static'. $sql = "SELECT * FROM table WHERE id = 879"; I want to change this so it ...
0
votes
1answer
123 views

Custom variable in Google analytics not capturing data from Django site?

I'm making a website in Python Django and I'd like to add my a custom variable (dimension with user level scope) to my Google Analytics. So, I created directions in creating one from this GA ...
1
vote
1answer
57 views

Google Analytics Custom Metric counts more than once on a unique membership page. How can I fix it?

On Google Analytics I have this metric called Yeni Uyelik which counts new memberships. I expect this metric to count 1 for every unique page. However, in the report on some pages it counts up to 10 ...
0
votes
1answer
70 views

Google Analytics - Problem with custom variable - Data look not precise

I use a custom variable to store the username of who is visiting my site. So I access the custom variable report to list all the values of a custom variable, and have a look at the whole list of ...
1
vote
1answer
504 views

Session Level Custom Dimension in Google Analytics Is Not Set for All Pageviews

I'm using a session custom dimension to distinguish between two variants of my site. I'm setting this dimension to 'A' or 'B' for ALL visits before I track the first pageview. My problem is that when ...
4
votes
1answer
7k views

Rewrite up to three folders into three query string parameters to a PHP script

I'd like to use mod_rewrite within the .htaccess file to rewrite folders to a var string. Below is examples of current and what I would prefer. Current URL: example.com/main/folder1/folder2/folder3 ...
1
vote
0answers
485 views

Track user through Google Universal Analytics

I want to track a user from my site, give an id to Google Analytics and later be able to see which pages that id visited and for how long did that id view the pages. I've tried custom variables with ...
3
votes
1answer
135 views

Will session level custom variables allow Google Analytics to report on more data than page level variables?

We run a radio station site with 5 markets. The value of the market is saved as a cookie and last week I started tracking the value of that cookie in a page-level custom variable. The problem is that ...
1
vote
3answers
1k views

Delete unknown and undesired custom variables

I'm creating a custom report in Google Analytics because I have implemented the typical custom variable to track logged/anonymous users. To do it I choose the "unique table" type, 2 dimensions values (...
0
votes
2answers
508 views

Avoiding Personally Identifiable Information in Custom Variables in Google Analytics

We are currently logging the type of user via custom variables. The types are to do with the level of service they have - gold, silver or bronze or just a regular non-logged in user. Ideally what we ...