Google Analytics 3 – Date range issue while viewing all Pages (Site Content Pages)

I am using Google Analytics 3 property, and using a custom dimension "UserName" (Scope = User). I am trying to view all pages/ page URLS a particular user has travelled in the website. I am trying to filter using the "UserName" custom Dimension in Behaviors -> Site Content -> All pages.

This particular user whom I am filtering has done some activity on some dates and in other dates no activity.

For example — Sept 1st and Sept 2nd he has visited some pages, other dates like Aug 30, Aug 31 no visits.

When I am trying to see the page view — by filtering this user in Custom Dimension – When I select the dates specifically which he has done activity data is displayed in the graph and table .

When I select random date range — which is a combination of (activity dates and no activity dates), data is not displayed in the table – shows No data but in the graph above data is shown. Attached the Image.

How to proceed with this issue ? Is this an issue for GA side ?

Image

Query posts(CPT, pages , hierarchical) by Ancestor ID

so i have a custom post type with hierarchical structure. Looks like this:

top level 1    - child        -- grand child       -- grand child    - child       -- grand child top level 2    - child        -- grand child       -- grand child    - child       -- grand child top level 3 

and so on.

I need a query with top level id as a base and query through all child and grand child pages of that top level page?

I know ther is post_parent arg, but it wont query grand childs… I know I can second query childs for grand childs… but i dont want that. I need 1 query with all the other parameters, and with proper pagination count. any ways to achive that?

thanks

A way to upload old html pages with all its assets via WordPress admin and to add a fixed menu on top of those (a la Wayback Machine)

Inside a WordPress website I manage at a custom hosting, I want to have a few joke websites that looks like personal Geocities pages from the 90s, with animated gifs and all. Generally I edit these pages at a text editor manually and upload them with all the associated assets in their own folders, completely outside of the WP ecosystem. The problem is that I’m having big trouble by adding anything outside the core WP folders in the hosting I’m using for some reason. I don’t think it is a problem specific to WordPress (the hosting is new and has some very aggressive security measures), but regardless that issue, I was also thinking to figure some way that:

  • I can upload all the html pages, its images and all INSIDE the WordPress admin (including having some chance to replace these very html pages if I want to update its content or such, even if I have to re-upload a new html page locally rather than edit it inside WP), and
  • A way via WP itself that adds some fixed frame at the top or the bottom of all uploaded html pages, merely with the main site name and some button to go back to the main page, not unlike the fixed navigation that appears at the top on old webpages on the Wayback Machine on Archive.org (that site is not built on WordPress, but you get the idea).

It’s short of embedding a website inside a regular WP post type while being also able to edit these inside WP at will, but I don’t know if there’s a clean way to to it. At the moment I only have a few html pages that are independent of each other, but eventually I would want to have a full old fashioned website and I would need that all the links inside these works and to not upload twice any resources each html page has.

How to add links from my URL list to different pages on my site in a row?

Hello guys, I need your advice and help.
For example:
I need to boost 3 pages on my site. Let it be:
https://site.com/category1
https://site.com/category2
https://site.com/category3
I have a list of 200 strong high DR websites, where it is possible to get backlinks.
My aim is to get 200 links from my list to https://site.com/category1, the same 200 links from my list to https://site.com/category2 and the same 200 links from my list to https://site.com/category3

I use these settings, but it doesn’t help….


Google de-indexed 1.7k pages on my WP site, trying to figure out why [duplicate]

I created a site in WordPress with a mass page plugin called Mpgwp.com which dynamically creates pages with a spintax doc and spreadsheet. It’s an affiliate site going after local keywords. The pages are duplicates structuarally, but all the content is spun from a spintax doc, so the actual content is not the same across each page. Google initially indexed them and I was getting traffic, and then steadily started de-indexing them. I’m assuming Google just doesn’t like the pages, altho they are actually content-wise better than most of the other spun pages in the SERPs for these pages (many other sites taking the same strategy). The pages work fine and the plugin dev. is stumped and suggested I come here to ask. There are no manual actions or other penalties. Either goog hates the content and thinks it’s spammy, or there’s something tecnically wrong here.

He mentioned that the "disallow" in my robots.txt might be causing it? robots.txt

This is the message in my search console: "Crawled – currently not indexed: The page was crawled by Google, but not indexed. It may or may not be indexed in the future; no need to resubmit this URL for crawling." search console message

This is an exmaple of one of the pages: https://trailersconnect.com/construction-trailer-rental-in-madison-ca/

Does anyone have any ideas what I’m doing wrong?

How to set up Google tag Manager configuration in ASP NET Core razor pages

I am very new to ASP NET Core razor pages. I have a requirement to set up Google Tag Manager in ASP NET Core razor pages. Usually in the ASP.Net solution we use Google Analytic’s tag.js script in page load. In angular we usually set up in app.module.ts/ app.component.ts.

But, I am to set up GTM tracking code/ id in ASP NET Core razor pages.

After set up, I need to send triggering conditions to GTM (like on button click send a event trigger to GTM so that it will in turn call the Google Analytics set up tag). Is there any helper class or plugins which I can use for the same ? Or in which file like Startup.cs , I can use the GTM configuration set up ?

Thank you.

remove SLASH on single_post but KEEP on categories and parent pages

My current permalink structure is  /%category%/%postname%/  which produce urls as:
(category_base removed using "FV Top Level Categories" Plugin)

category: example.com/class-10/science/    ◀▬ SLASH is GOOD for directories & ↙ parent pages     page: example.com/legal/      post: example.com/class-10/science/ch-1-atoms/    ◀▬ but BAD for single_post, ↖ child pages &     page: example.com/legal/terms/     page: example.com/about/    ◀▬ standalone pages 

So, I want to
keep TRAILING SLASH "/" on:

  • categories and child categories
  • parent pages

remove TRAILING SLASH "/" on:

  • single_posts
  • standalone page (who don’t have any child pages)
  • child pages

AND "301" Redirect  "/"  version of these ↖ pages to NON  "/"  version pages

Allow comments box cannot be checked on *any* pages

WordPress 5.1.4 with twentynineteen theme 2.0

I Quick Edit a page and check the Allow Comments box, then click the Update button. There is no message displayed, but when I Quick Edit that page again, the box is unchecked. I saw this answer to a related question, and even though the theme does not have a similar filter, I put the following in a plugin, and activated it:

function default_comments_on( $  data ) { // Adapted from https://wordpress.stackexchange.com/a/179682/44613 if( $  data['post_type'] == 'page') {     $  data['comment_status'] = 1; } return $  data; } add_filter( 'wp_insert_post_data', 'default_comments_on' ); 

But the behavior persists. Any ideas how to fix this?

Actually, what I want to do is default all pages to allow comments, and I expected that the filter above would do that, but it doesn’t. I think it’s very odd for WordPress not to allow comments on pages by default, but I guess it’s a tradition. But working hard to prevent site admins from allowing them on specific pages seems very strange.