Help Center

Integrating Google Analytics

The Google Analytics module gives you detailed funnel analytics for each of your order forms.

Once you’ve enabled the module, SPP will start sending pageview and conversion data to GA. To get a view funnel data like in the image above you will need to set up a conversion goal in GA.

Here’s how.

  1. In Google Analytics go to Admin > Views > Goals
  2. Click + New Goal
  3. Choose Custom and click Continue
  4. Enter the following values and click Continue:
    1. Name: Complete purchase
    2. Type: Destination
  5. Enter the following values and click Save:
    1. Destination: (Regular Expression) /receipt/(.*)
    2. Funnel: On
      1. Step 1:
        1. Name: View orderform
        2. Screen/Page: /order/(.*)
        3. Required: Yes
      2. Step 2:
        1. Name: Submit orderform
        2. Screen/Page: /submit/(.*)

It’s recommended to enable the User-ID feature which helps Analytics track client’s purchases from different devices. You can do so in Admin > Property > Tracking Info > User-ID.

To track sales in Analytics you’ll need to enable e-commerce tracking in Admin > View > Ecommerce set-up.

Tracking Individual Forms

You can create conversion goals for each of your forms by repeating the steps above and using your form ID instead of the wildcard selector (.*) in funnel steps.

For example, if your order form’s URL is then your form ID is 912BB206 and you would create the conversion goal like the screenshot below.

Note the goal destination is /receipt/(.*)?orderform=912BB206 because in this case (.*) is responsible for Order ID.

Was this helpful?