简体   繁体   中英

Testing Javascript with Google Website Optimizer?

Can I test Javascript code in GWO? For example, how would I test:

$('#first_name_field').watermark('First name');

Ideally the person who tests different content doesn't have to enter lots of javascript, only the text they want to change... like "First name" above.

Yes you can test JS code in a MVT. You obviously can for a A/B test.

For the MVT case just wrap the GWO section code around html the script tags you want to test (you may need to add some).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM