| 开发者 | renovasrls |
|---|---|
| 更新时间 | 2026年12月4日 00:19 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
Label|value): write the value, the label or both.sheetsync-cf7 folder to /wp-content/plugins/ (or upload the zip from Plugins → Add New → Upload Plugin) and activate it.No. The Google Sheets API is free within Google's usage quotas and does not require a billing account.
Only to Google (oauth2.googleapis.com and sheets.googleapis.com), directly from your server, into the spreadsheet you choose. A copy is also kept in your WordPress database if the entries archive is enabled.
Open the spreadsheet, click Share and add the Service Account email (shown in Contact → SheetSync for CF7) as Editor.
Save the form and click "Sync headers" again.
No. Columns are only added when you click "Sync headers" (or automatically when row 1 is completely empty). To stop sending a field, tick it in "Fields not to send".
Google Sheets converts a value into a date only when it matches the locale of the spreadsheet (File → Settings → Locale). Choose the matching format in Contact → SheetSync for CF7 → Date and time format: 11/03/2026 for Italy, 03/11/2026 for the United States, or 2026-03-11, which works everywhere.
By default the value after the "|", as in the Contact Form 7 emails. In the Google Sheets tab of the form you can choose the label or both ("Label | Value").
In the "Column mapping" section choose "Custom text…" for that column and type the value. Mail-tags such as [your-name] or [_post_title] are replaced with the submission data.
Open the Dashboard tab: the entry shows the error and a "Send to Google Sheets again" button. With WP_DEBUG_LOG enabled, errors are also written to wp-content/debug.log with the prefix [SheetSync for CF7].
Yes. By default you get an email (to the site admin email or the recipients you choose) when a submission fails, and the plugin retries it automatically about once an hour with increasing intervals. You are emailed again only if the last attempt fails too. The retries use WP-Cron: if your host disables it (DISABLE_WP_CRON), set up a server cron job that calls wp-cron.php.
When enabled (Contact → SheetSync for CF7 → Settings), a small script reads the UTM parameters and the ad click IDs of the page where the visitor lands, keeps them in the browser's localStorage (key ss_cf7_attribution, for the chosen number of days; only with marketing consent if you enable the WP Consent API option) and sends them with the form. With Google Ads auto-tagging the gclid is enough to classify the lead as "Google Ads". The landing page and the referrer are stored without their query string.
The stored key is encrypted with your WordPress salts. If they change, the plugin asks you to upload the JSON key again.