Analytics
2.2K members online now
2.2K members online now
Dive into multiple domain (Cross/Sub) tracking, implementing Ecommerce and Enhanced Ecommerce, setting up Event tracking, and Universal Analytics code.
 
Guide Me
star_border
Reply

Rendering script after page load completes

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hello Folks,

 

I am new to google analytics. I have a portal web product  which is used by different clients. Portal system loads all settings specifically to clients. I am loading google analytics script after loading dom. In other words, if I look for analytics script in page source it's not there but it could be found in developers tool in the browser.

Is there any impact of loading this way? or you guys have some suggestion for me to load the script dynamically for different clients. my application is an angular application.

 

Rendering script after page load completes

Visitor ✭ ✭ ✭
# 2
Visitor ✭ ✭ ✭

Hi @Sahi k,

 

After loading DOM is a well tested method now of delivering the tracking code. Google Tag Manager has in built options to load up certain tags once the DOM is loaded and ready, so you should be good to go.

 

Many thanks,