Starting with the Pro version, Friendly Analytics includes a powerful tag manager. The integration into your website is very easy.

1. Find out your Tag Manager ID

The first thing you need to do is find out the ID of your Tag Manager. You can find it here:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/7f1d546d-5100-464a-b31f-e05dc31cc912/Untitled.png

2. Embed Tag Manager

Now you can embed the Tag Manager into your website. If you use our WordPress plugin, you can simply enter the ID here - done:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/6c62534f-0978-491f-9f54-3aea1af57511/Untitled.png

Otherwise, you can simply add the Tag Manager ID using your tracking code - like this:

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/4a42358b-1e56-44da-8c9b-53e9335f89b7/Untitled.png

In the case of the above example, the entire code would look like this. You would simply have to replace "123" with your Site ID and "abc456" with your Tag Manager ID - done.

🇨🇭 If hosted in Switzerland:

<script id="friendlyanalytics-123-abc456" src="<https://cdn.friendlyanalytics.ch/fa.js>" ></script><noscript><img src="<https://app.friendlyanalytics.ch/fa123.gif>"/></noscript>

🇪🇺 🇩🇪 If hosted in the European Union (Germany):

<script id="friendlyanalytics-123-abc456" src="<https://cdn.friendlyanalytics.com/fa.js>" ></script><noscript><img src="<https://app.friendlyanalytics.com/fa123.gif>"/></noscript>

If you ONLY want to install the Tag Manager without deploying the Friendly Analytics tracking code at the same time, you can simply set the site ID to "0" and leave out the "noscript" section:

🇨🇭 If hosted in Switzerland:

<script id="friendlyanalytics-0-abc456" src="<https://cdn.friendlyanalytics.ch/fa.js>" ></script>

🇪🇺 🇩🇪 If hosted in the European Union (Germany):

Powered by Fruition