WordPress.org

Ready to get started?Download WordPress

Forums

Google Content Experiments
[resolved] Experiment Code No Longer Included (3 posts)

  1. samunro
    Member
    Posted 1 year ago #

    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?

    http://www.treasurehuntriddles.org/riddles-and-answers/

    Many thanks,

    Scott

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

  2. glennm
    Member
    Plugin Author

    Posted 1 year ago #

    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?

  3. samunro
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.