Hey, how can I set up an experiment on a wordpress...
# announcements
r
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
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