Google Optimize is Google's website testing and experimentation platform.
It only takes a few minutes to test ProveSource with Google Optimize. Once you are done, you'll be able to see the difference.

Set Up Google Optimize

If you don't have an account already, setup one here:
https://www.google.com/analytics/optimize/

Get Started

Once you log into your account, you'll see your experiments dashboard.

Link to Google Analytics

Optimize experiments are measured natively by Google Analytics and the products must be linked to unlock the full functionality of Optimize.

To link your Optimize container to an Analytics property:

  1. Navigate to your Optimize Accounts page
  2. Select a container.
  3. Click LINK PROPERTY in the Container information panel.
  4. Select a Google Analytics property that corresponds to the web domain where you’ll be running experiments. For example, if you created an Optimize container for example.com, select your example.com Analytics property. Properties that you don’t have Edit (or higher) permission to and properties that are linked to a different Suite Organization will appear grayed out.
  5. Select one or more Analytics views, including at least one with few or no filters. Every Optimize experiment sends data to one Analytics view, and it will use that view's goals/metrics for its experiment objectives. The view(s) selected here will be available when you set up your experiments in Optimize.
  6. Click LINK.

Create an Experiment

Click Create Experiment to start configuring your experiment

Fill in the new experiment form. In the What is the URL of the page you'd like to test? put your website's URL. Make sure to write your fully resolved URL.
For example, if your website is https://mywebsite.com/ note you should omit the www part and include a slash at the end.

Select the A/B test option, and click Create.

Create Variants

Click Create Variant and name it "With ProveSource".

Google Optimize already provides us with a default variant called "Original" (without ProveSource). We are going to use the newly created variant "With ProveSource" to run a test with ProveSource enabled.

You now should have 2 variants in the current container:

Click Save in the top right corner to save your work.

Traffic Split

Click a variant to adjust the traffic split between the two versions of your website.
We recommend testing with the default 50/50 split, but it's up to you.

Configure Objectives

Objectives are metrics or activities that your variants are measured against. Your experiment objective determines your experiment’s status and which variant is the leader. You can add additional objectives, but they do not affect status or leader declarations.

In the Description and hypothesis field, write what are your expecting to achieve, like "When ProveSource is enabled, signups count should increase"

Click Add Experiment Objective > Choose from List to import a list of Goals from your connected Google Analytics account.

If you did not yet connect your Google Analytics, no worries. You can either configure a custom objective, or save your experiment and connect Google Analytics from the right-side todo list in the Google Optimize dashboard.

Select one of your goals to proceed.

Click the Targeting tab to target your relevant users.

Scroll down to the When section and click Create Rule > URLs
In order to run your A/B experiment on every page of your website, select contains and put your website address.

This ensures your experiment will run on subdomains and any other page on your website.

Add ProveSource


Your experiment is almost ready, the only thing left is to add the ProveSource code to the "With ProveSource" variant.

Go to the variants section and click the "With ProveSource" variant. If you don't have the Google Optimize extension installed, you'll be prompted to install it.

You should now be redirected to your website's home page, or whichever URL you inserted Create an Experiment step.

In the top left, click the rectangle icon > type "head" in the Element Selector field, uncheck the options > Click Add Change > Select JavaScript.

Grab your ProveSource snippet and paste it inside the Run JavaScript input box.

NOTE: You need to remove the <script></script> tags from the script, as well as these lines:
<!-- Start of Async ProveSource Code -->
<!-- End of Async ProveSource Code -->

Select After opening tag and finally Apply.

In the top right you should see "1 change." click Done to save your variant modifications.

Launch Experiment

When you're ready, click Start Experiment.
It may take several hours for data to appear in your Google Optimize dashboard.

You are done!

Did this answer your question?