SmartFAQ is developed by The SmartFactory (https://www.smartfactory.ca), a division of InBox Solutions (https://www.inboxsolutions.net)

How do I use Google Analytics with my website?
Sign up for Google Analytics here

Once your account is activated, login to Google Analytics and setup your profile.

At the end of setting up your profile you will be given some code to add to your website, copy this code.

Edit this file on your website:
/*XOOPSINSTALL*/themes/*YOURTHEME*/theme.html

(/**/ denotes: This will be different for your website.)

Scroll to the end of the file and find:

Paste the code immediately BEFORE this tag. Save the file.

Browse to your xoops website administration go to:
System Admin >> Preferences >> General Settings
Scroll down to:
'Update module template .html files from themes/your theme/templates directory?' and select 'Yes'

Browse to a couple of pages on your website, then go back to Google Analytics and click 'Check Status'. The status should now say 'Waiting for Data'.

If it still says 'Tracking Not Installed' Google Analytics cannot see the code, please make sure you have followed all the steps above.

Go back to:
System Admin >> Preferences >> General Settings
Scroll down to:
'Update module template .html files from themes/your theme/templates directory?' and select 'No'

The setup is now complete. Google Analytics will continue to say 'Waiting for Data' for the next 12 to 24 hours, after that it will say 'Receiving Data' and you will be able to view your site stats.


The comments are owned by the author. We aren't responsible for their content.
user

 why not after?


I have the script after and everything is OK.

 
user

 Re: why not after?


I have no idea, google say before.

 
user

 Have to wait...


You forgot to mention:

Quote:

Google Analytics has experienced extremely strong demand. We are sending invitations to new users to sign up as we add more capacity. If you would like to receive an invitation code, please enter your email address below and we will send you one as capacity becomes available.


Perhaps this is location-oriented, but it's worth mentioning. I have other Google features and still need to wait.

 
user

 Re: Have to wait...


It's not location orientated. As with most Google products they like to roll things out slowly so not to overload themselves. It took me about 3 weeks to receive an invitation. I imagine they will eventually open it fully, but will they ever do that with gmail? I didn't mention it cause it's not relevant with how to set it up, and it'll probably open fully later. I did say once your account is activated.

 
user

 Re: Have to wait...


have someone invitation code?

 
user

 Re: Have to wait...


Quote:

have someone invitation code?

Invitations can only come from google, you will need to sign up and wait a few weeks.

 
user

 Re: why not after?


I followed the procedure and I added the javascript just before the tag:




Of course, replacing the UA-XXXXXX-X with actual numbers.

Google analytics, gives me a Tracking Unknown stating that it can't find the tracking code.

I also checked to make sure that its on the live pages, and it is.

Should I wait for a day at least until it picks it up?

Does anyone know why its not picking up?

I'm using XOOPS ver 2.2.2

 
user

 some sort of error


I dont have an option aboout updating html templates etc.

I tick yes for:
Check templates for modifications ?

If this option is enabled, modified templates will be automatically recompiled when they are displayed. You must turn this option off on a production site.

And i get:
This page cannot be displayed due to an internal error.

If you are the administrator of this site, please visit the XOOPS Troubleshooting Page for assistance.


when trying to get to nay part of my forum.

If go back and check no it starts working again.

 


Login

Who's Online

260 user(s) are online (1 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 260


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Did you know ?

Did you know you can create your own Avatar for use in the forums for members who do not upload their own?

Random question

Fatal error: mysql extension not loaded in C:\Program Files\Apache Group\Apache2\htdocs\class\database\mysqldatabase.php on line 74