AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
2.7K members online now
2.7K members online now
Learn how to set up goals and Ecommerce tracking, verify accuracy of attribution traffic sources, and discuss funnel visualization, Multi-Channel Funnels, the Goal Flow Report, and Enhanced Ecommerce
 
Guide Me
star_border
Reply

question on using regular expressions for destination type goals

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I am working on setting up goals on squarespace eCommerce site.  If a string within a URL (not the beginning or end) for my goal of "Product Detail Page Visits" is always going to include the string "pdp-", then would I put "pdp-" in the regular expression field or "/pdp-/" instead?

Thanks,

-Jake

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Jake S
March 2017

question on using regular expressions for destination type goals

Top Contributor
# 2
Top Contributor

Hi,

 

Just put pdp- into the field and set it to regular expression, each URL with pdp- in it will trigger the goal.

 

Hope this helps.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

View solution in original post

Marked as Best Answer.
Solution
Accepted by topic author Jake S
March 2017

question on using regular expressions for destination type goals

Top Contributor
# 2
Top Contributor

Hi,

 

Just put pdp- into the field and set it to regular expression, each URL with pdp- in it will trigger the goal.

 

Hope this helps.


Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

question on using regular expressions for destination type goals

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭

This works. Thanks 👍