AdWords is now Google Ads. Our new name reflects the full range of advertising options we offer across Search, Display, YouTube, and more. Learn more

Analytics
4.1K members online now
4.1K 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

GA multi tracker pageview

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi

 

Just to check if there's any diff bet these two scripts order placement. Will both these scripts work? I am unable to find the page view under Behavior > Site content > All pages > page title

 

Option A 

ga('create', 'UA-xxxxx-x', 'singtelcrm.com');

  ga('create', 'UA-xxxxx-x', {'name':'edmtracker'});

  ga('send', 'pageview');

  ga('edmtracker.send', 'pageview');

 

Option B

ga('create', 'UA-xxxxxxxx-x', 'singtelcrm.com');
  ga('send', 'pageview');
  
  ga('create', 'UA-xxxxxxx-x', {'name':'edmtracker'});
  ga('edmtracker.send', 'pageview');

 

Thanks

Re: GA multi tracker pageview

A T
Participant ✭ ✭ ✭
# 2
A T
Participant ✭ ✭ ✭
Hi,

Both of them should work fine.

You can easily debug on the website with GA debugger:
https://chrome.google.com/webstore/detail/jnkmfdileelhofjcijamephohjechhna

You can check in chrome, console tab with 'Preserve log' turned ON.

Best Regards,
GA Guru.

'Star' or 'Accept as Solution' if it helped.

Re: GA multi tracker pageview

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Thanks GA Guru, do I need to add additional script on the page to make it work? The script seem working fine but somehow I am still unable to find this page <page title> in my google analytic, even in Real-Time

Re: GA multi tracker pageview

A T
Participant ✭ ✭ ✭
# 4
A T
Participant ✭ ✭ ✭
Are you seeing the data being sent to GA in debugging console?