Analytics
4.5K members online now
Discuss regaining access to Analytics accounts, restoring accounts, changing user access levels, and navigating the homepage
 
Guide Me
star_border
Reply

Account access with just a Tracking ID

Visitor ✭ ✭ ✭
# 1
Visitor ✭ ✭ ✭

Hi, very new to this so please be patient!!  I've recently taken over as webmaster on an established site. The previous webmaster used google analytics to report web stats to the committee, I would like to do the same. I have looked through the code on the site and found the Tracking ID for the site, but that is all I have. Obviously to get to this forum I have set up a new account which comes with a different Tracking ID and I could simply rewrite the code using that... but I would lose ALL past information. Is there any way of having the existing tracking ID "transferred" to this account ??  I am totally unable to obtain the email/password used by the previous webmaster.

 

Any ideas gratefully accepted !!

1 Expert replyverified_user

Re: Account access with just a Tracking ID

Top Contributor
# 2
Top Contributor
Hi Nigel R,

You are correct in that if you create a new tracking property for the site, then you lose all previous data. In order to access the existing GA data, you will need access to the GA account which is associated with the site. You get access by being provisioned for by the account administrator, even if you have just created a new Google Account - all you need is for the admin to grant you access. So in this case you must contact the previous administrator for access or find a way to do so. If you have an AdWords account, then it is possible to go through that channel to get access.
Nicky Yuen, Google Analytics Top Contributor
Was my response helpful? If yes, please mark it as the ‘Best Answer.’ Learn how here.
Find me on: Google+ | LinkedIn

Re: Account access with just a Tracking ID

Visitor ✭ ✭ ✭
# 3
Visitor ✭ ✭ ✭
Done more reading and found this link ..

https://www.en.advertisercommunity.com/t5/AdWords-Tracking-and-Reporting/How-to-gain-access-to-your-...

which apparently guides me on how to get the account back into my name .. BUT .. big BUT it goes on about a "vacant account" in adwords with no instruction on how to set one up .. all attempts, so far, have demanded an ad campaign and a billing account, not what I want at all .. I just want to get the administration of the tracking code account to me, as the guy who set it all up has left ... quite simple I would have thought... but it does not seem to be in practice

Re: Account access with just a Tracking ID

Follower ✭ ✭ ☆
# 4
Follower ✭ ✭ ☆
Nigel,

A "vacant account" is simply an AdWords account with no campaigns, even no payment info setup, but still an AdWords account. So, if you don't have an AdWords account, simply set one up but don't configure any campaigns in it yet and you should be on your way.

Hope this helps!

-Caleb Whitmore
www.analyticspros.com

Re: Account access with just a Tracking ID

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
Many thanks to all .. now made contact with support section and the process of gaining access is underway. Appreciate the help Smiley Happy

Nige R

Re: Account access with just a Tracking ID

Visitor ✭ ✭ ✭
# 6
Visitor ✭ ✭ ✭
Hi all .. hopefully the last question !!

I now have access to "read and analyse" this website.. seems I can't have "full" control as the previous webmaster has this as one of several "properties" under his account.

Question then .. if I set up a separate tracking account for this domain, and add the necessary code to the site, can I run both analytics at the same time ?? My idea is to run both for one year then drop the first, leaving just the one directly linked to the domain. This will always give me a full years of statistics to work on.

Is this possible and allowable ??

Regards

Nige

Re: Account access with just a Tracking ID

Visitor ✭ ✭ ✭
# 7
Visitor ✭ ✭ ✭
You can run your own tracking code in the website along with the existing one. The data will be send to both the accounts attached with the tracking code.
Checkout this: https://support.google.com/analytics/answer/1032400?hl=en

After you feel to remove the earlier one from your website, just delete the tracking code from its source code and you are done.

Re: Account access with just a Tracking ID

Follower ✭ ✭ ☆
# 8
Follower ✭ ✭ ☆
Nige,

As @ravinder noted yes, you can run two tags. I would agree with your strategy of running in parallel. It's unfortunate that your property exists under a developer's own account - not something that's all that uncommon, though, but it's a really bad idea for developers to do that, and bad for you. So, getting your own account that you full control is really wise.

One thing to note: you need to be very careful to configure the dual trackers to work together properly and not conflict with each other. That means any settings related to the cookieDomain, cross domain linking, etc... need to be the same between the trackers. Alternately, if you want/need to change the shape of the data, you can create completely isolated trackers that use their own distinct cookies, object names, etc... to ensure there aren't any unwanted cross-tracker interactions that corrupt data integrity.

Lastly, if you aren't already using it, this would be an excellent time to deploy Google Tag Manager into your site environment and manage that new tracker (possibly the old one too) using GTM.

Hope this helps!

-Caleb Whitmore

Re: Account access with just a Tracking ID

Visitor ✭ ✭ ✭
# 9
Visitor ✭ ✭ ✭
Hi Caleb ..many thanks for the comments ... now starting to get worried !! I know very little about ASP programming and am learning as I go along. Previous webmaster wrote/setup the site in ASP so thats what I have to live with !! What I have done is to copy/paste his code in the Page.master file and replace the tracking number with the new one .. so the code now reads, old one at the top , my added new one under, does this cause any of the problems you refer to ?

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-4118340-4']);
_gaq.push(['_trackPageview']);

(function () {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src=('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-70887041-1']);
_gaq.push(['_trackPageview']);

(function () {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src=('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>

Any thoughts very gratefully received !!

Regards and thanks

Nige

Re: Account access with just a Tracking ID

Follower ✭ ✭ ☆
# 10
Follower ✭ ✭ ☆

Nige,

 

ASP? It's been a while since I've seen much built in that language, so I'm sorry in advance Smiley Wink

 

For your code, you're using classic GA tags.  It would be advisable to update to Universal analytics tags because classic is, well, pretty much dead and outdated.  Using Google Tag Manager would be a good move too, but that increases the complexity initially a bit in exchange for long-term ease of use.

 

I'll comment on your code as you supplied it, but if you switch to Universal tags or GTM similar adjustments will be needed.

 

For classic tags you need to customize the tracking object name for each tracker.  Here's what corrected code would look like:

 

 

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push(['tracker1._setAccount', 'UA-4118340-4']);
_gaq.push(['tracker1._trackPageview']);
_gaq.push(['tracker2._setAccount', 'UA-70887041-1']);
_gaq.push(['tracker2._trackPageview']);

(function () {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src=('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>

You only need to declare the gaq object once and include the GA code library once.  For bonus points, I'm providing what Universal code would look like, though you should of course fully test this and if you have a GA Partner contracted for support, get their oversight as well:

 

 

 

<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','//www.google-analytics.com/analytics.js','ga');

//create trackers
ga('create', 'UA-4118340-4', 'auto');
ga('create', 'UA-70887041-1', 'auto', 'secondTracker');

//send initial pageview for each tracker
ga('send', 'pageview');
ga('secondTracker.send', 'pageview');

</script>

 

Learn more about trackers, universal analytics, and multiple trackers here: https://developers.google.com/analytics/devguides/collection/analyticsjs/creating-trackers#working_w...

 

Hope this helps!

 

Best,

 

-Caleb Whitmore

www.analyticspros.com