The Sync Log is a database table that records every sync operation between your WooCommerce store and Mautic. It provides a detailed history of what was sent, whether it succeeded, and what went wrong if it failed.
Viewing the Sync Log
- Go to WooCommerce > Mautic Integration > Tools.
- Scroll down to the Sync Log section. You will see the total number of entries currently stored.
- Click the View Sync Log button. The log table will appear below.
Log Table Columns
Each row in the sync log table contains the following columns:
- Time – The date and time when the sync event occurred, displayed in your WordPress timezone.
- Type – The kind of object that was synced. Possible values include
contact,order, andabandoned_cart. - Object ID – The WooCommerce ID of the object. For contacts this is the WordPress user ID, for orders this is the WooCommerce order number, and for abandoned carts this is the cart record ID.
- Action – What operation was performed. Common actions include
create_or_update,create_note,send_email,add_to_segment,cart_sync, andcart_recovery. - Status – Either
successorerror. - Contact ID – The Mautic contact ID associated with the operation, if known.
- Message – A human-readable description of what happened. For errors, this contains the reason the operation failed.
Pagination
The sync log displays 25 entries per page by default. You can navigate between pages using the Prev and Next buttons below the table. The current page number and total number of pages are shown between the navigation buttons. The per-page count can be adjusted between 10 and 100 entries.
Clearing the Log
To remove all entries from the sync log, click the Clear Sync Log button. This permanently deletes all log records from the database. The log table will be empty after clearing, but new entries will continue to be recorded as sync operations occur.
Clearing the log does not affect your Mautic contacts or WooCommerce data. It only removes the record of past sync activity.
Debugging with the Sync Log
The sync log is your first stop when troubleshooting sync issues. Here are some common scenarios:
- Orders not appearing in Mautic – Filter the log for entries with type
orderand statuserror. The message column will tell you why the sync failed, such as authentication errors or missing required fields. - Contacts created but missing data – Look for
create_or_updateactions with statussuccess. If the contact was created but fields are empty, the issue is likely in your Mautic field configuration rather than the sync itself. - Abandoned carts not tracking – Check for
cart_syncentries. If none appear, the Abandoned Cart module may not be enabled or the customer has not provided their email address.
If you need more detailed information about the API requests being sent, enable Debug Mode on the Connection tab to capture full request and response data in the WooCommerce logs.