AdWords
3.9K members online now
3.9K members online now
Use AdWords conversion tracking and reporting to measure your results. Have a question about Google Analytics? Post it here, on the Google Analytics Community!
Guide Me
star_border
Reply

Two same sets of analytics code on each page

[ Edited ]
Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

I have a website having 2 sets of analytics code on each page. If I do a "view source" on any of the web pages, I see 2 sets of analytics code, one from GA Dashboard for WP and one on its own, but both with the my User account (same GA code). Does it mean the indicated traffic is doubled? Kindly explain. Thanks.

2 Expert replyverified_user

Re: Two same sets of analytics code on each page

Follower ✭ ✭ ✭
# 2
Follower ✭ ✭ ✭
Dear Amaresh ,

How have you inserted GA code , Did you do it via some Widget in Wordpress ? Also is the UA code same for both GA Sets that you see ?

Re: Two same sets of analytics code on each page

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Hi Swetha, yes the UA code is the same. Two plugins use the same UA code - WP dashboard and Yoast SEO plugin. Does it mean that the traffic gets doubled? I am confused.

Re: Two same sets of analytics code on each page

Follower ✭ ✭ ✭
# 4
Follower ✭ ✭ ✭
No Traffic will be counted as single itself ,

Re: Two same sets of analytics code on each page

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
Thank you so much Shweta. I need to tell this to a client. Can you please give me any reference to this. Thanks again

- Amaresh

Re: Two same sets of analytics code on each page

Follower ✭ ✭ ✭
# 6
Follower ✭ ✭ ✭
Dear Amaresh,

i knew it because even my website has same issues , we are using wp site with yoast and stuff , My website Click Prefect , and when we check data it is counted 1 itself , in case i come across some analytics report for your reference for same , i will forward you .

Re: Two same sets of analytics code on each page

Top Contributor
# 7
Top Contributor

This is interesting;...

Let me ask two of our specialists on UA to chime in here;

@petebardo ?

@AdWiser ?

Moshe, AdWords Top Contributor , Twitter | Linkedin | Community Profile | Ad-Globe
Did you find any helpful responses or answers to your query? If yes, please mark it as the ‘Best Answer’

Re: Two same sets of analytics code on each page

Top Contributor
# 8
Top Contributor
Thank you for flagging this for me, @MosheTLV. Off the top of my hat I'd say that although the system will not register two visits, it will definitely register one page view per request (per code insertion) and thus the pageviews will be inflated (doubled).
Calin Sandici, AdWords Top Contributor | Find me on: Google+ | Twitter | LinkedIn | myBlog
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here.