[wp-hackers] Google Content Experiments & wp

Dobri dyordan1 at ramapo.edu
Wed Aug 28 15:53:19 UTC 2013


Just a quick search yielded this:

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

Maybe you can give it a try?

If not, use PHP to get the google experiment cookie that's set in the javascript code for the experiment to decide which header to show. If I'm not mistaken, that's how google stores experiment data - cookies created with javascript (which I think you can access with php - http://davidwalsh.name/php-cookies)

P.S. if you're going to do business with cookies (no pun intended), you should also give this a read: http://kb.iu.edu/data/ajfi.html It helps with figuring out which cookie is the right one

Good Luck!

~Dobri

On Wed, 28 Aug 2013, at 11:44 AM, David Ernst wrote:

> Hey pals,
> 
> Does anyone here know if it's possible to use Google Content
> Experiments<https://support.google.com/analytics/answer/1745147?hl=en&topic=1745207>to
> test variations that apply site-wide? For example, running a test on
> different versions of a theme's header.php.
> 
> Thanks,
> 
> David
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers



More information about the wp-hackers mailing list