Google Analytics Integration

Integrate real-time clickstream data from Google Analytics.

You can easily connect your Google Analytics through our real-time integration, either through Google Tag Manager or by inserting a snippet into the header of every page of your website.

We support both the deprecated Universal Analytics and the modern Google Analytics 4.

With Google Tag Manager

Log in to your Google Tag Manager and create a new tag of type Custom HTML with the following script:

<script type="text/javascript">
  window.dataLayer = window.dataLayer || []
  window.dataLayer.push(['config', 'FLIKE', {
    customerId: '<customerId>',
    key: '<Public API Key>',
  }])
</script>
<script async src="https://flike.app/gtm.js" type="text/javascript"></script>

Set the tag trigger to All Pages and publish the updated tags to your site by clicking the Submit button in the top-right.

Without Google Tag Manager

Insert the above-shown snippet either at the end of your pages <body></body> tag, or at the end of the pages <head></head> tag.


Did this page help you?