Is it possible to segment based on URL path?
Say I have one Google Analytics account with one created property (tied to abc.com). Depending on your login information, it will send you to abc.com/red, abc.com/blue or abc.com/yellow.
Is it possible to create separate views for /red, /blue and /yellow? How do you implement a custom filter for it?
Using Google Data Studio, how would you add a filter control to filter between /red, /blue and /yellow?
In your GA filter for the view choose :
predefined -> include only traffic to the subdirectories -> that are equal to -> /red/
Related
I would like to ask how could I exclude unwanted referrals from GA4 and Firebase? In my particular case, I would like to exclude checkout.stripe.com from purchase event sources.
I've added checkout.stripe.com to the unwanted referral list (Data Streams -> More tagging settings -> List unwanted referrals)
and specified my domain (Data Streams -> More tagging settings -> Configure your domain).
However without a satisfactory result - still each purchase conversion is assigning to checkout.stripe.com
To configure GA4 in my project I'm using the Angularfire library.
OK, I know how to fix it.
To filter unwanted referral from GA4 use domain instead subdomain. So in this particular case the proper configuration the "Match type" is "contains" and the domain field to "stripe.com".
We have been registering user ids, and when we go to Audience->User Explorer, the users are all there, each with their activity measures. But we can't find a way to filter some users out of our custom reports.
We do ga('set', 'userId', 'xxxx-xxxx'); but we didn't create any custom dimension. We just told GA specific user-IDs for each.
We haven't been able to set up a segment, as we can't find the id in the filter. Neither in report filter.
We could go the the user and delete all their data. But that is not our point, and we need to keep this data as well. Ideally we would segment our users, but we can't use this filter in the segment definition.
If you want to segment user by userID, you need to create a custom dimension of which you can access. The clientId is not accessible as a dimension to segment on.
We're using Google Analytic's User ID feature and would like to filter our data to exclude users with a specific user ID (in our case "DEMO").
Any suggestions on how this might be accomplished? Or is this not possible?
Per default this is not possible, since the user id is not exposed via the interface and cannot be used in filters or segments (you can check the available fields for UI and API in the Dimensions and Metric Explorer).
You would have store the user id as a custom dimension, and filter by that. This will not work for data that has already been collected.
I've set up Google Analytics account with two properties:
www.example.com
buy.example.com
Now I've created a custom dimension to be used as unique user ID (I am using cookie to assign unique ID to each website visitor)
Does it possible to generate report for my custom dimension cross domain? (so I can see ID data from www.example.com and buy.example.com in the same repot?)
when I've two properties can I set a goal between them?
Thanks
Shai
You need to only have one web property that you use on both sub-domains (www and buy).
Put the same tracking code on each.
You can then create two views, with a filter for www and buy sub-domains if you want to see them separately.
Your unique visitor counts etc. will all be cross sub-domain as you desire, and you can set Goals etc. according.
I've worked with Drupal 7 and Views for a while now and I'm familiar with what Views allow by default and what is available as modular add-ons. Today I've come across an issue with Contextual filters, which allow you to pass in an argument via the URL and use this to filter the returned data.
Normal filters on the other hand can be exposed as a form and also allow for a field combination module which means we can search field{1,2,3} all at once and display the data depending on this input. (views_combined_fields)
Is it possible to tell Views to show me all rows (WHERE field1="test" OR WHERE field2="test" OR WHERE field3="test") but by default, if I add in multiple contextual filters only one of them is being triggered. In this example the "test" value is obtained from the url /data/test.
My problem is that users have a default group, but they also have the option to be added into other groups which are set in the field{1,2,3} fields. My current view shows all users WHERE group = "test" but I want users who have a secondary or tertiary group of "test" to also be displayed in this list.
As i understood, you are talking about Views Arguments, watch the tutorial video from
MustardSeedMedia.com. And useful video about Views 3 User Interface