Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
6

You can implement Analytics Event Tracking (E.g. Click on Contact Button). <a href="#" onClick="_gaq.push(['_trackEvent', 'Contact', 'Confirmed', 'First ever contact']);">Submit</a> Ref: https://developers.google.com/analytics/devguides/collection/gajs/eventTrackerGuide As an alternative, you can add Javascript source code in each contact page....


3

oooooo and Terry Carter both mentioned errors in your code. Besides fixing those it would be good to modify your question to show exactly what your final analyticstracking.php file looks like. Something like this: <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 ...


3

This post highlights a common problem with Joomla and other CMSes. Without the correct setup many different URLs can be indexed for the same page. Joomla applies an ID for each category and each item. For auto-generated links, all Joomla processes are these IDs (ie. /236-category-name/121-article-name) - the additional category names and article names are ...


2

The RSForm!Pro - Google Analytics Plugin is used to register posted forms in Google Analytics. It triggers a specific code on the thankyou page or thankyou message. With the plain Google Analytics code you would not be able to check if someone has filledin the form when you use the thankyou message. Because that would register the same page as the page ...


2

One way is to use the robots.txt file in the root to exclude urls from (Google) indexing Disallow: /index.php?option=com_content&view=article&id=23&Itemid=377 Disallow: /index.php?Itemid=377 Depending on your server you should leave out the leading slash / You will have to update robots.txt each time you change (sub)menu items... So ...


2

Your $isset line is probably where your issue lies; that is a variable declaration which is wrong. You may want to do this: is_set ($user->id) It isn't a great approach either. Use the isGuest method to return a boolean as to whether or not the user is logged into the site like so: $user = JFactory::getUser(); $guest = $user->isGuest; if (!$guest)...


2

Google Analytics Event Tracking is the way to go. Here is a tutorial on how to setup. You can put the onClick code in the button or input you are using for Submit. http://www.yellowwebmonkey.com/developer-blog/item/how-to-add-event-tracking-with-google-analytics


1

It's a very involved process of authentication and pulling data from the Google Analytics API: https://developers.google.com/analytics/devguides/reporting/ You might try playing around with their Explorer tool as well: https://ga-dev-tools.appspot.com/account-explorer/ I am almost positive you cannot pull data without some type of authentication. There are ...


1

Go to Extensions->Modules->New and select the "Custom" module type. Enter your code as needed then make sure on the "Menu Assignment" tab that "On all pages" is selected. Save the module and include it somewhere in your layout. That should do it.


1

First, it's always a good idea to check the Joomla Extension Directory if you're looking for a plugin/extension. You'll never know what you can find if you don't look. ;) Second, you may not need a plug in for this. Assuming that you have: a code snippet with instructions on how to embed it access to your site's template files if needed you can just use a ...


1

Contrary to rumours Google does not penalise 404s. There is however detremental impact on the ranking your old pages had attained, the associated keyword matches for your old articles and of course user experience. It's possible for you to relink those pages back to new pages on your new site and carry forward, as it were, the ranking/reputation etc. of ...


1

GoogleBot is a very aggressive bot. We have the exact same issue on K2 based websites, and we have determined that this is mainly caused by Google knowing some patterns (from other K2 websites) and so it tries to index pages that it knows it may exist on your website, such as author pages, despite the fact that you don't have any links to the author page. I ...


1

Might I suggest a plugin - you can just install and enable it for your whole site, then it doesn't matter which template you're using at all. At the Extensions Directory, there's quite a selection under SITE ANALYTICS - GOOGLE BASED.


1

No, it will not work. Only the template you have selected as default will be used. All other templates are ignored. I believe Gavic Pro have their own methods for using Google Analytics and the documentation on how to implement it can be seen at the following link: https://www.gavick.com/documentation/uncategorized/how-to-add-google-analytics-or-other-...


1

You may be able to configure access log storage location using .htaccess Once you can control the file location - you could write a script to parse it (some exist I believe)


Only top voted, non community-wiki answers of a minimum length are eligible