All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Low Googlesearch - search terms not showing up in Google Analytics anymore

Chad Crowell 18 Mar 2015 16:02 question, complete

Hi Low - I know you are setting up a new MBP but I need some help. I have had Low GS installed on www.gcx.com for years, and the search works great. We're doing some new SEO initiatives there and I was looking through GA and noticed that on May 6, 2014, our search terms stopped being recorded in GA http://d.pr/i/1cyDZ

I looked at your changelog and I don't see any changes since early 2014, so I think perhaps Google changed the way they capture this information. I looked at the settings in GA and the Custom Search account and they are all set to use q as the search param, which is what your add on sends to Google to get the results, but somehow its not recording the keywords. Are you able to address this?

Replies

  1. Low 18 Mar 2015 16:09

    Hiya Chad,

    Perhaps the tracking code changed? You'd need to explicitly tell Google that you're searching, like this guy did with Low Search, for example: https://gist.github.com/denvers/2881680

    I'm guessing you need a similar syntax for the tracking code?

  2. Chad Crowell 20 Mar 2015 05:25

    Thanks, that was perfect. I ended up adding

    ga('send', 'pageview', {'page': '/search/?q={exp:low_googlesearch:keywords keywords="{segment_2}" format="url"}','title': 'Search Results'});

    and its working now. Thanks!!