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>
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:
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 ...
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 ...
One way is to use the robots.txt file in the root to exclude urls from (Google) indexing
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...
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;
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.
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 ...
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.
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 ...
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 ...
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.
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.
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: