How to determine if clicks in a new feature affect purchases

Let's say that we introduced a new feature called "related items" on our e-commerce website, and we would like to know how this new feature affects purchases.

This article is about creating a goal that would trigger when visitors click on the feature and revenue is generated. This compounded goal could tell us the influence of that click on purchases. 

These would be the steps to take to create this compounded goal. 

  1. First, create a variation that would show the feature. We can do this by using the Visual Editor and also adding Custom JS to the new variation. I am not going to expand on this detail as it is not the goal of this article.
  2. Create two goals. One goal for the click on the new feature section, and another goal for when revenue is generated on the page. As in the prior step, I am not going to go into detail on how to do this as it is not the goal of this article.
  3. Write down the goal id numbers located in each of your goal configurations in the goal editor.
    mceclip0.png
  4. Open the Goal Editor and Click on the "Create Advanced Goal" tab.
    mceclip1.png
  5. Click on the "Page Tags" and drag the "JS Condition" item onto the main panel.
  6. Paste the following code into the 'JS Condition' text box, replacing the 'JS Code'. Make sure that you replace 'XXXX' and 'YYYY' with your own goal IDs, and name this new goal and save it. In this case, I am naming it 'New Feature Influence on Conversions'.
    
    (XXXX in convert.currentData.goals) && (YYYY in convert.currentData.goals)
    mceclip2.png
  7. You are now done. Your goal should track when both the feature is clicked and a purchase is completed. This should help you identify if this new feature is influencing the purchases. 

 Important

Need assistance? Start a conversation with our Support Team.
CONVERT MORE

Reliably Convert More Site Visitors, Even If Everything Else is Changing in Your Business.

START 15-DAY FREE TRIAL
✓ No Credit Card  ✓ Easy Set-Up  ✓ Access All Features

Comments