Atoms / Library

howtoconversion-goalsanalyticsclick-trackingwordpressscript-tag

The automatic goal names

5

Automatic goals

8

Booking platforms tracked

Spectare fires five conversion goals automatically, without any setup on your part. Order tracks a completed WooCommerce purchase and records the real total and currency. Enquiry fires when someone submits a form through Gravity Forms, WPForms, or Contact Form 7. Call clicked, Email clicked, and Booking clicked each fire when a visitor taps a tel: link, a mailto: link, or a link out to a booking platform such as OpenTable, Tock, Resy, Eventbrite, or TheFork.

Each goal has its own switch. WooCommerce tracking is controlled by the spectare_track_woocommerce filter, and you can rename the goal with spectare_woocommerce_goal_name. Form tracking is controlled by spectare_track_forms, with spectare_form_goal_name for renaming. The three click goals share a single toggle: the Settings checkbox in your WordPress admin, or the data-track-clicks="0" attribute on the script tag if you are embedding Spectare without the plugin.

The goal names shown above are exactly what appears in your analytics panel. Because they are set automatically, you will see them accumulate from the moment Spectare is live, with no additional configuration required. If you want a different name in your reports, the rename filters let you change them without affecting when or whether the goal fires.

For script-tag integrations outside WordPress, the data-track-clicks="0" attribute sits alongside data-accent on the same script element and turns off all three click goals at once. Disabling it does not affect Order or Enquiry tracking, which run through their respective WordPress hooks independently.

This is one atom from the Spectare content library. Spectare assembles the right atoms for each visitor in real time, based on who they are and how they arrived.