| 开发者 | progrmoiz |
|---|---|
| 更新时间 | 2026年10月19日 01:24 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[activecalculator id="your-calculator-id"] works in the classic editor, widgets, and page builders such as Divi, Beaver Builder, Bricks and WPBakery.[activecalculator id="…"] shortcode or the Elementor widget.Yes. Calculators are built and hosted on ActiveCalculator. The free plan includes unlimited calculators and 100 impressions a month. The Pro plan has unlimited impressions and submissions.
In ActiveCalculator, open your calculator and go to Share → Embed. You can paste the whole embed code from that tab, the embed link (for example https://app.activecalculator.com/embed/…) or just the ID. Links that use a custom name don't contain the ID, so copy the embed code from the Embed tab instead.
Add [activecalculator id="your-calculator-id"] wherever shortcodes work. The id can be the calculator ID or its embed link.
In Elementor, search the widget panel for ActiveCalculator. In Divi, Beaver Builder, Bricks, WPBakery and other builders, put the shortcode in the builder's shortcode, text or code module.
In your ActiveCalculator dashboard. Responses are stored by ActiveCalculator, not in WordPress. From there you can send them to Google Sheets, webhooks, Zapier and other tools.
Each time a calculator loads counts as one impression on your ActiveCalculator plan. To save them, the block editor shows the calculator only when you click Load preview, and the Elementor editor shows a placeholder. Your published pages always show the calculator.
The calculator script loads only on pages that contain a calculator, and calculators further down the page wait until visitors scroll near them. Nothing is added to other pages.
Some optimization plugins delay JavaScript until the visitor interacts with the page. This plugin excludes its script from WP Rocket, LiteSpeed Cache, FlyingPress and WP-Optimize automatically. With another optimization plugin, add app.activecalculator.com/embed.js to its "delay JavaScript" or "defer" exclusions.
The block editor files in build/ are compiled from the files in src/, which are included in the plugin. The project is developed in public at github.com/activecalculator/activecalculator-block. To rebuild it, run npm install and then npm run build.
[activecalculator] shortcode for the classic editor and page builders.