Jump to content

hotjar url regular expression target products page


dandumit

Recommended Posts

Hi

I have installed HotJar script on my presta. 

I am tracking now main page. 

I would like to track as well all pages that matches PRoduct  page : like /myprestashop.com/index.php?controller=product&id_product

I have taken from Presta code following regexp for product :

"#^/(([_a-zA-Z0-9-\pL]*)/)?(?P<id_product>[0-9]+)\-([_a-zA-Z0-9\pL\pS-]*)\.html$#u"

However if I paste that in hotjar regexp field it says that it's invalid.

Could you please help me to reformulate it ?

Thank you

Daniel

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...