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 ?


What is the recommended way of sending dynamic content depending on form contents?

The task of my client is this: He has a wordpress site and wants to offer a service where he can send custom legal texts per mail. Depending on which single-choice the users select at a form, it should send them slightly modified texts. And afterwards it should save the emails in some sort of newsletter/funnel system to contact them.

So my idea was to

  • User fills in form
  • Save form data in database
  • Send form data or only email to mailchimp
  • User confirms email subscription
  • User gets text depended on his selection

How would you approach this? I’ve never done an email subscription with goodie thing and maybe there are some good solutions or best practices for this?

Auto Detailing and Repairs Blog – 100% Unique Content – 68,314 Published Words

Why are you selling this site?
I want to focus on my other investments and don't have time to focus on SEO and social media marketing at the moment. If I can't get the offer I want, I will continue to build up this website as it has tremendous potential.

How is it monetized?
Amazon Associates. It makes anywhere from $ 5-$ 10/mo with no effort. All traffic comes from search engines, and the occasional Linkedin, Twitter, or Facebook visitor.

Does this site come with any social…

Auto Detailing and Repairs Blog – 100% Unique Content – 68,314 Published Words

How to allow Googlebot to crawl paywall content?

My website has pages for around 1000 companies. Without an account, I only allow users to view 5 company pages a month (I track them by cookie). And Googlebot can crawl my site freely since it does not use cookie.

To avoid Googlebot thinking I am doing cloaking, I am specify the content of my company pages as paywall content (following this guide). The problem is now when I search the company pages of my website on Google, the search result only shows the page title and my website’s default description. It does not show content of each company page.

I think the problem is I list the content of my company pages as paywall. My question is: What is the best way to let Googlebot crawl and display the content of my website in the search results without making Googlebot think that I am cloaking? (when the users click on the search result link and visit my website, they are still subject to the monthly quota if they don’t have an account).

Where to use Post class in a real theme, title, content or parent div or article tag?

I am extending discussion from one another article posted on the same website → Where should I use post_class()?.

This is the portion from content-single.php

enter image description here

Where should I put the post-class? in the h2 tag that will print the title or on the parent article tag, which has one other div,which is a sibling to h2, title class?

  <h4><?php the_title(); ?></h4>   <p><?php the_content(); ?></p> 

I browsed this link, but still, I could not get the clarity →

REQUIRED: Could not find post_class. See: post_class <div id="post-" >

Content that should be protected is served without authentication intermittently

Our website hosting is with a shared hosting provider. The only configuration we can make is through .htaccess files, we can’t touch the apache configuration files that are sourced when apache first starts.

The website root directory is public_html/. We have some content that should only be accessible to members, and this content is all kept under public_html/members_only/ files and subdirectories. Members have a username/password to authenticate when they want to get to the members-only portion of the site. The public_html/members_only/.htaccess file is fairly simple as follows:

AuthUserFile /path/to/.htpasswd AuthType Basic AuthName "Password Protected" Options -Indexes AuthGroupFile /dev/null <RequireAll>     Require valid-user     Require method GET POST HEAD </RequireAll> 

When a particular file public_html/members_only/auto/xyz.pdf is requested in the browser the expected 401 status is returned, the browser prompts the user for their credentials and, if correctly entered, the request is sent again and the file is served. This is as expected. The problem is that when any other user who has not authenticated subsequently requests this same file, it’s served to them without authentication, at least for a while. Then, after some interval, the next request is only satisfied if the user is authenticated.

Just to be sure I’m not experiencing some kind of browser caching confusion I have verified this behavior using curl -D headers https://<my website>/members_only/auto/xyz.pdf and examined the headers file.

I noticed another question that sounds very similar to my problem, but there were no answers. I am out of ideas at this point. I’ve tried tech support for the hosting provider (Endurance International Group), they are worse than useless.

How do I change the text content of a div for a comment validation error message?

My comment form has validation so that when a user tries to post a blank comment, it currently shows the "This field is required" message under the comment box. How do I change the message content to "Please enter your comment."? I’m guessing that the following line of code might do the trick but I don’t know how to nest HTML code in my functions.php file.

document.getElementById("comment-error").innerHTML = "Please enter your comment.";  

Any help would be most appreciated.

the_content() printing site title after page/post title and before its content

My pages are all showing the Site Title (from the Customizer) after the page or post title and before the "body" of the post. Troubleshooting by injecting lines of text to print before and after WordPress code narrows the source down to the the_content() call within the page template.

Here’s how the_content is called:

        ...         </header><!-- .entry-header -->          <div class="content entry-content">             <?php the_content(                 // Translators: %s: Name of current post. Only visible to screen readers.                 sprintf( esc_html__( 'Continue reading %s', 'bulmapress' ), '<span class="screen-reader-text">' . the_title( '', '', false ) . '</span>' )             );              wp_link_pages( array(                 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'bulmapress' ),                 'after'  => '</div>',                 ) );                 ?>         </div><!-- .entry-content -->          <footer class="content entry-footer">         ... 

I’m a bit baffled because post_template.php where the_content() and get_the_content() are defined is a WordPress /includes file, not a parent theme file.

Should I be looking for some filter that’s been defined in the theme? TIA