Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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 load time for alternative versions, and if so how can I measure this?

share|improve this question
1  
I edited this to be less subjective and hence on-topic. Feel free to modify if something else was intended. –  dan Jul 25 at 7:02
    
Thanks! Lousy excuse: I was trying to enter this before going to bed and had to use a cr@ppy touchscreen tablet, making typing a royal pain. –  Clay Nichols Jul 25 at 15:49
1  
In my experience it most definitely does add to the load time. Consider looking at Chrome Developer Tools "Network" interface for render time comparisons. –  AllInOne Jul 25 at 20:50

2 Answers 2

Using chrome developer tool, load the page and view the Timeline tab in dev tools. Do this for each version of the page and see if the variations are taking longer to load.

share|improve this answer
up vote 0 down vote accepted

Negligible: about 30 ms to 100 ms

I found the Pingdom page speed test to be easier to use than the Chrome tool.

Here's what I found:

  1. Loading /index.php and then having the google .js experiment code reload a second page: total time: 1.37 s (avg of ( 1.40, 1.79 , .93 s(avg)) s

  2. Loading the secondary page (bypassing the index.php and the google .js experiment code: total time : 1.28 (avg of (1.84 (.833 1.52, .961)

So looks like about .1 seconds. Fairly insignificant.

  1. In looking at the actual load progression it looks like the delay is more like .3s

It looks like the overhead of loading the GA Experiment code is about 30ms (avg of 20 37 40)

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.