You pick a type in the Conversion type field when you create a goal. Its description shows under the field, and Tracking › Code gives you the line to add to your site. Using these event names means CROforce already knows what each one is.
All 17 conversion types
Conversion type | Event name | What it means |
|---|---|---|
Add payment info |
| The addition of customer payment information during a checkout process. For example, a person clicks on a button to save their billing information. |
Add to cart |
| The addition of an item to a shopping cart or basket. For example, clicking an add to cart button on a website. |
Add to wishlist |
| The addition of items to a wishlist. For example, clicking an add to wishlist button on a website. |
Complete registration |
| A submission of information by a customer in exchange for a service provided by your business. For example, signing up for an email subscription. |
Contact |
| A telephone, SMS, email, chat or other type of contact between a customer and your business. |
Customize product |
| The customization of products through a configuration tool or other application your business owns. |
Donate |
| The donation of funds to your organization or cause. |
Find location |
| When a person finds one of your locations via web, with an intention to visit. For example, searching for a product and finding it at one of your local stores. |
Initiate checkout |
| The start of a checkout process. For example, clicking a checkout button. |
Lead |
| A submission of information by a customer with the understanding that they may be contacted at a later date by your business. For example, submitting a form or signing up for a trial. |
Purchase |
| The completion of a purchase, usually signified by receiving order or purchase confirmation, or a transaction receipt. For example, landing on a thank you or confirmation page. |
Schedule |
| The booking of an appointment to visit one of your locations. |
Search |
| A search performed on your website, app or other property. For example, product or travel searches. |
Start trial |
| The start of a free trial of a product or service you offer. For example, trial subscription. |
Submit application |
| The submission of an application for a product, service or program you offer. For example, a credit card, educational program or job. |
Subscribe |
| The start of a paid subscription for a product or service you offer. |
View content |
| A visit to a web page you care about. For example, a product or landing page. View content tells you if someone visits a web page's URL, but not what they do or see on that web page. |
The tracking code for each type
Add the line where the action succeeds — after the form is accepted, on the confirmation page, when the item is in the cart. The second argument is an object of details; {} is fine when you have none.
entailInsights.trackEvent('add-payment-info', {});
entailInsights.trackEvent('add-to-cart', {});
entailInsights.trackEvent('add-to-wishlist', {});
entailInsights.trackEvent('complete-registration', {});
entailInsights.trackEvent('contact', {});
entailInsights.trackEvent('customize-product', {});
entailInsights.trackEvent('donate', {});
entailInsights.trackEvent('find-location', {});
entailInsights.trackEvent('initiate-checkout', {});
entailInsights.trackEvent('lead', {});
entailInsights.trackEvent('purchase', {}); // send order fields too
entailInsights.trackEvent('schedule', {});
entailInsights.trackEvent('search', {});
entailInsights.trackEvent('start-trial', {});
entailInsights.trackEvent('submit-application', {});
entailInsights.trackEvent('subscribe', {}); // send order fields too
entailInsights.trackEvent('view-content', {});Add details when you have them — they're stored with the event:
entailInsights.trackEvent('add-to-cart', { productId: 'tee-01', price: '39.95', currency: 'USD' });
entailInsights.trackEvent('search', { query: 'running shoes' });
entailInsights.trackEvent('lead', { form: 'contact-sales' });Purchase and Subscribe take order fields. Send value, currency, the order ID and the products bought. The full list is in Track purchases and revenue.
Copying the code from the goal dialog. If Tracking › Code shows a long block of text instead of a single entailInsights.trackEvent(…) line, don't paste it — use the line for your type from the list above.
Actions you don't need code for
Page views, clicks and form submissions are tracked automatically once the tracking script is installed — see Automatically tracked events. For a goal like "submitted the contact form" or "visited the pricing page", pick a type such as Lead or View content and choose the automatic event under Event rules, with a filter on the page. On Shopify, the CROforce app sends purchase and initiate-checkout for you.
Next steps
- Goals: Create a goal with one of these types.
- Track custom events: How trackEvent works, with examples.
- Track purchases and revenue: Every order field explained.
Frequently asked questions
Do I have to use a built-in type?
Every goal needs a conversion type, so pick the closest one. The event that counts can still be any event you choose under Tracking › Event rules.
Can I add my own conversion type?
No. The list of types is fixed. For an action that doesn't fit, pick the nearest type and name the goal after what it really is.
Which types carry an order value?
Purchase and Subscribe. Send the order total as value and the currency with the event, and set the goal's Value tracking to Order value.
