Support » Plugin: Google Content Experiments » [Plugin: Google Content Experiments] Won't Validate

  • Resolved h50n

    (@h50n)


    I keep getting this error where it says add and check experiment code.

    Experiment code missing the cookie domain name declared in tracking code:line:61, column:95.
    Your page customizes the cookie domain name in the Google Analytics tracking code. The same customization should be present in the experiment code.

    Help would be appreciated

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • This is the site urel http://speechplug.com/

    Plugin Author glennm

    (@glennm)

    Hi h50n,

    Thank you for your question.

    This problem occurs due to an error in the experiment code.

    The following code is present in your Google Analytics tracking code:
    ['_setDomainName','speechplug.com']
    Because of this, you should add the following code above the experiment code you got from Google:

    <script>
    _udn = "speechplug.com";
    </script>

    In total, the experiment code you put in the Experiment code field of the GCE plugin should look like:

    <script>
    _udn = "speechplug.com";
    </script>
    <!-- Google Analytics Experiment code -->
    ... Contents of the experiment code ...
    <!-- End of Google Analytics Experiment code -->

    Please let me know if this resolves your issue.

    Working now, thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Google Content Experiments] Won't Validate’ is closed to new replies.