Multiple Page Titles for a Page URL in GA4 - analytics

We are seeing GA4 recording multiple Page titles for a page. I understand that for different languages we can have different Titles recorded but we are seeing multiple Titles in English itself.
enter image description here
We verified the GA4 settings and all looks good, but we are getting multiple English version Page titles for a same page.

Related

Drupal 9 - Two different URL's work for same page

I have a Drupal 9.x version site, as an example whose page URL is like : http://www.example.com/general
but we need that URL to be work as http://www.example.com/something/general also.
It means, my every page of my site to be work (both URL's) with or without PRE-FIX word before of every page name.
Reason: I am looking this feature is, my website page has to load into other website pages. Which means with an iframe I am planning to display the drupal 9.x content into other website. With this PREFIX word if we are calling the URL the header, footer, sidebar of the present page site will be hidden.
If with out the PREFIX word if i am looking the website, the header, footer, sidebar will be displayed normally.
Both URLs should work:
I have about 550+ content pages, and many of our content pages are coming from custom modules, views.
I tried with URL alias, If i have go with this then I have to add these all 550+ content pages URL in our URL alias, that will not work for me.
Is there any other way around that i can achieve the same with minimum effort.
Please suggest me the solution, It will be very helpful for me.

how to dynamically set title and description of angular single page application for google bot?

i want google bot to recognize titles and descriptions of my pages, the title and descriptions are coming from the database..
i used
document.title = $scope.dataFetchedFromDB.title;
and
document.querySelector("meta[name='description']").content = $scope.dataFetchedFromDB.description;
and it does change the title and description in the browser, but not in the snippets fetched by google or facebook or slack.... the old title and description remains.
i know about ng-meta npm package, but i dont have my pages on static route, the route is determined by the page ID (every page has its ID and its description and title)
i also read
Remember that while Google says that they use JavaScript to crawl pages, Facebook, Twitter, etc., do not. You can test Google's render of your page from the links here.
But Google takes a while to index these changes in their snippets. I would recommend creating a Google Search Console account and having it fetch-and-render the pages you want it to re-index. Even then, public results make take days or weeks to reflect your changes.
Also, it seems that the Googlebot with Javascript doesn't have a lot of patience. Try to make sure you are changing your Title and Description within mere moments of the page loading, and not at the end. In little tests, it appears that the Googlebot renderer may time-out after a few seconds, and only capture the original Title and Description.
In order to get other sites like Facebook/Twitter to render the proper metadata, you'll need to server-side render these pieces of data. Whatever appears when you say "View Source..." will be seen by these simplified crawlers. Consider updating to Angular (from AngularJS) and try server-side rendering for your metadata.

Not able to pull blog image in linkedin

I'm implementing custom share buttons for LinkedIn, Facebook etc. using Drupal 7 at the following URL:
http://commandpartners.com/blog/5-traits-of-an-entrepreneurial-mindset
After a user clicks on the LinkedIn button, a LinkedIn popup opens, with the correct title and description. However, the wrong image appears. I'm not able to understand why the correct blog image does not appear.
Where is LinkedIn pulling the image from?
It looks like maybe the image being used is an older image capture from your site. Did you have this older image on the site before? (the city skyline illustration)

Drupal site in Google search results

I have setup a personal Drupal v.7 freelancer site which doesn't display in Google search results when searching based on home page title or other main keywords. It's home page title is "Professional X-Cart services".
The site is http://www.craftforweb.com and if you for example, do a Google search, using the text "X-Cart services" or "X-Cart" in Google, it won't be displayed even in the first 20 result pages. On the other hand, in Yahoo, it gets displayed on the first page and in Bing, it gets displayed in the 2nd search result page.
The site is displayed on Google search results only if you use it's domain name as search string (and maybe some other string, which I am not aware currently).
The site has been on for almost 5 months now.
I have used metatags for the site pages, also have installed "Pathauto", "Page Title" modules and have enabled clean URL's.
I appreciate any help on this.
For better on-site optimisation, you can install the SEO Checklist module and implement best practice. Another advice not related with programing is to get backlink from your customer web site.

Silverlight page with multiple page names in google analytics

I'm using Google Analytics to track traffic on my Silverlight page.
The same pages in my app are showing up under different names in the top content page.
For example, I have /Home with the most pageviews, then /ClientBin/???.xap/Home with fewer pageviews and then /Default.aspx/Home with even fewer pageviews.
It's the same with other pages (/ManageUsers, /ClientBin/???.xap/Manageusers, /Default.aspx/Manageusers) and so on.
The pageviews are different, so we can't just add them together since we are not sure why this is happening.
I know you can set a default homepage to account for differences in say / and /index.html, but that does't cover all our cases.
What I need to know is why does this happen? Can we just add them together or are some of them a subset of others?
Some of our users are using Out-of-browser, does that count as one of those three pages or is it mixed in with the others?
With some testing using Fiddler I think I've come to a conclusion.
The /ClientBin/???.xap/Home and similar pages are from
Out-of-browser.
The /Default.aspx/Home and similar pages are from
when you run the site from Visual Studio (debugging).
The /Home and similar pages are when the site is accessed on the server.
So in our example we add together the /Home and /ClientBin/???.xap/Home visit numbers to get the real numbers (ignore /Default.aspx/...).

Resources