Parsely / wp-parsely

The official WordPress plugin for Parse.ly - makes it a snap to add the required tracking code to enable Parse.ly on your WordPress site.
https://wordpress.org/plugins/wp-parsely/
GNU General Public License v2.0
61 stars 31 forks source link

Multisite: Allow setting the site ID for multiple subsites simultaneously #1026

Open acicovic opened 1 year ago

acicovic commented 1 year ago

Is your feature request related to a problem?

We got the following report from a user:

I didn't end up using the plugin because when activated for MultiSite setup, it still required setting the settings per blog and we would have to configure about 1000 blogs.

We do have some reports of similar cases. As things stand, managing Site IDs in a multisite setup with lots of subsites is a chore. An important information is that very often, the Site ID is identical for all subsites.

Describe the solution you'd like

A simple approach would be to add a setting or tool that would allow to copy a given site ID to all subsites.

A more granular approach would be to give the user the ability to add a given Site ID to specific subsites using an interface with checkboxes (including a "select all" checkbox). For example, the OneLogin SAML SSO plugin has a feature like this.

GaryJones commented 1 year ago

I could imagine a CLI command that would take a CSV / JSON key-values of WP multisite ID (1, 2, 3), and map them to Parse.ly setting site ID (foo.com, bar.co.uk, baz.eu).

Or another command that sets the Parse.ly setting site ID to be the homeurl / siteurl by default (perhaps with the option to strip www), since that is typically the starting point for the Parse.ly site IDs anyway.