Custom record for tracking webiste search within details web page

I've obtained a search web page in my internet site : www.example.com/?page=search. It offers an HTML kind with method = "get" for looking the website so a look for "test" will cause link : www.example.com/?page=search&q=test There is additionally pagination so I wind up with the adhering to web content web pages tracked in analytics :

www.example.com/?page=search&q=foobar&page=2
www.example.com/?page=search&q=foobar&page=3
www.example.com/?page=search&q=foobar&page=4
www.example.com/?page=search&q=test
www.example.com/?page=search&q=test&page=2
www.example.com/?page=search&q=test&page=3
etc...

How is it feasible to get a record for the search regards to "page = search"? Should I do it using the occasion monitoring API or exists an arrangement just means using Google Analytics? Possibly a personalized record?

many thanks

0
2019-12-02 03:06:08
Source Share
Answers: 1

If you have Google Analytics on your internet site it can offer you things that individuals are looking for. On the website arrangement you complete the "Query Parameter (called for) " area with the URL parameter which comes prior to words that individuals are looking for. In your instance it is "q".

0
2019-12-03 04:39:00
Source