WordPress.org

Forums

Google Content Experiments
Problems with _setAllowLinker (2 posts)

  1. lbrean
    Member
    Posted 2 years ago #

    Where google analytics is set up for cross domain tracking (e.g. domain.com and secure cart.otherdomain.com) the _setAllowLinker is required.

    However, the GCE plugin won't allow the required

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

    to be saved above the control code. (it just plain won't save it to the database). Thus, it's not possible to begin experiments as there is always a "Web server rejects utm_expid." error.

    See for example,

    https://productforums.google.com/forum/#!msg/analytics/9ogbbQPZFpk/zK5xsxfwsvkJ

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

  2. glennm
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for your comment lbrean.

    I tried adding

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

    right before the <!-- Google Analytics Experiment code --> and did not encounter any problems with inserting this code. The source code shows that the code is added between <head> and <!-- Google Analytics Experiment code -->.

    I suppose you did read Run an Experiment Across Subdomains already?

    Which theme (and version) and WP version are you running?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.