Setting up Google Tag Manager (GTM)
Note: Storeganise does not provide support for GTM configuration or guarantee that custom tags will work. Platform updates may affect custom code, and ad-blockers can prevent GTM from firing for many users.
Requirements
You need a Google Tag Manager account with a container already created. If you haven't set one up yet, see Install and set up Google Tag Manager or consult your web development team.Finding your GTM container ID
- Log in to your Google Tag Manager account. Near the top of the window, you will find your container ID, formatted as "GTM-XXXXXX"

- Copy this ID and paste it to your Storeganise Google Tag Manager ID field in the Developer settings.
Connecting GTM to Storeganise
- Log in to your Storeganise account. Click on your name in the top right corner and select Main Settings.
- Open the Developer tab in the left menu and scroll down to Customer Portal Integrations where you will see an option to add Google Tag Manager ID. Paste your GTM Container ID here and click Save.

Test your GTM container
- Log in to your GTM and click on the Preview button in the top right corner.

- A new window will open. Enter the URL of your Customer portal or your Storeganise website (example: https://yourstorage.storeganise.com or https://www.yourstorage.com)


FAQ
Can we add Facebook pixel through GTM?
Yes, once you set up GTM you can proceed to setup Facebook pixel. More details can be found here: Facebook Pixel Setup
Can I use GTM alongside a Google Analytics ID?
Yes, but be careful with Google Tag conflicts. Storeganise supports both a GTM container ID and a GA4 Measurement ID in Settings > Developer > Customer Portal Integrations. Please note that if you also set a GA ID, make sure your GTM container does not include an active Google Tag as it handles the same job and will cause data collection issues such as missing events.
My GTM tags aren't firing. What should I check?
Start with the GTM Preview tool to confirm the container is connected. If tags fire in preview but not in production, the most likely causes are ad-blockers. Try disabling your pop-up blockers (in browser or using extensions) then try again.
Already disabled ad-blockers and still not working?
The most likely cause is a Content Security Policy (CSP) restriction. Storeganise's default CSP blocks third-party scripts that haven't been explicitly allowed, which can prevent GTM from loading entirely. To fix this, you can add both: https://www.googletagmanager.com and 'unsafe-inline' under script-src via your CSP settings. Adding CSP Directives