Smart Search Not Working on Specific Pages

Jacob Mallach asked on November 27, 2018 22:51

Hello,

This is very strange. The Smart Search tool in our header navigation works correctly on the majority of our pages with the exception of a few.

Broken Smart Search url: https://carrollu.edu/academics/business/master-of-business-administration

When a term is submitted to search the page reloads to the same url. It should take the user to the search results url.

Search Results url: https://carrollu.edu/search-results?searchtext=music&searchmode=anyword

This only happens with two specific page types. It seems the page is being restricted from leaving. Can you offer any possible reasons for this behavior? I've been scratching my head for a bit now.

Thanks!

Recent Answers


Brenden Kehren answered on November 27, 2018 23:14

Looks like there is a JS error (froogaloop2.min.js) on the example page, could this be the issue?

0 votesVote for this answer Mark as a Correct answer

Jacob Mallach answered on November 27, 2018 23:21 (last edited on November 27, 2018 23:30)

Nah - that error has no effect. It's related to the video and I've removed it in a test page. Still broken.

Here is another url where the same problem exists:

https://carrollu.edu/academics/arts-sciences/graduate-programs-in-education

0 votesVote for this answer Mark as a Correct answer

Dragoljub Ilic answered on November 28, 2018 10:20

Hi Jacob,

Could be that you have two input (submit) button's on that page and because of that those two are in collision. Just for test, can you remove 'Request Information' form and try to search again?

Best regards, Dragoljub

1 votesVote for this answer Mark as a Correct answer

Jacob Mallach answered on November 28, 2018 18:35 (last edited on November 28, 2018 20:26)

Hi Drago,

Removing the form has no effect.

It's very strange. I've made a duplicate of the page. Then essentially removed all elements/widgets (including the signup form), one by one from the page, but the issue still persists even after all widgets are removed. However, when I create a new blank page, using the same page type, the smart search works correctly. Bizarre. My next steps will be to create a blank page type (smart search works at this point), then add in each widget one by one to see where/if the break happens. I'm unable to find any consistency with things going awry.

0 votesVote for this answer Mark as a Correct answer

Jacob Mallach answered on December 4, 2018 18:54

Ok - After much deliberation, I've pinpointed Google Tag Manager as the culprit. The marketing folks are targeting page urls with form submit triggers, rather than say an isolated form elements class within the page. I'm working to get that untangled, which will resolve the problem.

0 votesVote for this answer Mark as a Correct answer

Jacob Mallach answered on December 5, 2018 00:00

Update: The Google Tag Manager - Form Submit Trigger is conflicting with the two submit btns on my page i.e., the bizform submit and smart search submit. We are adding Google Tag Manager via the master template. Have you any experience with this and/or idea's on solutions?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.