How to setup Google Analytics Search Magic Integration?
1. Granting permissions to your Analytics property
Go to your Google Analytics account by clicking here then navigate to "View Access Management" in the "Admin" section of the property as shown below.
Once you are in the View Access Management screen, add a new user and grant "Viewer" role access to the email address [email protected].
2. Getting the Google Analytics View Id
Next you'll have to fill in the Google View Id in Search Magic. You can get the right value on the Analytics site. Go to "View Settings" in the Admin section of the property as shown below.
Once you are on the View Settings page, you'll need the View ID as shown below
You'll need to copy the view id and enter it into Search Magic. By navigating to Store Settings page in Search Magic and entering it into the Google View Id Field Highlighted below. Click Save when done.
3. Enable Google Analytics Site Search Tracking
The last thing you'll have to do is enable Google Analytics Site Search Tracking . You will need to be in the Google Analytics site. Go to "View Setting" in the Admin section of the property as shown below.
Then scroll down to the bottom of the View Settings section as shown below. Make sure Site Search Tracking is set to On and set the Query parameter is set to query. If there is already a query parameter value in the field. You can add a comma and then query. (example: term,q,query) Once finished press Save to save your setting in Google Analytics. And you are finished.