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

best-beard-3987

11/20/2022, 11:54 AM
Are you guys planning on making a WordPress Plugin?
f

fresh-football-47124

11/20/2022, 8:24 PM
Hi Micha, we’ve thought about it, but we’re not experts on WordPress, so it would take a bit of work.
b

best-beard-3987

11/20/2022, 9:04 PM
How hard/easy is it to use GrowthBook with WP right now? Does it work with caching on the CDN edge level? (Meaning that there must be some kind of JavaScript "distributing" visitors to variants?)
f

fresh-football-47124

11/21/2022, 1:54 AM
it can work on the edge, but there is nothing written to make this super easy.
👍 1
b

best-beard-3987

11/21/2022, 12:11 PM
For the edge I'd have to use the JavaScript SDK?
f

fresh-football-47124

11/21/2022, 6:33 PM
you can use any of the SDKs, they all work the same
b

best-beard-3987

11/21/2022, 10:39 PM
CDN edge cached URLs are not going to trigger a server side SDK, like PHP, right?
f

fresh-football-47124

11/21/2022, 10:40 PM
@future-teacher-7046 ^
f

future-teacher-7046

11/21/2022, 10:42 PM
If you have caching in front of wordpress, then you would need to use the javascript SDK to make changes. I know some hosting providers like WP Engine let you disable caching temporarily on specific URLs, so that's another option - use the PHP SDK and turn off caching for the pages where you're actively running experiments.
👍 1
b

best-beard-3987

11/21/2022, 10:44 PM
But it is possible to run experiments on the edge with the Javascript SDK only?
f

future-teacher-7046

11/21/2022, 10:45 PM
Are you talking about running the experiments within a CDN edge function? Or running it in a user's browser? Both are possible, but the implementations are different
❤️ 1
b

best-beard-3987

11/21/2022, 10:45 PM
In the users browser
Also add-on question: What are the SEO implications? The search bot sees both variations?
f

future-teacher-7046

11/21/2022, 10:49 PM
With WordPress, it's a little hacky. Basically, the server would return one version (which SEO would see). Then, you would use javascript to modify the page after it loads. So something like this:
Copy code
if (growthbook.isOn("my-feature")) {
  const el = document.getElementById("myfeature");
  if (el) {
    el.style.display = "block";
  }
}
Experimentation tools with a visual editor are usually better than GrowthBook for these kinds of changes. So Google Optimize, Optimizely, VWO, etc.
b

best-beard-3987

11/21/2022, 10:50 PM
Now you are breaking my heart 😄 I thought there is a Beta?
f

future-teacher-7046

11/21/2022, 10:50 PM
We do have a beta visual editor, but it's pretty basic at the moment. Good enough for really simple tests, but not anything more complex
b

best-beard-3987

11/21/2022, 10:51 PM
Can I change heading H1 and site title? Can I change some CSS rules?
That would be way enough for the start
f

future-teacher-7046

11/21/2022, 10:54 PM
You can't change the site title, but you can change H1 text and add css rules
1
👍 1
b

best-beard-3987

11/21/2022, 10:57 PM
Thanks for the starter lesson! Once I get around to trying to implement something, I'll come bakc and bug you guys some more. By the way, can I install without containers?
40 Views