Google optimize a/b test across multiple pages - google-optimize

Does anyone know how to use google optimize to create a split a/b test site wide.
I want to change the text on a button on product pages of an ecommerce site but the same session is currently seeing both the original and the test version as they visit different products. Is there anyway to ensure the test is the same for the whole session of the user?
Example: the add to cart button says add to cart in the original and add to order in the test variant. If a user lands on a product page they see add to order but then as they navigate the site to a different product they eventually see the original add to cart. It’s not consistent across the session. I want them to be locked into that same test variant site wide.

Related

How do I create a catalogue-based website in ix or Wordpress?

I'm not sure if this is the right place to ask. I'm also currently in my last semester of studies for web development.
Id like to create a website similar to an ecommerce site, except instead of checking out and going to pay and place an order, an email gets sent through to me with the product information and also any other added messages the user has. I still need to be able to add products to a cart section so that I don't have to send multiple emails for multiple products.
I wanna do this in Wordpress or Wix because I have to create the entire site in a month, or just get it functional in that time.
Any help would be appreciated!

How do we run two A/B tests in Google optimize but only letting visitors enter one of the a/b tests?

For Example, We have two pages home page and contact page and both have their own variants in google optimize. So when visitor visit homepage and get the new variant from google optimize then it should not see a new variant of contact page when visitor redirects to contact page and vise Versa. Hope you get the point.
One approach is to track which variations users get into using cookies and target accordingly. So, let's say your user lands on the home page and is bucketed into the new variant. You use custom JS to drop a cookie along the lines of user_has_seen_new_variant=true, and in your second experiment you target based on whether or not people have that cookie.
Another approach would maybe be to combine your experiments into one, where you're targeting both pages. That way you would have control over what people are seeing on either page.

How to use the Concrete5 "Page Rating" Add-On

I have a page that shows search results containing pages that matched the search criteria. All of the pages returned are the same type of page (e.g., a person's profile). I want to add a star rating system to it so users can rate the profile.
I've tried adding a custom page attribute and updating it using the output rating helper but that didn't work. It looked like it worked but when I refreshed the page it just went back to whatever the rating was set to originally.
So, I added the "Page Ratings" add-on (https://www.concrete5.org/marketplace/addons/page-ratings/) and installed it. There are supposed to be 2 blocks associalted with it. I'm assuming the list block is the one I need in my case. However, when I go to the page and try to add one of those blocks to my area I don't see them listed. Does anyone know how to use this add-on? There is barely any documentation for it.
You do realize this is a "pay for" application? As such, most of the Developers that do charge for their add-ons are very responsive. Not to push you away from here, but if you have a problem with the installation, payment, etc. Really should be addressed by the Developer.

Programmatically track subdomains in different view for google analytics

I've a site which allows users to register, creating a store front page like a shopping cart for them to customize. Each page is a subdomain of the main page, and is coded using one jsp.
Eg: User creates store front page named "abc", his store front page will be abc.mydomain.com
Is there a way to track these different subdomains individually separately using google analytics programmitically?
I've googled and currently did it by creating views and filters, but as i researched there are no way to create these views and filters programmitically, having to go to the google analytics page to create at there. I saw there is also a limit of views one can create thus am wondering if there are any other solution to this.
Thank You
You can use the Management API to create, update, and delete profiles, but as you've found out there is a limit of 50 profiles (views) per non-premium account. I would say to use advanced segments to segment out hostnames, but again there is also a limit of 100 advanced segments per view. One idea (and I haven't tested this) could be that when a user creates an account, they create a sub subdomain abc.foo.mydomain.com, and after there have been 100 sub subdomains created, switch the subdomain to bar.mydomain.com, etc. This way, you could get 5000 possible combinations. Again, you would want to test.
One other option, and this is similar to what Shopify does, is to have the user input their own GA account through the admin - but the downfall of this is that you (the site designer) wouldn't have visibility into that subdomains data.
Anyway, hope this helps.

How can I set an analytics goal for any product page?

I'm developing an E-Commerce site and I want to set-up a Google Analytics Goal for whenever a user visits any product page. However, the product pages are all in different categories and have different urls.
There are 2 approaches you could take.
The preferable way is for you to unify the product page URLs to meet a particular pattern, so that you could configure the goal to be a Head Match on that pattern.
ie, if your gimzo product URL is domain/products/gizmo, and your widget product URL is domain/products/widget, you could set the goal to trigger for viewing /domain/products as a head match.
Or, you could just set a new pageview/event for every product pageview. ie, on the product page, set an additional event to lock the goal against. (The drawback to this approach is that it messes with bounce and exit rate numbers.)
Now, the one caveat with these approaches is that a single goal can only trigger once per visit, so, your "Goal" will only trigger once, even if I view 4 product pages in my visit.

Resources