Rich-text Reply

Goals only tracking for control, nothing for variation with redirect

codemytest 10-19-15

Goals only tracking for control, nothing for variation with redirect

[ Edited ]

I have a URL redirect setup fir variation 1. For the goals I have click goals being triggered manually but everything is tracking to control. In the goal options I've specificed both the control and variation urls. Why is this happening?

 

 Sample goal below. I have the code running at the Experiment level.

 

// 1: clicking the signup
    jQuery('#provider_registration_image_link, #provider_registration_opener_link_div').click(function(){
        // ensures the optimizely object is defined globally using
        window['optimizely'] = window['optimizely'] || [];

        // sends a tracking call to Optimizely for the given event name.
        window.optimizely.push(["trackEvent", "click_signup_link"]);
    });

 

Cheers,
Julian Josephs
Founder @ CodeMyTest

JDahlinANF 10-20-15
 

Re: Goals only tracking for control, nothing for variation with redirect

"For the goals I have click goals being triggered manually but everything is tracking to control"

Do you mean that you are only seeing goals accomplished for Control and no success events in the variant?

 

1- Have you verified that the selector is valid in the variant's landing page?

2- Is the Variant's landing page included in the URL targeting of the experiment?

 

I'm guessing you verified the jQuery path already but do not have the landing page in the experiment's URL targeting.  If you need to add it, you will want to wrap your redirect code with "if not already on the new URL" logic.