Questions tagged [javascript]

JavaScript is a dialect of the standardized ECMAScript programming language, primarily used for scripting web-pages. Use this tag for questions regarding ECMAScript and its dialects/ implementations: JavaScript, JScript, etc., excluding ActionScript.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Self-referring canonicals not being picked up by Google but can be seen in crawlers, and inspect tool

My client previously had issues with their self-referring canonicals not set up correctly. After they implemented the corrections, I verified the changes through a combination of methods. I conducted ...
Tony's user avatar
  • 1
1 vote
0 answers
17 views

How to view normal table data without metrics in google analytics

I am sending custom event through code to Google Analytics. gtag("event", "my_custom_event", { field1: "value1", field2: "value2", }); I am unable to ...
EresDev's user avatar
  • 111
0 votes
1 answer
34 views

Can bots create click events?

The content on my site is primarily PDFs. I would like to get more accurate information as to whether actual humans are accessing them. I thought to add a javascript click handler on the links that ...
KevinHJ's user avatar
  • 147
0 votes
1 answer
44 views

External stub links vs on-click partial page replacement for SEO

I'm not sure anyone has asked this but here goes. I made a website where the goal is to sell tickets. The pages are as follows: The main page that's loaded contains the event name, location basic ...
mike_s's user avatar
  • 11
0 votes
0 answers
33 views

Delay in Updated Metadata Reflection on SEO Engines and Social Media Platforms: Seeking Insights on Timelines and Expedited Updates

Despite correctly implementing metadata tags within my web application, I've noticed a delay in their reflection on SEO engines and social media platforms like Facebook. The meta tags appear ...
user avatar
0 votes
0 answers
268 views

GTM datalayer.push not sending GA event because of redirection code in JavaScript only in Firefox

I have come across this peculiar behaviour of GTM's dayaLayer code. The below issue happens to me only in firefox browser and all other browsers work fine - (Edge and Chrome). I have a dataLayer.push ...
Annas's user avatar
  • 417
0 votes
0 answers
181 views

Google Maps logging "This site overrides Array.from() with an implementation that doesn't support iterables ..."

Since a few months my previously trouble-free working Google Maps static map display shows this in the browser console: This site overrides Array.from() with an implementation that doesn't support ...
Thomas's user avatar
  • 59
1 vote
0 answers
111 views

How to say google wait until the ajax call response then crawl?

I've added schema markup (ld+json formatted) for some pages of my website. I've validated the generated schema markup script manually through the Google Rich Result tool and it' ok. My problem is, ...
Martin AJ's user avatar
  • 415
0 votes
1 answer
30 views

Custom "cookie solution" [closed]

I'm working on a website for a client who owns a restaurant. I've just finished developing it and I'm working on the part relating to the privacy policy and related cookies. The cookies used by the ...
emmeelite's user avatar
2 votes
1 answer
244 views

Google is accidently indexing query string URL parameters and causing my website bandwidth increase

Google is currently indexing query strings URLs of my website. Google has currently indexed almost 112k URLs that all are duplicate version of other URLs causing my website to slow down and negatively ...
mehtab fatima's user avatar
0 votes
0 answers
16 views

Dynamic imports in Next js

I would like somebody to explain me dynamic imports in Next js. Using dynamic imports in my app lowers the First Load js by 50% and that's huge. My only concern is can I use dynamic imports on all ...
Djela Srca's user avatar
4 votes
2 answers
351 views

How search engines detect when Javascript is finished execution?

I have single page application, which I would like to add different meta description tag depending on URL. Application does initial data loading from server via fetch (which is needed for description),...
Somnium's user avatar
  • 143
1 vote
0 answers
21 views

Display data on Html page [closed]

I have a website that displays data from external files. But there is a problem with the display as in the attachment. How can I control the page size to display the full data without compression ??
OmarDev's user avatar
  • 21
4 votes
1 answer
250 views

Handling # uri fragments as regular requests

So I have a one-page website with multiple sections and IDs. Right now, in the nav, I have it going to #about to jump them down to a section with ID=about But I want the user to be able to go to ...
Josh Holly's user avatar
2 votes
0 answers
278 views

How to add something crawlable to JavaScript links in order to satisfy Google Lighthouse

I'm doing some Google lighthouse analysis on my site and the tool is complaining about our "add to cart" links. We use a pre-fab PayPal cart system called Vibracart, which is great but is ...
Raseone's user avatar
  • 61
2 votes
1 answer
43 views

What is the impact of using edge workers to serve static versions of a dynamic application before loading JS?

Here is my dilemma: I have quite a complex e-reader single page application. It uses rewrites to route say /book/page/2 to /index.html for processing behind the scenes. The JS payload is quite heavy, ...
Pete's user avatar
  • 123
2 votes
0 answers
30 views

Monitor ads showing on site by their URL

Intro: I use Ezoic to show ads on my site. It uses many ad exchanges such as Google Ad Exchange to real-time bid against my Adsense ad inventory, and the winner will be shown on ad placements. Problem:...
SpaRex 's user avatar
4 votes
1 answer
102 views

Do I have too many pages with canvas/svg tags on them?

Being documentation for my charting software, I have a lot of pages on my website that have SVG and/or canvas tags on them. I recently learned from a Google video that during indexing, the JavaScript ...
Richard's user avatar
  • 311
2 votes
0 answers
30 views

Use Google Tag Manager to detect if a specific brand is being purchased by triggering when it is included in the order

I'm setting up Google Tag Manager on e-commerce store where is a lot of brands. I need to make trigger on Floodlight script when is specific products in purchase. So I made trigger where is detected ...
Matúš Rebroš's user avatar
2 votes
1 answer
75 views

How can I copy a website from GoDaddy cPanel to my Mac

I want to move a small working website to my Mac for testing and experimenting. There is a small database with the website that will need to be accessed locally as well. The website is currently ...
J Bree's user avatar
  • 21
12 votes
1 answer
6k views

Do search engines perform JS rendering while crawling?

I have couple of websites recently created (~8 months) and Google is marking them as "Duplicate without user-selected canonical" or "Page with redirect" errors How I implemented: ...
hasanac's user avatar
  • 123
1 vote
0 answers
250 views

Fetch doesn't seem to work in Heroku deployed app

This is an issue that im bringing over from the general stackoverflow because I was told it should be asked here instead. The original issue is moreless gone now. The issue now is that when I am ...
pk550's user avatar
  • 11
3 votes
1 answer
372 views

Will search engines understand the HTML template tag with client side rendering?

I have a page that uses HTML <template> tags. I don't know the page length like this. <template>Some Html</template> <template>Some Html2</template> <template>Some ...
Arman Oganyan's user avatar
3 votes
1 answer
300 views

Is it OK for SEO to make content available via AJAX when users click, but also to load that content on its own URL?

I'm working on a website and I want to use AJAX for some content, but I'm worried about search engines crawling my site, and I know Google and other search engines only see contents that are currently ...
HOSSEIN's user avatar
  • 33
1 vote
0 answers
22 views

How to view my promoted tweets in the Twitter app to debug JavaScript?

I'm driving traffic to a website with PPC on Twitter. AWS CloudWatch is reporting that 80% of my visitors are experiencing JavaScript errors — but 100% of those errors are happening in the on-device/...
philolegein's user avatar
3 votes
1 answer
238 views

How to improve page speed of a site built with Prismic

It looks like all the sites who use Prismic get a terrible score at Page Speed Insights. Questions: Is Prismic really slowing down all the sites that use their CMS? List of sites using Prismic Score ...
Tasksme's user avatar
  • 31
0 votes
0 answers
23 views

How do I improve the client-rendered content for SEO?

I have a website with many links on it. Some of the links are user generated. For instance: example.com/?some_information example.com/?some_other_information The page will utilize the parameter to ...
AGamePlayer's user avatar
1 vote
0 answers
35 views

Do Dynamically-Generated Custom Tags Harm SEO?

In my JavaScript file, I create a "fake" tag (Like this): <fake-tag> <another-fake-tag></another-fake-tag> <self_closing-fake_tag /> </fake-tag> These ...
user11247237's user avatar
3 votes
0 answers
30 views

Start hosting with firebase

I made a new firebase project and web app, and i want to use firebase hosting on it. I have a directory set up on replit with html, js, css, but how do i host it on firebase? I have tried looking at ...
lolBOT V9.17's user avatar
1 vote
0 answers
44 views

Exposing content from client-side headless CMS API to web crawlers

This is something I've been struggling to wrap my head around for the past few days. Tried to keep the rambling to a minimum but concise questions are at the bottom. As I understand it, utilizing JS ...
PrestigiousAd9972's user avatar
1 vote
0 answers
33 views

How to plot .tif file colour coding onto the map using javascript? [closed]

I want to plot colour coding from .tif file into the map with the help of react-leaflet. How can this be done? I am open for other better suggestions. My core goal is to display color coding given in ...
piyush kasturi's user avatar
0 votes
1 answer
218 views

Refused to execute inline script with Comodo Trust Seal

I'm trying to add the Comodo Trust Seal on my site but it gives this error in chrome: Refused to execute inline script because it violates the following Content Security Policy directive: "...
TravelWhere's user avatar
3 votes
0 answers
3k views

SEO | VueJS | Why do I see "We're sorry but desk-app doesn't work properly without JavaScript enabled. Please enable it to continue." in web browser?

I set up a single page application using Vue.js and Firebase. It works fine but when I search for the website in Google Chrome, this is what pops up : I expect to see a proper description, instead of ...
psch's user avatar
  • 31
2 votes
1 answer
158 views

How Does Google Analytics Calculate Browser Size?

How does Google Analytics calculate the Browser Size metric that it reports for user sessions? Another thing that would be helpful would be a way to modify a browser to replicate the "(not set)&...
Alex Houghton's user avatar
1 vote
1 answer
430 views

Does onclick animation affect SEO?

We want to build the website with mind-blowing animations, but SEO is also important for us and I am wondering about the SEO effects in the case of CSS and JS animations. Let's say we want to build ...
Maksymilian Konarski's user avatar
2 votes
1 answer
135 views

Google Analytics reporting all traffic as organic

My website is built using Angular. The frontend pages are built using Angular SSR (server-side rendering). My checkout pages are using Angular, but not SSR. The issue is that once a user lands on an ...
three3's user avatar
  • 139
2 votes
1 answer
459 views

Why are two completely different pages considered Duplicate without user-selected canonical?

I am working for an online casino, and the blog page is deemed Duplicate without user-selected canonical to the main casino page? The two pages are completely different and have nothing to do with ...
Gordon Strachan's user avatar
3 votes
1 answer
697 views

Is Largest Contentful Paint (LCP) measured only above the fold?

A lot of sources mention that LCP is measured only above the fold, and stops measurements after a user action like scroll or key press. Though, I am able to get LCP for an image which is lazy-loaded ...
Inderpartap Cheema's user avatar
2 votes
0 answers
199 views

SEO test tool doesn't see my H1 generated by JavaScript, will Google?

On what basis is SEO checked? When I examine my page, an H1 tag is present. However, when I look at the page source, an H1 heading is not present because it is generated via JavaScript (CMS in the ...
iSaBo's user avatar
  • 21
4 votes
1 answer
100 views

Is it black hat SEO to add content (self hosted ad images) after window onload

There are about 12-15 Ads:Images(mostly GIFs, self hosted on same server and domain) and appear on all the pages. Since the file size of GIFs are relatively larger(some upto 2 MB), they have started ...
Sandesh Yadav's user avatar
5 votes
3 answers
590 views

Does Googlebot call every link separately (with a new request)?

Does Googlebot call every link separately (with a new request) or does it follow all links by JavaScript (for example by click event)? I have a vue-js website which contains all the links and of ...
Maisen1886's user avatar
2 votes
1 answer
1k views

Is it possible to disable indexing through JS?

Is it possible to disable Google indexing of some web page if this is placed to head tag <meta name="googlebot" content="noindex" /> using only JS? Or is it all a hoax and ...
BlackStar1991's user avatar
2 votes
1 answer
437 views

Core Web Vitals - Field data difference Mobile vs Desktop

I am observing a strange problem related to Core Web Vitals, I have same website for both mobile and desktop(same server/same page/same DOM size) but I when I look into search console I get different ...
Awais fiaz's user avatar
2 votes
1 answer
133 views

Can I create a custom 404 page with a parameter value?

I have a very basic website https://myappname.example with only a home page that allows users to go and download my app from Apple store or Google play. I have a use case when user can click on ...
RAITON's user avatar
  • 121
4 votes
1 answer
492 views

Core web vitals - LCP is being recounted on element outside viewport

I have been trying to control LCP on my website but unfortunately a strange phenomenon is continuously occurring, An element which is not in viewport is considered to be an LCP. Opposite to that ...
Awais fiaz's user avatar
2 votes
2 answers
138 views

Is it a no-no to have two sites with the same HTML and modify the content with JavaScript?

Let's say I have 2 sites /MergePDF?csharp and /MergePDF?java. They have the exact HTML, CSS and JavaScript. The only difference is the difference in content provided by the JavaScript. Is is it ...
trinalbadger587's user avatar
1 vote
2 answers
81 views

Does HTML Document style affect SEO?

Does a non-styled HTML Document affect SEO negatively? Which of these examples is better for SEO? Example 1 Example 2 Here is a lighthouse result for both examples Example 1 Example 2 As you can ...
Liam's user avatar
  • 113
2 votes
1 answer
53 views

Should I statically generate an internal search result page rather than rely on JS rendering?

I have a Nuxt app which utilizes a headless CMS and static site generation to generate the landing page and all article pages at build time. On my landing page I'm displaying the latest articles which ...
DaDo's user avatar
  • 123
2 votes
1 answer
458 views

How JSON works in HTML Script Tag regarding SEO Search availability?

I know this topic already all over the forum. But still, I'm confused if there is no exact example of what they mean with dynamic render using Javascript. so here is the background of my question: I ...
Rakis Friski's user avatar
4 votes
2 answers
344 views

Google Bot seems to often fail at loading jQuery?

I am using Google Search Console's "Test Live URL" function to see if Google crawler can correctly read my pages. I find out that for a single page 3 out of 5 tests will return a lot of ...
Wen Shenk's user avatar
  • 505

1
2 3 4 5
17