Google Analytics Integration

Google Analytics data can be integrated and synchronized codeless with various external systems, on premises or in the cloud, using the Layer2 Cloud Connector Enterprise Edition.

Learn on this page how the data integration of Google Analytics is working with the Layer2 Cloud Connector Enterprise Edition by using the step-by-step screenshot tutorial and reading our important advice and frequently asked questions. Make use of the benefits and features of this data integration tool by trying it out yourself:



Google Analytics step-by-step data integration via the Layer2 Cloud Connector

Use the following step-by-step-introduction to get through the whole product and data integration configuration easily. Some steps require a copy-paste task of code snippets. Please follow the recommendations in this introduction closely.

Before you can start the configuration, please be aware that you need an API Account for anabling your desired APIs. To create an account, please visit the Google Developers Page: (if you need help with setting up a Google Account and API, you will find a guideline on our FAQs Pages).



How to integrate Google ANalytics - step-by-step

In fact, you only need to do the 5 following steps to get your Google Analytics data integration started.  

  • Step 1 - setup your connection as required: one-way (in this case).
  • Step 2 - setup your data source, in this case Google Analytics database.
  • Step 3 - setup your target - for example a Microsoft SharePoint list or library.
  • Step 4 - setup your mapping. Recheck your configurations.
  • Step 5 - start your project!


Connection configuration in the Layer2 Cloud Connector for a Google Analytics data integration
Step2: Google Analytics Data Integration: Selection of the source in the Layer2 Cloud Connector
Google Analytics Data Integration - Connection String Setup
Target configuration in the Layer2 Cloud Connector
Mapping configuration in the Layer2 Cloud Connector for Google Analytics data integration
Run the Sync in the Layer2 Cloud Connector for Google Analytics Data Integration

Specific Connection settings for your Google analytics integration

Please copy and paste the connection string into the designated field.




Please enter the following SQL query into the "Select Statement" as well and adjust the placeholder.


SELECT * FROM Segments


Primary Key: Id


Ready to go next steps? 

You can try Layer2 Cloud Connector. Discover how easy a Google Analytics integration can be. 

Layer2 leading solutions product regsitration icon: a grey square with a big orange pen symbol.

Register for free download.

Keep your Google Analytics in sync. Download and try today.


Icon for Layer2 Solutions Finder- Layer2 leading solutions

About the Layer2 Cloud Connector

Get more information about the Layer2 Cloud Connector on the product page.

Known issues and workarounds of a Google Analytics integration


  • If you are installing more APIs from Google, you have to install it all at once and then restart your machine. After a new API installation, you may have to restart the machine to get the entries correct and runnable for the PowerShell-Script.
  • In older versions of the Layer2 Cloud Connector (7.8-7.20) pop-ups don’t work anymore. If you try to connect to the Google API’s you will get a 500 Error, once the API needs the confirmation from the user account. The "Preview Data" functionality is not working automatically in this szenario with V7.8-7.20. You can make it work, if you bypass the authentication through the pop-up. Here is a PowerShell script workaroundfor the preview data functionality for your Google Analytics data integration.