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.
821 questions
1
vote
1
answer
82
views
What company is behind the web tracking scripts from `smart-enterprise-365.com` and similar domains?
I inherited a website which has an embedded tracking script like the following:
<script type="text/javascript" src="https://secure.smart-enterprise-52.com/js/144709.js" ></...
0
votes
0
answers
16
views
how to convert Excel spreadsheet to json API
I have a client that wants to update and add properties and property details including images via an excel spreadsheet. They are using Wordpress as a CMS but I want to keep the property section ...
0
votes
0
answers
27
views
Installing GA4 initialisation through external files
I have been loading GA4 by loading two external scripts, one
<script async src="https://www.googletagmanager.com/gtag/js?id=[TAG-ID]"></script>
as (in Wordpress)
...
0
votes
1
answer
58
views
Is it a good idea to append json+ld file into the body using javascript
I'm trying to add structured data to my product page on Shopify in a json+ld file
But when it comes to the reviews, I'm using stamped.io and to get all reviews array I needed to fetch data from their ...
0
votes
4
answers
45
views
Handling non-javascript fallback pages without violating WCAG guidelines
I used the demo version of PowerMapper tools online to scan my pages and it presents the following issue to a page I'm about to explain.
Basically, a page that I have is a fall-back page for clients ...
2
votes
1
answer
31
views
How influences a Javascript redirect without status code change crawling and indexing?
We have a category page with linked products. Linked products are usual a href links to pages like
Category: /category
Product: /product1
After clicking /product1 there is a Javascript redirect to /...
1
vote
2
answers
31
views
Website image rendering issue on Google SERP [closed]
I have a website in React, and it's a E-commerce website. On SERP when a catagory page renders, it shows images of popular products.
What can I do ?
Nothing is wrong with the website; all images are ...
0
votes
1
answer
81
views
Do indexer bots set navigator.webdriver property to true?
The webdriver read-only property of the navigator interface indicates whether the user agent is controlled by automation.
Source
I couldn't find anywhere if it includes indexing crawlers such as ...
1
vote
1
answer
160
views
Can I install and use an 'npm package' such as ChartJS/OpenLayers in my static website on github pages, or do I need a host that supports NodeJS?
I am building a dashboard with ChartJS and OpenLayers installed through NodeJS, so I install packages locally with npm. OpenLayers also must be installed locally through npm, as there is no CDN link ...
1
vote
1
answer
116
views
SEO: How is a javascript history.back link treated by search engines?
I have an back button on each page and subpage on my website.
I always takes the user to the previous page, no matter how many posts and redirects etc. happened on the subpage the user is on
Now I'm ...
0
votes
1
answer
41
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 ...
1
vote
0
answers
24
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 ...
0
votes
1
answer
128
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 ...
0
votes
1
answer
55
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 ...
1
vote
0
answers
175
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, ...