1

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?

3
  • 1
    I edited this to be less subjective and hence on-topic. Feel free to modify if something else was intended.
    – dan
    Jul 25, 2014 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. Jul 25, 2014 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, 2014 at 20:50

2 Answers 2

0

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.

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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