Analytics
2.1K members online now
2.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 code without send pageview

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Dear all,

please, is it okay to use Google Tag Manager and insert a full GA code via GTM and then include the first part of GA code, without both ga(create) and ga(send) lines? Or just without ga(send)?

Does it make any problems for tracking?

1 Expert replyverified_user
1 ACCEPTED SOLUTION

Accepted Solutions
Marked as Best Answer.
Solution
Accepted by topic author Rebatespotter D
March 2016

Re: GA code without send pageview

Top Contributor
# 4
Top Contributor
Hi,

I'm not sure how the code snippet would help setting up cross domain tracking, including it won't cause any issues as it would be simply ignored.

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

View solution in original post

Re: GA code without send pageview

Top Contributor
# 2
Top Contributor
Hi,

Why would you include the first part of the code? It is for including the analytics.js library and for initializing the ga function. The tracking tag in GTM takes care of everything you need for tracking.

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital

Re: GA code without send pageview

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Thank you for your answer.
Because the way, how we have to implement cross-domain tracking, requires that. We are still trying to find a solution with only GTM, but in case that it does not work - would the situation be a problem?
Marked as Best Answer.
Solution
Accepted by topic author Rebatespotter D
March 2016

Re: GA code without send pageview

Top Contributor
# 4
Top Contributor
Hi,

I'm not sure how the code snippet would help setting up cross domain tracking, including it won't cause any issues as it would be simply ignored.

Arnold Majlath, Google Analytics Top Contributor
Was my response helpful? If yes, please accept it as solution.
Circle Me On Google+ | Visit me @ Redfly Digital