Google: Set up goal conversion in Analytics
Measure an intended action in Google Analytics 4 and check that the correct event is recorded.
This guide applies to GA4. Do not use the old Universal Analytics View and Goals menus for a new setup. First decide what to measure: a page visit, a wishlist-button click, an actually added favourite or a completed purchase. These are different actions.
Check the foundation and avoid duplicate tags
You need the correct GA4 property, web data stream and permission to configure events. The measurement ID begins with G-; an old UA- ID is not GA4. A Diversity theme has Google settings under Appearance → Themes → active theme → Add-ons → Google. Use an intentional installation route and inspect existing tagging before also adding Tag Manager or another Google tag.
Use Google Tag Assistant or GA4’s realtime/debug view to check that an intended page visit is recorded. Consent, blockers, login state and the active theme variant can affect the check. Do not send customer names, email addresses or phone numbers as event parameters.
Example: measure visits to a particular page
- Open the correct Analytics property. Under Admin → Data display → Events, choose to create an event.
- Give it a clear name describing what it actually measures. Choose creation without code where available.
- Use
page_viewas the existing trigger event and enter the intended page’s exact URL. Check language, domain and any trailing slash. - Mark the new event as a key event if it matters to the business. Do not mark every page_view as a goal when only one page should count.
- Visit the intended page and a different page and check that the new event fires only where intended.
Example: measure wishlist use
A page-based goal does not automatically count wishlist clicks. First check whether the actual shop already sends a suitable event. Otherwise configure it separately, for example in Tag Manager. For the Diversity favourite button, a click trigger can target the button with class tws-article-favoritebutton and its nested icon. Check the actual button in the correct theme; do not apply the same selector to an unknown TPL theme.
A click-only check can be named wishlist_click. It counts an interaction attempt and can include both adding and removing. Do not automatically label it add_to_wishlist unless you have verified it fires only on a successful addition. Check the initial add, removal, repeated clicks and logged-in versus anonymous visitors. Preview and check event counts before publishing a Tag Manager change.
Are you measuring purchases or visits?
A visit to a product or confirmation page does not itself prove a paid order or bank settlement. Ecommerce tracking with correct purchase data is a separate setup. Google Ads conversions also require deliberate configuration; a GA4 key event does not automatically update every advertising campaign.
New event configuration does not recalculate all historical traffic. Check realtime first and allow for report processing; do not assume every report is complete within exactly one day.
Older Universal Analytics illustrations
The preserved images below show the retired Universal Analytics View/Goals interface. They are historical context, not GA4 instructions. Use the GA4 steps above.
Quick start
- Define a page visit, click, successful favourite or purchase.
- Check one intended GA4 installation.
- Configure the event with correct conditions.
- Check positive and negative cases before using the figures.
Requires GA4 permissions and verified tagging in the correct active theme. Custom wishlist clicks require separate configuration; this article does not claim such tracking is already installed.