https://www.growthbook.io/ logo
r

rough-lamp-33182

06/18/2023, 12:18 AM
Hey, how can I set up an experiment on a wordpress site? I have GA4 linked but can’t figure out how to actually make a traffic split. Usually AB testing sites have a javascript snippet to install on your website but I don’t see that in the GrowthBook docs. I can see PHP and Node SDKs but those won’t work on wordpress. I need to be able to do a split URL test where 50% of the audience goes to URL 1, and the other 50% goes to URL 2 then somehow monitor that in growthbook
f

future-teacher-7046

06/19/2023, 4:45 AM
For WordPress, we usually recommend using our JavaScript SDK. If you don't have npm or a JavaScript build step in your site, it's possible to use our pre-bundled SDK instead. Our Google Tag Manager guide has an example of this. https://docs.growthbook.io/guide/google-tag-manager-and-growthbook