Content Grouping (not set) issue in Google Analytics - google-analytics

I want to try content grouping in Google Analytics. I have entered a couple of URLs in "Group Using Rule Definition" in Google Analytics and I have saved it without any error.
But when I try it in "Behavior" flow, its giving me "(not set)". Can anyone help me out how to deal with it? Any help would be greatly appreciated.
Thanks!!

This explanation from Google covers it briefly
But the key point is
(not set) is the collection of pages that are not assigned to any group.
If you assign more content groups you should see a reduction in "(not set)" in reports.

If you are entering full URLs in the Group Using Rule Definition area, then you are creating groups of 1 page each.
A better rule is to use something like "starts with" with a partial url "/foo" to group all pages that start with "/foo", or similar logic.
Each content item is placed in the first group that it matches for. If the last group is called "Other Pages" and set to match anything, it will group all pages not collected higher on the list.
https://support.google.com/analytics/answer/2853563?hl=en

Related

Facebook Pixel: mismatched content_id values - how to fix?

I would greatly appreciate some help with my current Facebook catalog ad predicament.
For a product with stock number 12345, our data feed brings it into the Facebook catalog as 616_12345 (the 616_ is consistent). This is the content_id.
To match the FB pixel content_id and track events, the stock number in the catalog needs to match the stock number on the site. So no events are being recorded.
I am managing the pixel and events through Google Tag Manager. I have set up a CSS selector that points to the stock number in an unordered list, but of course it just returns 12345.
Is there a way to create a variable in GTM that assumes a "616_" will be added before the stock number?
I've been told there is no way to remove that 616_ from the data feed - so this is the only option I can think of.
Thanks very much in advance!
Yes there is a way to create a variable in GTM - simple create "Constant" variable and set its' value to "616_". You can then reference this variable in your events and tags by simply using double curly brackets like so: {{VariableName}} . You can find detailed information here.

(not set) grouping in google analytics

I'm working with Google Analytics and i've come across a (not set) issue with Content Grouping. I changed my URL's in the month of August, and then most of the URL's went into the (not set) Content Grouping, instead of its specific group. Is there anything I can do to have the URL's put back into their correct grouping?
Also, i'm reporting out this data via Data Studio and I was wondering if there was a query/filter that I could use to have it be grouped into the correct content grouping?
The content groupings you have probably was dependent on the URL. You will need to modify your existing content groupings in GA and change the rules so that it matches the new URLs.
As for reporting in DataStudio, you can use CASE functions in a new calculated field. The cases will be the rules for your content groupings. Example:
CASE
WHEN REGEXP_MATCH(page, "(mypagepath1|mypagepath2|mypagepath3)") THEN "Group 1"
WHEN REGEXP_MATCH(page, "(mypagepath4|mypagepath5)" ) THEN "Group 2"
ELSE "No Group"
END
After that you will use the new calculated field in place of the content grouping dimension.
Welcome to StackOverflow. As #Sonali has already implied, you need to take into account the fact that GA is incapable of setting an 'if not set, use default' value on a dimension. If you can see any way of better interpreting the August data you do have, try using the GA plugin in Google Sheets: if you do that, and then use a Sheets formula to manipulate the data, you can then have GDS access the sheet.

PageName segment in Adobe Analytics

I'm trying to create a segment based on this case:
"I have an event that is triggered in multriple pages and I only want to see the number of times it has been fired on a specific page."
I have created a segment where the condition is:
Page name (URL without domain) -> contains -> 'news/potatoe'
The problem with this is that when I cross this segment against the event, the results are wrong, I get very few hits even though I know, for sure, that the number of hits should be higher.
Adding on, when I breakdown a dimension by "Page name (URL without domain)", I don't get the total ocurrences.
Thank you in advance!
The pageName variable is kind of an outlier when it comes to event attribution. Instead of giving full credit to the page it fired on, it uses linear allocation, which divides credit equally among all pages seen in the visit. More info on linear allocation can be seen here:
https://marketing.adobe.com/resources/help/en_US/reference/allocate.html
In order to get the data you're looking for, you will want to use an eVar and not pageName. Using a processing rule to copy pageName into an eVar would be the easiest way to accomplish that.
In short, you're pulling the report right with the exception that pageName has weird attribution. If you replaced pageName with an eVar containing pageName data, you'd get the report you're looking for.

Content Grouping not working for me

I have a website which sells cloths under categories "Sarees" and "Dupattas".
I am trying to configure content grouping in Analytics, but it does not seem to be working.
e.g. I have set an extraction by page title /(.[Ss]arees)./
and some of the page which I was expcting to fall under this were:
http://dazzledori.com/Pure-Silk-Chanderi-catid-372030-page-1.html
http://dazzledori.com/Silk-Cotton-Chanderi-catid-372029-page-1.html
But when I go to my reports, I only see "not set" on the same page titles. Can somebody suggest if I am using this feature incorrectly, or there is gap in the regex? Thanks.
Edit: I just tried to convert my extraction into a rule.
So now I have created a single group called "Cloth products", and I created two rules inside it:
1) /(.[Dd]upatta)./
2) /(.[Ss]arees)./
Still not seeing any matches

Tracking different domains within 1 view and using filters in GA - is it possible?

Was curious if the following was possible. We have a site, https://mysite.net
Say we want to track https://dev.mysite.net but keep it in the same view. The problem is we have around 80+ instances of different subdomains that they want tracked and the limit is 50. This works when creating different views for each, but I am trying to use filters for each subdomain and it doesn't seem to work.
So at the moment I have one view set to
https://mysite.net.
And 3 filters set to
https://site1.mysite.net
https://site2.mysite.net
https://site3.mysite.net
All are set to "include only" "traffic to the hostname" "that contain"
with the their respective URL.
Will this work does anyone know ? Or do you need different views for sure?
Thanks!
You should be able to create a custom filter type > include with the filter field hostname, and a regex of ^site[1-3]\.mysite\.net$.

Resources