WordPress.org

Support

Support » Plugins and Hacks » Google Content Experiments » [Resolved] Experiment Code No Longer Included

[Resolved] Experiment Code No Longer Included

  • Hi,

    I started an experiment using this plugin a little while back and it ran without problems for a number of weeks. Somewhere along the line, the experiment code stopped getting included in the HTML that was generated for the page.

    I have tried turning off the experiement in each of the pages and then turning it back on but this did not seem to make any difference.

    Do you have any idea what the problem might be?

    Riddles and Answers

    Many thanks,

    Scott

    http://wordpress.org/extend/plugins/google-content-experiments/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author glennm

    @glennm

    I see you’re using WP 3.5. Did you update your theme recently and maybe forgot to edit the theme to include the action hook?

    Thanks Glen! You were spot on.

    I added the following line after the opening <head> tag and the experiment codes were included again.

    <?php do_action( ‘wpe_gce_head’ ); ?>

    Cheers,

    Scott

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Experiment Code No Longer Included’ is closed to new replies.
Skip to toolbar