I’m developing an E-Commerce site and I want to set-up a Google Analytics Goal for whenever a user visits any product page. However, the product pages are all in different categories and have different urls.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are 2 approaches you could take.
The preferable way is for you to unify the product page URLs to meet a particular pattern, so that you could configure the goal to be a Head Match on that pattern.
ie, if your gimzo product URL is domain/products/gizmo, and your widget product URL is domain/products/widget, you could set the goal to trigger for viewing
/domain/productsas a head match.Or, you could just set a new pageview/event for every product pageview. ie, on the product page, set an additional event to lock the goal against. (The drawback to this approach is that it messes with bounce and exit rate numbers.)
Now, the one caveat with these approaches is that a single goal can only trigger once per visit, so, your “Goal” will only trigger once, even if I view 4 product pages in my visit.