Google Analytics

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Google Analytics

Keeling, Diana

We are having an issue with Google Analytics.  We are trying to put two tracking codes on the same page, but we are getting different results for the tracking codes.  We are also testing campaigns.  It seems like pageview data is accurate, but campaign data is inconsistent across tracking codes and we cannot figure out why. 

 

Is anyone else using multiple tracking codes – and do you have the issue of inconsistent data across the tracking codes?

 

Here is what we are using:

 

<script>

  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

 

  // diana was here also or too

  ga('create', 'UA-XXXXXXXX-1', 'wku.edu');

  ga('create', 'UA- XXXXXXXX-2', {'name':'test'});

  ga('send', 'pageview');

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

 

</script>

 

 

Specifically, we are putting that code in the head of the page.  We then visit the URL several times with campaign data (utm_) appended.  We’ll wait a day or so and go back and check.  The first day’s data is usually fairly consistent, but not entirely.  Then, it seems without fail, one of the campaigns will start picking up more hits while the other sees no additional after the first day.  The campaign names we are using are obscure to eliminate the possibility that someone else is using them too.  Both tracking codes are using unfiltered views.

 

Thoughts?

 

 

-- 

Thank You,

 

Diana Keeling

Manager, Web Development Group

Enterprise Applications and Programming

Western Kentucky University

 



You are currently subscribed to [hidden email].
To unsubscribe send an email to [hidden email] with the subject line unsubscribe uwebd. Leave the message body blank. If you experience problems, contact list owner Eric Kreider at [hidden email]. More information is available at: http://www.uakron.edu/webteam/university-web-developers.dot




Reply | Threaded
Open this post in threaded view
|

RE: Google Analytics

wbaumgardner@calbaptist.edu
This post has NOT been accepted by the mailing list yet.

Hi Diana,

 

Hi Diana,

 

Interesting problem. I haven’t attempted this issue myself, but I’m wondering if it’s a syntax issue i.e. https://developers.google.com/analytics/devguides/collection/analyticsjs/creating-trackers#working_with_multiple_trackers

 

Thanks,

 

Waylon Baumgardner, M.S.I.T.

Senior Web Services Manager

Marketing and Communication

California Baptist University

Office: 951.343.4876

[hidden email]

www.calbaptist.edu

 

From: Keeling, Diana [via University Web Developers] [mailto:ml-node+[hidden email]]
Sent: Monday, December 19, 2016 16:40
To: Waylon Baumgardner <[hidden email]>
Subject: Google Analytics

 

We are having an issue with Google Analytics.  We are trying to put two tracking codes on the same page, but we are getting different results for the tracking codes.  We are also testing campaigns.  It seems like pageview data is accurate, but campaign data is inconsistent across tracking codes and we cannot figure out why. 

 

Is anyone else using multiple tracking codes – and do you have the issue of inconsistent data across the tracking codes?

 

Here is what we are using:

 

<script>

  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

 

  // diana was here also or too

  ga('create', 'UA-XXXXXXXX-1', 'wku.edu');

  ga('create', 'UA- XXXXXXXX-2', {'name':'test'});

  ga('send', 'pageview');

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

 

</script>

 

 

Specifically, we are putting that code in the head of the page.  We then visit the URL several times with campaign data (utm_) appended.  We’ll wait a day or so and go back and check.  The first day’s data is usually fairly consistent, but not entirely.  Then, it seems without fail, one of the campaigns will start picking up more hits while the other sees no additional after the first day.  The campaign names we are using are obscure to eliminate the possibility that someone else is using them too.  Both tracking codes are using unfiltered views.

 

Thoughts?

 

 

-- 

Thank You,

 

Diana Keeling

Manager, Web Development Group

Enterprise Applications and Programming

Western Kentucky University

 



You are currently subscribed to [hidden email].
To unsubscribe send an email to [hidden email] with the subject line unsubscribe uwebd. Leave the message body blank. If you experience problems, contact list owner Eric Kreider at [hidden email]. More information is available at: http://www.uakron.edu/webteam/university-web-developers.dot






If you reply to this email, your message will be added to the discussion below:

http://university-web-developers.1112205.n2.nabble.com/Google-Analytics-tp7583330.html

To unsubscribe from University Web Developers, click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Google Analytics

C. Daniel Chase-2
In reply to this post by Keeling, Diana
Diana-

I would suggest switching to Google Tag Manager, and using two accounts on the backend. Instead of trying to get one event to trigger two actions in the page. 

We've been doing that for sometime with consistent results. Although we haven't tried exactly what you described. 

-Dan
Lead Web Developer 
SUNY Empire State College 

C. Daniel Chase
(423) 305-2255

On Dec 19, 2016, at 7:37 PM, Keeling, Diana <[hidden email]> wrote:

We are having an issue with Google Analytics.  We are trying to put two tracking codes on the same page, but we are getting different results for the tracking codes.  We are also testing campaigns.  It seems like pageview data is accurate, but campaign data is inconsistent across tracking codes and we cannot figure out why. 

 

Is anyone else using multiple tracking codes – and do you have the issue of inconsistent data across the tracking codes?

 

Here is what we are using:

 

<script>

  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

 

  // diana was here also or too

  ga('create', 'UA-XXXXXXXX-1', 'wku.edu');

  ga('create', 'UA- XXXXXXXX-2', {'name':'test'});

  ga('send', 'pageview');

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

 

</script>

 

 

Specifically, we are putting that code in the head of the page.  We then visit the URL several times with campaign data (utm_) appended.  We’ll wait a day or so and go back and check.  The first day’s data is usually fairly consistent, but not entirely.  Then, it seems without fail, one of the campaigns will start picking up more hits while the other sees no additional after the first day.  The campaign names we are using are obscure to eliminate the possibility that someone else is using them too.  Both tracking codes are using unfiltered views.

 

Thoughts?

 

 

-- 

Thank You,

 

Diana Keeling

Manager, Web Development Group

Enterprise Applications and Programming

Western Kentucky University

 


You are currently subscribed to [hidden email].
To unsubscribe send an email to [hidden email] with the subject line unsubscribe uwebd. Leave the message body blank. If you experience problems, contact list owner Eric Kreider at [hidden email]. More information is available at: http://www.uakron.edu/webteam/university-web-developers.dot






You are currently subscribed to [hidden email].
To unsubscribe send an email to [hidden email] with the subject line unsubscribe uwebd. Leave the message body blank. If you experience problems, contact list owner Eric Kreider at [hidden email]. More information is available at: http://www.uakron.edu/webteam/university-web-developers.dot




Reply | Threaded
Open this post in threaded view
|

Re: Google Analytics

Adrian J Cooke
In reply to this post by Keeling, Diana

 

Hi Diana,

 

Maybe some things to check…

 

Probably a longshot, but are the referral exclusion lists the same across properties (Admin Account Property Tracking Info)? Trackers created as Universal Analytics properties will have the domain name added automatically, but legacy trackers converted to Universal Analytics may not. However, this setting affects session count, rather than pageviews, so it might not be the issue if pageviews are what is different between the two trackers.

 

Another thing, if you haven’t already tried it, is to install the Google Tag Assistant in Chrome and browse your pages to check if the assistant is picking up any errors with account configuration.

 

Thirdly, the notification/bell icon (top right) of your analytics screen might have some clues if it has detected that anything is misconfigured.

 

Regards,

Adrian

 

Adrian Cooke | Sr. Web Information Architect

Marketing and Communications
Rm 1-205 | 111 College Place
Syracuse, New York 13244

m 315.412.8188  e [hidden email]

SYRACUSE UNIVERSITY
syr.edu

 

 

 

From: "Keeling, Diana" <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Monday, December 19, 2016 at 7:37 PM
To: "[hidden email]" <[hidden email]>
Subject: [uwebd] Google Analytics

 

We are having an issue with Google Analytics.  We are trying to put two tracking codes on the same page, but we are getting different results for the tracking codes.  We are also testing campaigns.  It seems like pageview data is accurate, but campaign data is inconsistent across tracking codes and we cannot figure out why. 

 

Is anyone else using multiple tracking codes – and do you have the issue of inconsistent data across the tracking codes?

 

Here is what we are using:

 

<script>

  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

 

  // diana was here also or too

  ga('create', 'UA-XXXXXXXX-1', 'wku.edu');

  ga('create', 'UA- XXXXXXXX-2', {'name':'test'});

  ga('send', 'pageview');

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

 

</script>

 

 

Specifically, we are putting that code in the head of the page.  We then visit the URL several times with campaign data (utm_) appended.  We’ll wait a day or so and go back and check.  The first day’s data is usually fairly consistent, but not entirely.  Then, it seems without fail, one of the campaigns will start picking up more hits while the other sees no additional after the first day.  The campaign names we are using are obscure to eliminate the possibility that someone else is using them too.  Both tracking codes are using unfiltered views.

 

Thoughts?

 

 

-- 

Thank You,

 

Diana Keeling

Manager, Web Development Group

Enterprise Applications and Programming

Western Kentucky University

 



You are currently subscribed to [hidden email].
To unsubscribe send an email to [hidden email] with the subject line unsubscribe uwebd. Leave the message body blank. If you experience problems, contact list owner Eric Kreider at [hidden email]. More information is available at: http://www.uakron.edu/webteam/university-web-developers.dot




Reply | Threaded
Open this post in threaded view
|

RE: Google Analytics

Rich Paul

Here’s some info that might help

https://support.google.com/analytics/answer/1032400?hl=en

 

 

Rich Paul
Technical Product Specialist

OmniUpdate
805.484.9400, ext. 231
omniupdate.com

 

 

From: Adrian J Cooke [mailto:[hidden email]]
Sent: Tuesday, December 20, 2016 8:26 AM
To: [hidden email]
Subject: Re: [uwebd] Google Analytics

 

 

Hi Diana,

 

Maybe some things to check…

 

Probably a longshot, but are the referral exclusion lists the same across properties (Admin Account Property Tracking Info)? Trackers created as Universal Analytics properties will have the domain name added automatically, but legacy trackers converted to Universal Analytics may not. However, this setting affects session count, rather than pageviews, so it might not be the issue if pageviews are what is different between the two trackers.

 

Another thing, if you haven’t already tried it, is to install the Google Tag Assistant in Chrome and browse your pages to check if the assistant is picking up any errors with account configuration.

 

Thirdly, the notification/bell icon (top right) of your analytics screen might have some clues if it has detected that anything is misconfigured.

 

Regards,

Adrian

 

Adrian Cooke | Sr. Web Information Architect

Marketing and Communications
Rm 1-205 | 111 College Place
Syracuse, New York 13244

m 315.412.8188  e [hidden email]

SYRACUSE UNIVERSITY
syr.edu

 

 

 

 

From: "Keeling, Diana" <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Monday, December 19, 2016 at 7:37 PM
To: "[hidden email]" <[hidden email]>
Subject: [uwebd] Google Analytics

 

We are having an issue with Google Analytics.  We are trying to put two tracking codes on the same page, but we are getting different results for the tracking codes.  We are also testing campaigns.  It seems like pageview data is accurate, but campaign data is inconsistent across tracking codes and we cannot figure out why. 

 

Is anyone else using multiple tracking codes – and do you have the issue of inconsistent data across the tracking codes?

 

Here is what we are using:

 

<script>

  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){

  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

  })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

 

  // diana was here also or too

  ga('create', 'UA-XXXXXXXX-1', 'wku.edu');

  ga('create', 'UA- XXXXXXXX-2', {'name':'test'});

  ga('send', 'pageview');

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

 

</script>

 

 

Specifically, we are putting that code in the head of the page.  We then visit the URL several times with campaign data (utm_) appended.  We’ll wait a day or so and go back and check.  The first day’s data is usually fairly consistent, but not entirely.  Then, it seems without fail, one of the campaigns will start picking up more hits while the other sees no additional after the first day.  The campaign names we are using are obscure to eliminate the possibility that someone else is using them too.  Both tracking codes are using unfiltered views.

 

Thoughts?

 

 

-- 

Thank You,

 

Diana Keeling

Manager, Web Development Group

Enterprise Applications and Programming

Western Kentucky University

 



You are currently subscribed to [hidden email].
To unsubscribe send an email to [hidden email] with the subject line unsubscribe uwebd. Leave the message body blank. If you experience problems, contact list owner Eric Kreider at [hidden email]. More information is available at: http://www.uakron.edu/webteam/university-web-developers.dot