Our Google Tag Manager integration allows you to install Refiner in “anonymous visitor” mode, as well as for “identified users”.
Please note: You need to have a Google Tag Manager account with a published container on your website to use this installation method.
To install Refiner on your website or app with Google Tag Manager, just follow these steps:
1/ Navigate to the Google Tag Manager container which is installed on your website or app.
2/ Click on “Add New Tag”
3/ Name your new tag “Refiner” and click “Choose a tag …”
4/ Navigate to the “Community Tags” by clicking on the banner above the tag list
5/ Scroll to “Refiner” and click “Add to Workspace”
6/ Fill in the “Project ID”. You can find your project ID on the Installation page inside your Refiner account.
7/ If you want to identify your users (recommended) you can fill the User ID, User Email and User Name fields shown in the screenshot above. The data used for the mentioned fields can be obtained from the Google Tag Manager Data Layer.
8/ Set the trigger for the Refiner snippet to “All Pages”. You can control when exactly a Refiner widget is shown in your Refiner dashboard.
That’s it! Your Refiner widget should now be installed on your website or app. You can test if everything is working as expected by logging in to your app as a new user or by visiting your website in a new anonymous window.