Change ga_tracking code to allow SearchSpring
Posted by on 30 June 2017 08:31 AM
This will work for stores on Miva Version 9.0006 or higher. Note that this will require making template changes. Make sure you make sure you are aware of what version was active before any changes are made. These edits are low-risk but if you feel uncomfortable with making these changes then we advise you to seek help from a developer.
The ga_Tracking code needs to be changed to allow SearchSpring
The following is sample code that can be added to the Google Analytics Tracking Code template. This code needs to be modified.
<mvt:if expr="l.settings:page:code EQ 'SEARCH'">
Remember to change 'SEARCH' to your search page code
<mvt:if expr="l.settings:page:code EQ 'SRCH'">