Google has published some new features/functions within the Google Website Optimizer javascript file, siteopt.js

Outlined below are the new features:

  • Returns replacement content for a section as a string.
  • Undefined indicates that the default content should be used.
  • An empty string is a valid substitution.
  • Returns section variation number, 0 through N-1 where N is the number of variations including the original for the given section.
  • Undefined or 0 indicates default.
  • Returns combination number, 0 through M-1 where M is the total number of combinations, the product of the individual section sizes.
  • Undefined or 0 indicates the original.
  • Returns the combination as a string in the form “A-B-C-…” where “A” is the variation number of the first section, B for the second, etc.
  • Undefined indicates the original, “0-0-0…”.

Please note the following:

  • All of these must be called AFTER the control script has been executed on the page.
  • The utmx function may return ‘undefined’ for a variety of situations and should be tested for.
  • These functions do not query the cookies.
  • Original content is not returned when using these and must be encoded into the page by you.

These functions help make it much easier to implement more complex testing and personalization experiments that previously required the creation of a lot more custom code to accomplish the same thing.

Over the next week we will be doing a series of posts of ways these new features can be used in the experiments you do.

Message Sent

Thank you for registering.

Cardinal Path hosted a live session to connect with you and answer all your questions on Google Analytics.
Get all the expertise and none of the consultancy fees in this not-to-be-missed, rapid-fire virtual event.

Thank you for submitting the form.

Thank you for submitting the form.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you.

Click here to download access the tool.

Message Sent

Thank you for registering.

Message Sent

Thank you.

Message Sent

Thank you.

Message Sent

Thank you

Message Sent

Thank you

Message Sent

Thank you.

Message Sent

Thank you

Message Sent

Thank you.

Message Sent

Success!
Your message was received.

Thank you.

Thank you for registering.

Cardinal Path is continuing with its series of free training. Next we are conducting training on Google Data Studio. Check it out here.

Message Sent

Thank you for registering.

Thank you for your submission.

Your request has been submitted and a rep will reach out to you shortly.

Message Sent

Thank you for your interest.

Thank you for registering.

You should receive a confirmation email from GoToWebinar with your unique webinar login information. If you do not receive this email or have trouble logging in to the event, please email asmaa.mourad@cardinalpath.com.

Thank you for subscribing!

You're now looped into the world's largest GMP resource hub!

Thank you for your submission.

Thank you for your submission.

Thank you for your submission.

Thank you for your submission.

Message Sent

Thank you for registering.

Message Sent

Thank you for your submission.

Thank you for your submission.

Message Sent

Thank you for registering.

Thank you for registering.​

Paid media spend by Government websites increased a whopping 139% YoY in 2020.

2020 Online Behavior Live Dashboard

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

2020 Online Behavior Live Dashboard

Thank you for your submission.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Thank you for registering.

Message Sent

Success! Thank you
for reaching out.