-
AuthorPosts
-
Rusell Cerrato Friend
Rusell Cerrato
- Join date:
- September 2014
- Posts:
- 44
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 23
August 27, 2012 at 1:02 am #180260Hello guys!
I want to use the Google Analytics service to track several traffic behaviors to my Magento site.
I am using Mozanis, and I found a source where I should insert the Google Analytics account into.
System -> Configuration -> Google APIbut there are some other sources reffering to a code I should insert in some of the pages in order to work.
does anyone know a step by step on how to setup google analytics to track visits to a magento site?
best regards and thanks for your help.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 27, 2012 at 8:32 am #465446Hi ruku,
What you need to do is enabling it in System > Configuration > Google API and enter your account number. Then when you view source code of your site, you will see this code for GA inside:
<!-- BEGIN GOOGLE ANALYTICS CODE -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'YOUR_ACCOUNT_NUMBER']);
_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>
<!-- END GOOGLE ANALYTICS CODE -->
Regards.1 user says Thank You to Saguaros for this useful post
Rusell Cerrato FriendRusell Cerrato
- Join date:
- September 2014
- Posts:
- 44
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 23
August 27, 2012 at 11:38 am #465473Thanks Saguaros.
ok, thats what I did so far, so no entering a code will be need, since the admin tool done it already for me rigth?
do you know how much it takes to sart seen visits trafic on google analytics? I set up this on magento just 10 hrs before.
best regards.
Rusell Cerrato FriendRusell Cerrato
- Join date:
- September 2014
- Posts:
- 44
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 23
August 27, 2012 at 12:37 pm #465482One ing I noticed on Google Analytics, is a mesage on admin panel saying this.
“Tracking Not InstalledLast checked: Aug 27, 2012 5:35:09 AM PDT
The Google Analytics tracking code has not been detected on your website’s home page. For Analytics to function, you or your web administrator must add the code to each page of your website.”do you know, how much would it takes my site to report to google analytics?
thanks.
Rusell Cerrato FriendRusell Cerrato
- Join date:
- September 2014
- Posts:
- 44
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 23
August 27, 2012 at 5:12 pm #465507Hi Saguaros,
what is the best way to see if the code was inserted on pages? I noticed that magento uses index.php instead index.html.
I copy the index.php from root path of my site and check it using some reader, but i was not able to find the code into it.I also noticed that google analytics still does not receive any tracking from my site.
please, what would yuu think could be happening,
thanks!
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
August 27, 2012 at 5:37 pm #465509Can I see a link to your site please? We can then view the source code and see if the analytics script is inserted.
I have seen problems with that feature working in magento. If it still fails then please feel free to update your ticket with a super admin account, ftp account and your Google Analytics code and we can insert it manually for you.
1 user says Thank You to Phill for this useful post
Rusell Cerrato FriendRusell Cerrato
- Join date:
- September 2014
- Posts:
- 44
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 23
August 27, 2012 at 6:41 pm #465512Thanks Phill, I will PM you all details for you can please have a look.
best regards, thanks!
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 28, 2012 at 2:33 am #465543<blockquote>I have seen problems with that feature working in magento. If it still fails then please feel free to update your ticket </blockquote>
This occur in previous version of magento, we updated for all magento template in new version, what you guys need to do is insert your GA account number in backend like above 🙂
@phill: glad to see you in forum :p1 user says Thank You to Saguaros for this useful post
cbc575 Friendcbc575
- Join date:
- April 2015
- Posts:
- 208
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 53
- Thanked:
- 11 times in 1 posts
June 3, 2015 at 6:42 am #572700Hi everyone…!
How do I do this exact task but in Joomla 3…?
Thank you & kind regards.
cbc575 Friendcbc575
- Join date:
- April 2015
- Posts:
- 208
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 53
- Thanked:
- 11 times in 1 posts
June 3, 2015 at 6:42 am #737735Hi everyone…!
How do I do this exact task but in Joomla 3…?
Thank you & kind regards.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 3, 2015 at 10:24 am #572708Hi
Which JA template are you using? If it’s template built with new T3 framework, you can add GA code via template manager in back-end of your website.
http://www.t3-framework.org/documentation/bs3-configuration#custom-code
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 3, 2015 at 10:24 am #737743Hi
Which JA template are you using? If it’s template built with new T3 framework, you can add GA code via template manager in back-end of your website.
http://www.t3-framework.org/documentation/bs3-configuration#custom-code
-
AuthorPosts
This topic contains 12 replies, has 4 voices, and was last updated by Saguaros 9 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum