Segmenting a Decrease Bounce Rate Goal

Issue

There is currently no one-step way of configuring a Decrease Bounce Rate goal per device (desktop, mobile, tablet) within the app.

The following solution allows you to create Decrease Bounce Rate goals for different type of devices: desktop, mobile, and tablet.

*Be aware that a device can be classified in more than one category.

Solution

    1. First, create a Custom JavaScript goal from the goal templates and attach it to your experiment.

      mceclip0.png

    2. After you create it, copy the ID of your goal. You can find the ID if you go to the goals page.




    3. Then, you will have to add the following code to the Global JavaScript section of your Project. You can find this section by clicking on the Setting menu item on the left sidebar and scrolling down to the Global JavaScript text box.

      Un-comment the appropriate line for the segmentation of the type of device type you want to track. Only leave one un-commented; otherwise this solution code will not work properly.

      See the Pen Decrease Bounce Rate Device Segmented Goal Code by Convert.com (@gcrewe) on CodePen.


      You can make sure that you did not make any syntax errors in the code by checking it in the browser console. Just paste the code and press enter. You should see any errors you might have introduced while editing it. 

      Now you are ready to go!

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