Google Analytics Integration in Cozy Country Redirect
We are not sure about you, but we are pretty tired of 10s of dashboard for all the different graphs. We believe that there must be only one dashboard, you login, you check how stuff are working and you make plans. Shopify has an inbuilt functionality of Google Analytics and we are taking full advantage of it – here is how:
For Bar and Popup dialogue
Our Google Analytics will create two kinds of events:
- Staying – If a customer chooses to stay when prompted using either Bar or Popup
- Redirect – If a customer chooses to redirect to suggested store.
The technical detail as follows:
|Redirecting (Chose Yes)||Staying (Chose No)|
|Event Label||Matched URL||Matched URL|
Since Auto-Redirects are extremely fast, by that time we don’t have Google Analytics loaded and hence there is no Google Analytics for Auto Redirect.