Skip to main content

I want some events into dataLayer that are being flowing into Segment. 

 

Setup information
Analytics.js is placed directly on the website without any involvement of Google Tag Manager. 

Problem

I created a destination of Google Tag Manager and connected with the source where events are coming in. 

 1 - I am not getting any event or page call into the dataLayer
 2 - I am not seeing settings of track call in the settings of destination (google tag manager) 

 

My question

Do we need to load Google Tag Manager from Segment? or maybe load Segment library from Google Tag Manager in order to get dataLayer

 

Hey ​@Anas, Segment would be loading the snippet so you shouldn’t need to load the tag manually. For something like this, the first suggestion is making sure that the container ID is correct as we don’t have visibility on device mode metrics, so you’ll need to confirm on your end. There’s also a setting called ‘track all pages’ - we recommend turning this on as well to ensure you’re capturing everything. Hope this helps.