How to determine if clicks in a new feature affect purchases.

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

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

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

  1. So, first I would create a variation that would show that feature. We can do this by using the Visual Editor and adding also Custom JS to the new variation. I am not going to touch this into detail as this is no the goal of this article.

  2. Create two goals. One for the click on the new features section, and another one for when revenue is generated on the page. Again, I am not going into detail on how to do this as 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.

    save image

  4. Open the Goal Editor and Click on the "Create Advanced Goal" tab.

    EditingGoals.png


    save image
     
  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'. Making sure that your replace '1234' and '4567' with your own experiment ids, and name it. In this case, I am naming it 'New Feature' influence in conversions'.


    
    (1234 in convert.currentData.goals) AND (5678 in convert.currentData.goals)

    save image

  7. You are now done. Your goal should track when both of the click on the feature and do a purchase. This should help you identify if this new feature is influencing the purchases. 
Have more questions? Submit a request

Comments