Management
This is a feature only available in the pro plans of the Pixel Manager for WooCommerce.
Once the Server-Side Proxy is activated, you can monitor its status, manage the connection, and configure its behavior directly from the Pixel Manager settings.
Status Panel
The status panel in the Server-Side Events > Server-Side Proxy section shows the current state of your proxy connection.
Routing Status
The routing status reflects whether your DNS is correctly configured and the proxy domain is active.
| Status | Meaning |
|---|---|
| Active | DNS is verified and the proxy is routing traffic |
| Pending DNS | Domain was added in the portal, but the CNAME is not yet verified |
| Disabled | Domain was disabled in the SweetCode Cloud portal |
| Deleted | Domain was removed from the SweetCode Cloud portal |
Config Status
The config status reflects whether the Pixel Manager's destination credentials are synced to SweetCode Cloud.
| Status | Meaning |
|---|---|
| Synced | Credentials were successfully pushed to SweetCode Cloud |
| Waiting for Config | Domain exists in SweetCode Cloud but no config has been pushed yet |
| Sync Error | The last config push failed — check the error message for details |
Overall Active Status
The proxy is fully operational (shown as Active) only when all four conditions are met:
- The proxy is enabled in the Pixel Manager
- A sync token is saved
- The routing status is Active
- The config status is Synced
If any condition is not met, the status badge shows Inactive and events will not be routed through the proxy.
Plan & Usage
The status panel also displays:
- Plan name — Your current SweetCode Cloud plan (Free, Pro, Business, or Scale)
- Usage — Number of events sent this billing period vs. your monthly limit
- Usage percentage — Visual indicator of how much of your quota has been used
Enable / Disable
You can temporarily disable the proxy without losing the connection:
- Disable: Click the Disable button. The proxy stops routing events, but all connection data (sync token, domain config) is preserved.
- Re-activate: Click the Re-activate button. The proxy resumes routing events using the existing connection — no need to re-enter the sync token.
This is useful for debugging or temporarily reverting to direct server-side sends.
Sync Now
Click Sync Now to manually push your current destination configuration to SweetCode Cloud. This sends all configured pixel IDs and API tokens for Meta, TikTok, Pinterest, Snapchat, and Reddit.
When to use Sync Now:
- After changing a CAPI token or pixel ID (though this normally auto-syncs)
- If the config status shows Sync Error and you want to retry
- After troubleshooting a connection issue
Auto-Sync
The Pixel Manager automatically syncs your configuration to SweetCode Cloud in three ways:
- On credential change: When you save a CAPI token, pixel ID, or other synced setting in the Pixel Manager, an async sync is triggered automatically.
- Daily sync: A scheduled sync runs once daily (at 3:15 AM local server time) to ensure the configuration stays current.
- Portal-initiated resync: The SweetCode Cloud portal can request a resync from the Pixel Manager (e.g. after a plan change).
Test Connection
Click Test Connection to verify that your WooCommerce server can reach the proxy endpoint through the configured subdomain. This confirms that DNS, SSL, and the Cloudflare Worker are all functioning correctly.
Proxy Failure Behavior
This setting controls what happens when the Server-Side Proxy is unreachable:
| Option | Behavior |
|---|---|
| Fall back to PMW internal event router (default) | The Pixel Manager sends events directly from your WooCommerce server to the ad platforms. No events are lost. |
| Drop server-side events | Events are silently dropped. Use this only if you prefer no direct server calls under any circumstance. |
The default fallback option is recommended for most shops. It ensures conversion data is never lost, even during proxy outages.
Quota Warnings
SweetCode Cloud plans include a monthly event limit. The Pixel Manager monitors your usage and alerts you as you approach the limit:
- At 80% usage: An opportunity card appears in the Pixel Manager dashboard suggesting you consider upgrading your plan.
- At 100% usage (quota exceeded): A high-priority notification appears warning that events may be dropped. The proxy may stop accepting new events until the next billing cycle or until you upgrade.
You can view your current usage in the status panel or in the SweetCode Cloud portal.
Disconnect
Disconnecting is permanent and destructive. All connection data (sync token, domain configuration, callback tokens) will be wiped from the Pixel Manager. You will need to re-activate with a new sync token from the SweetCode Cloud portal.
To disconnect:
- Click the Disconnect button in the Server-Side Proxy section
- Confirm the action in the dialog
After disconnecting, the Pixel Manager reverts to sending all server-side events directly from your WooCommerce server.
Troubleshooting
Routing Status Shows "Pending DNS"
- Verify that the CNAME record was added correctly:
ssp.yourshop.com → ssp.sweetcode.cloud - If using Cloudflare, ensure the record is set to Proxied (orange cloud)
- DNS propagation can take up to 24-48 hours in rare cases — try clicking Verify DNS in the SweetCode Cloud portal
Config Status Shows "Sync Error"
- Check the Last Sync Error message in the status panel for details
- Click Sync Now to retry
- Ensure your server can make outgoing HTTPS requests to
ssp.sweetcode.cloud - Check if a firewall or security plugin is blocking outgoing requests
Events Not Appearing in the Portal
- Verify the overall status shows Active (all four conditions met)
- Flush all caches on your WooCommerce site
- Check the browser's developer tools Network tab for requests to your proxy subdomain
- Try using the Test Connection button to verify connectivity
Quota Exceeded
- Events may be dropped once your monthly limit is reached
- Upgrade your plan for a higher event limit
- Wait for the next billing cycle for the quota to reset
For additional troubleshooting, see the SweetCode Cloud Troubleshooting Guide.