This page provides the requirements for Optimize CMS integration to work with Wordpress Multisite.
On page requirements¶
Pageid
or postid
must be added to as a class on the body element in the HTML, like this:
<body class=”page-id-{id}”>
or
<body class=”postid-{id}”>
That will look something like:
or
Fields¶
Inside Optimize, some required fields must be completed.
Prefix path - contains a prefix path before the edit URL and after the domain (see Edit URL for details).
The edit URL¶
For Optimize integration to work, the edit URL inside the CMS must look like this:
http(s)://domain.tld/#{prefix_path}/wp-admin/post.php?post=#{post_id|page_id}&action=edit"