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.

learn more… | top users | synonyms (2)

1
vote
3answers
109 views

Is doing A/B tests using site redirection a bad practice?

I'm developing hotels websites here in Brazil. When the site is done, we do an A/B test with the old version to measure conversion and show to the hotel owner how good our site is. Due to the fact ...
4
votes
1answer
339 views

Google Analytics cookie across SagePay checkout

We use SagePay's Server integration for our online payments. We use Google Analytics to track activity on our website and Google Ecommerce tracking to log transactions. In Google Analytics, under the ...
2
votes
1answer
91 views

@Viewport @media use for input type?

I've searched high and low for some way to setup my HTML5/CSS3 for various devices. Going by screen resolution isn't the best route because some times the screen size of one device is the same as ...
1
vote
1answer
140 views

No cache and Google AdSense performance

I'm developing a page where I need to avoid JavaScript caching by browser. I've added this header: <?php header('Cache-Control: no-cache, no-store, must-revalidate'); header('Pragma: no-cache'); ...
0
votes
1answer
53 views

Implications of SEO for single page websites

I built a server application that handles bot requests for my website, which was built using AngularJS. It works great, but I'm not entirely sure if it's valid in terms of Google's policy for SEO. ...
0
votes
1answer
153 views

Uploading a file automatically for speed test?

I am building a Web UI for a device for internet connection and one of the requirements in it is a speed test. I know the basic concept of how speed test works. A file is downloaded for a limited time ...
1
vote
0answers
19 views

Does the JavaScript that Google Analytics Experiments adds slow down alternate versions, and how could I measure this?

I am using Content Experiments in Google Analytics to test three different landing pages. This uses JavaScript on the initial page to load the alternates. Would the additional JavaScript add to the ...
1
vote
0answers
130 views

Why is my Custom HTML tag not fired in Google Webmaster Tools

I have a Custom HTML tag in Google Webmaster tools that is actually very simple. It consists of the following code (a GTM Macro): {{html generator}} This tag is only fired on the Thank-you page on ...
1
vote
0answers
92 views

Google analytics in E-commerce iframe not tracking source

I have a ticket booking system in an iframe. I am tracking sales but the source of the sales is not being recorded. I'm trying to shed some light on why this might be. The code on the parent page is ...
1
vote
0answers
3k views

Line Feed or Carriage Return - What to use?

In javascript, Line Feed and Carriage Return behaves similarly. Which one to use and when? OR Can it be used alternatively? Unicode Characters: Line Feed: \u000A Carriage Return: \u000D ...
1
vote
0answers
221 views

How to add Google App Script as a gadget to Google Calendar?

I created a small App Script with a small UI. Now I'd like to have it as a gadget in my Google calendar. I tried to embed a gadget with the following basic XML: <Module> <ModulePrefs ...
0
votes
0answers
14 views

How to clean PmWiki from JS:Includer-AWG and protect my site from future infections?

I'm hosting a site for an NGO for several years now. The site seems to be based on a PmWiki backend. I don't know much details because I'm just hosting the site and I'm not the guy who set it up. I ...
0
votes
0answers
32 views

How to inspect code in case of Arabic language?

In case of English, I am able to view by inspect element directly. I want to do the same for Arabic. Using body{direction:rtl} only flips some views but it does not apply body.rtl specific CSS ...
0
votes
0answers
18 views

Discrepancy in Google Analytics multiple accounts

I am reporting my traffic to 2 different Google Analytics accounts. Using Universal Analytics, I am doing something like: ga('create', 'UA-XXXX', 'auto'); ga('send', 'pageview'); ga('create', ...
0
votes
0answers
14 views

Will auto refresh burdens my web app?

I am a self learner and I now I am trying Alfresco share Community Edition. It has a discussion site where user can ask questions. The problem here is alfresco does not provide auto refresh out of the ...
0
votes
0answers
26 views

Stopping JavaScript savvy bots from getting into GA in the first place

I'm aware that bots can be filtered out at the profile level in GA, but I hadn't considered the effect of letting all that bogus data into the web property, and therefore ultimately counting against ...
0
votes
0answers
6 views

Google Experiments - can you run across the entire site?

Is it possible to run a Google Experiment A/B test across an entire website, rather than just a single page and a variation? thx
0
votes
0answers
34 views

Will the jquery.jplayer render the videos from Akamai

Currently I'm using jquery.jplayer with which I'm able to play the videos which are in my local machine. Will this .js be able to render the videos from Akamai? Server or do we need any script change ...