Google Analytics is a very useful tool that can track how your website is performing. It tracks the number of visitors, their sources and demographics. It measures how well your eCom store sells products. It can tell you the results of online advertising and email campaigns. Review this article to connect your eCom store to Google Analytics.
For more information about upgrading to new Google Analytics, see below or click here.
- A Google account to use Google Analytics. For information about creating one, click here.
- A Google Analytics account. For information about creating one, click here.
- Your tracking ID from inside your Google Analytics account. For information about locating it, click here.
- Enhanced eCommerce enabled
Setting up Google Analytics
- Login to the Lightspeed eCom Back Office.
- On the left menu of the eCom Back Office go to Settings and in the Website Settings column, select Web statistics > Set up Google Analytics.
- Toggle on the switch labeled Status.
- Enter the tracking ID in the Tracking ID field.
- In the OPTIONS section, enable the switch labeled Support for advertisers to enable Google advertising cookies. This enables certain advertising features from Google. For more information, click here.
- The switches labeled Support for advertisers and Anonymous IP relate to disabling Google Analytics based on visitor preference. For more information, see below or click here.
- Toggle on the switch labeled Enable Enhanced Ecommerce features. This enables specific Google Analytics cookies that track shopping and purchasing behavior, economic performance and merchandising success. Enable Enhanced Ecommerce inside Google Analytics by following these instructions. For more information about Enhanced Ecommerce, click here.
- Click Save.
- You're done! Google Analytics is now installed.
Businesses affected by privacy laws like the General Data Protection Regulation (GDPR) and the California Consumer Privacy Act (CCPA) protect the personal information of citizens. Google Analytics can track personal information. To learn more, click here.
Use the setting Start Google Analytics only when visitors accept cookies to stop tracking visitors on your website who decline cookies.
When Start Google Analytics only when visitors accept cookies is toggled off, Google Analytics will track the site usage of all visitors regardless of their cookie preferences.
- In your eCom Back Office under Settings > Web statistics > Set up Google Analytics:
- Toggle the switch on beside Start Google Analytics only when visitors accept cookies.
- Turn on Anonymous IP.
- In your eCom Back Office under Settings > Web extras > COOKIE LAW, make sure Confirmation is required is selected from the dropdown list.
A button labeled Upgrade to new Google Analytics appears when Google Analytics was set up before summer 2019. Clicking this button enables the new Enhanced eCommerce features as explained in this step.
Technically it also migrates Lightspeed eCom from using analytics.js to gtag.js. For more information about this migration, click here.