ga_funnel

The Neto Webstore has a number of dynamic URLs which are hard for tracking scripts to capture. For example, the Neto Cart and Checkout pages. Use this function to set a static URL for Google Analytics and other tracking scripts to read instead.

Examples

Set a ga_funnel value

[%ga_funnel%]/purchase/confirmation.html[%/ga_funnel%]

Read a ga_funnel value

[@config:GA_FUNNEL_VALUE@]

Usage

To setup a static tracking URL, you first need to add the ga_funnel value in your theme code. Then you need to read the ga_funnel value in your tracking script.

To set the trackable URL, place the ga_funnel function anywhere on the template of the page you'd like to track and then define the static URL to be used. If you are setting goals or conversions in your Analytics account, make sure the ga_funnel URL matches what you have configured in your Analytics account.

So for the example above, this would make any page loading that tag appear as /purchase/confirmation.html which you could then mark as the confirmation page in the goal funnel for your account, or use to track page views, conversions, or any other type of event.

For more information on conversion tracking in Google Analytics, check out Googles documentation. For other platforms, refer to their documentation as needed.

To read the trackable URL, add the [@config:GA_FUNNEL_VALUE@] into your tracking script, wherever it reads in the "Page View" URL. This will usually be set as a Custom Script.

Note: If you are using the Google Analytics 4 or Facebook Pixel scripts provided by Neto you do not need to add the ga_funnel value. If you have a custom tracking implementation, refer to their documentation on how to pass a custom page view value.

Default Tracking

Neto covers most dynamic webstore URLs by default. If you are using a standard or premium Neto theme you should not need to add ga_funnel functions for the following pages. Only add a ga_funnel value for custom conversion events you are setting, or if your theme has been customised and these URLs removed.

Page Template Funnel Value
Checkout cart/onepage.template.html /purchase/confirmation.html
Checkout Complete cart/invoice.template.html /purchase/invoice.html
Customer Login / Registration customer/login.template.html /user/login.html
Customer Registration Complete customer/register/done.template.html /register/done.html
Personalise Your Gift Vouchers cart/voucher.template.html /purchase/voucher.html
Quote Received cart/quote_invoice.template.html /purchase/quote_invoice.html
Shopping Cart cart/shopping_cart.template.html /purchase/shopping_cart.html
Upsell Page cart/upsell.template.html /purchase/upsell.html
Wholesale Customer Registration Complete customer/wholesaleregister/done.template.html /register/done.html
Wholesale Customer Registration Form customer/wholesaleregister/template.html /wholesaleregister/form.html

Was this article useful?

Be notified when this page is updated. Optional.