Sitecore 8.1 A/B testing: How can I change the section position when I am performing testing - sitecore

I am working on the Sitecore A/B testing and I would like to test my A version with my product section on the top, while in B version, my whole product section is on the bottom?
I have tried to figure it out in the Sitecore Jetstream demo site first (see the diagram in below). I want to move the whole bottom section upwards in my version B, while version A keep as it is. However, I cannot do so but only able to change the component within a section.
Can someone help me on this? Thanks in advance.

There are 2 types of Experience Optimization multivar, A/B tests in Sitecore, the component test and the page test. In your case which kind of test you need depends on the jet stream demo possibilities. With the page test you can test to a new page as long as it uses the same template. The component test is just for one component.
Create a new page where you move the hole section, and use a Sitecore page test.
(If it is not possible to move the section, first change the template to make it possible)
See Create and Run Page Tests

Related

Component Testing (A/B Testing) an exiting personalized component with Geolocation in Sitecore

I'm trying to create a A/B component test in Sitecore on a existing condition on a component, example:
A certain banner image is only displayed if a request comes from New York city, for all the other requests the image will not be displayed. Can I now create a A/B component test (new Variant) on top of this condition to display two different images randomly?
When I create the variant on the city condition I no longer have access to the default condition (no image in case of city different of New York), meaning that I cannot switch between conditions in the component menu, from that moment on I can only switch between test variants.
Before creating the variant:
After creating the variant:
Does anyone know if this configuration is possible in Sitecore (8.0 150812), or did anyone had to do something similar, and if so how was it achieved?
Thanks in advance.
The behavior is changed in more recent versions of Sitecore, (tested in Sitecore 8.1 update 2) with this version the edit variations button is directly greyed out when there is personalization rule. so not possible anymore to create personalizate variant and test variants.
Not the way to go, try page testing if you use a personalized component.

Sitecore Glass.Mapper error when item is not available

We have a Sitecore site that's using Glass.Mapper. We also have a simple two step workflow, "Draft > Ready for publish" on all items. There are global items, which are promos that can be placed on pages. Authors create promos, then create pages and place the promos on the pages.
If a page is published but a promo hasn't been published, the page returns this error:
Constructor on type 'OurSite.Sitecore.Models.IPromo' not found.
Since the scenario of authors failing to publish new promos is a real one, I would like to prevent this error from happening, so that the page just renders without the promo. Thoughts?
Another option would be to validate the datasource of components in the getRenderer pipeline. Marek has blogged about this with a solid solution:
http://www.skillcore.net/sitecore/sitecore-automated-validation-of-mvc-rendering-datasource
This also handles the scenario where components without datasource (ie. item was deleted) break the page in PageEditor.
That being said I also believe that in addition you should have a proper exception strategy as well. The link Jim Noellsch posted is a good one. I recall this one from Charlie Turano to be a solid one as well:
http://www.hhogdev.com/blog/2015/june/mvc-rendering-exception-handler.aspx
Assuming IPromo is an interface, convert it to a class model Promo. If this is an MVC solution, you could also override the OnException method to quietly suppress missing content.

Sitecore 8 Component MV testing

How to start a component test in Sitecore 8?
In sitecore7.5 there was a button Start Test on the ribbon, now under the Optimizaion menu in Experience Editor there are Lists section and Create a page test. But not Start test button.
Just to clarify what I'm trying to achieve. I've an Item that has a rendering in Presentation Details. On that rendering there is a MV test defined. I would like to start this test.
Sitecore 8 now has new A/B testing features.
In the Page Editor (Experience Editor) there is an Optimization tab. Here you can Click "Start a Test". Instead of just being able to test certain controls individually you can now test a complete variation of a page.
You then go to the Experience Optimization option on the Dashboard to see how well your variations are performing.
You can still test individual components in the Page Editor as before by clicking on the component and selecting the "Test a component" option in the ribbon above the component.
In Sitecore 8 you should run the component test using the workflow command "Approve with test". Take a look at this document

Multi-variate testing with custom form component

I have a custom form component that captures lead information and then gives the visitor a download. I have set up an A/B test on the form with different fields and layout to determine which form is the most effective at capturing leads. Basically our A case is the full form and the B case has only the required fields.
Until now both our A and B cases have a score of 0. How do I measure success for a case of the multivariate test? I imagine I need to trigger something in the code-behind that indicates a success or complete state but I don't have anything to go on. What am I missing either in the Page Editor/CMS side or on the code side? Or is this even possible?
Sitecore CMS 6.5.0 and DMS 2.0.0 rev.111230 (6.5.0 Update-3) - Not using WFM
Sounds like you might not have 'deployed' your test? You need to go into the Marketing Center > Test Lab > find your test and then in the Review Tab there will be a 'Deploy' option.
When you're done with your test, you come back here and click 'End Test' in the same place.
Check out the marketing operations cookbook for more detail.
http://sdn.sitecore.net/upload/sitecore6/65/marketing_operations_cookbook_sc65-usletter.pdf

A/B testing with ember.js

I've found absolutely nothing on Google with regard to A/B testing with a client-side framework such as ember.js.
The goal is to serve up adjusted content (different nav items, header phrasing etc.) in order to A/B test our UI/UX. I should note that nothing significant (i.e. sitemap) is changing, just some minor presentational aspects.
There are several possible approaches, namely using different view templates / helper snippets, or serving up a different stylesheet. Both have advantages and challenges, and ideally the same visitor would always be served the same version. Results would be fed through a service like Mixpanel.
I fear I may have to roll my own solution here, but would love to hear any suggestions / pointers.
At their root, most A/B javascript testing frameworks cookie a user as being in the "A" or "B" group, give you a way to ask if a user is "A" or "B" and report "results" back to a service to measure. This can plug into Ember or other client-side frameworks in a way that is fairly orthogonal to the framework.
I would recommend exposing the "A"- or "B"-ness of the user as a property on your user (in Ember, probably your UserController). Then you can use your framework's standard branching or conditionals to render the "A" UI or the "B" UI.
I have actually built a pretty robust A/B Testing tool using Ember for my startup. We are actually thinking of open sourcing it if there was a demand for it. I can let you know the basic idea of how it works for now though.
I have landingPage objects, that can then have a bunch of A/B tests associated with the, When a user comes to the landing page, they are assigned a cookie, and for each A/B test that are assigned either A or B.
I have used two different approaches within jade to handle A/B testing.
For styling type things, I use something like this
and set the .css property in the view to either test-a or test-b
or if it is for text I will do something like this
{{view view.landingPageText}}
and the landingPageText would be set to either the text for A or the test for B.
This thing also dynamically sets up mixpanel, mailchimp, and uses parse.com and node. You can see the code in action here.
http://golf.nextstudioapps.com/