WordPress.org

Ready to get started?Download WordPress

Forums

Google Content Experiments
[resolved] Won't Validate (4 posts)

  1. h50n
    Member
    Posted 1 year ago #

    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/

  2. h50n
    Member
    Posted 1 year ago #

    This is the site urel http://speechplug.com/

  3. glennm
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  4. h50n
    Member
    Posted 1 year ago #

    Working now, thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.