Google Analytics goal tracking with url parameter

I'm trying to setup conversion tracking on a site, where a form can be filled on different pages. The only thing that the confirmation url after filling a form is ?surveySucces, so pages where a form is filled could be:

domain.com/landingpage?surveySuccess or domain.com/landingpage/subpage?surverySuccess

I just want to setup up one goal, so I can track all the forms that are filled. I've tried with RegEx, but with no luck.

Any ideas?

Upvotes: 0

Views: 2061

Answers (1)

vinoaj
vinoaj

Reputation: 1674

Try these goal settings:

  • Goal setup: Custom
  • Type: Destination
  • Match type: Regular expression
  • Value: \?surveySuccess
  • Case sensitive: unchecked

Upvotes: 2

Related Questions