WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

IT Discussion Forum Having IT issues? Got IT questions? Who doesn't? If you can't get your Apache to work with your MySQL or your php is choking on your ODBC... Let's see if we can help you come up with some ideas.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-28-2008, 12:36 PM
barnsey11 barnsey11 is offline
WebProWorld New Member
 

Join Date: Apr 2008
Posts: 7
barnsey11 RepRank 0
Default PHP Site- Google Analytics

Is it possible to track a PHP site through google analytics for e-commerce tracking. The URL never changes and I cant seem to get revenue information to be collected. Any insights would be greatly appreciqated.

Thanks
Reply With Quote
  #2 (permalink)  
Old 04-28-2008, 06:06 PM
danlefree's Avatar
danlefree danlefree is offline
WebProWorld Member
 

Join Date: Jun 2005
Location: Seattle
Posts: 41
danlefree RepRank 0
Default Re: PHP Site- Google Analytics

If you are using the new GA.js version of the Google Analytics reporting script, you can track page hits dynamically with the following code:

Code:
pageTracker._trackPageview("DYNAMIC_URI");
(Where "DYNAMIC_URI" is the URI you would like to see when viewing your Google Analytics reports)
__________________
- Dan LeFree
Dan LeFree Consulting
Reply With Quote
  #3 (permalink)  
Old 04-28-2008, 08:26 PM
barnsey11 barnsey11 is offline
WebProWorld New Member
 

Join Date: Apr 2008
Posts: 7
barnsey11 RepRank 0
Default Re: PHP Site- Google Analytics

Hi Dan, thanks for the update. Is that something your company can take care of as it could be over my developers head ??
Reply With Quote
  #4 (permalink)  
Old 04-29-2008, 11:47 AM
barnsey11 barnsey11 is offline
WebProWorld New Member
 

Join Date: Apr 2008
Posts: 7
barnsey11 RepRank 0
Default Re: PHP Site- Google Analytics

Dan, where actually does that peice of code go. Is there anyway you could provide me with an example.

Much appreciated

Thanks
Reply With Quote
  #5 (permalink)  
Old 05-02-2008, 11:30 AM
incrediblehelp's Avatar
incrediblehelp incrediblehelp is online now
Moderator
WebProWorld Moderator
 

Join Date: Jan 2004
Location: Live in Cincy Now
Posts: 7,134
incrediblehelp RepRank 4incrediblehelp RepRank 4incrediblehelp RepRank 4incrediblehelp RepRank 4
Default Re: PHP Site- Google Analytics

have you figured this out Barney?
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > IT Discussion Forum
Tags: ecommerce tracking, google anayltics, php



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Check how many terms site is searched for, Google Analytics? Steven1976a Search Engine Optimization Forum 4 03-08-2007 04:21 PM
Google Analytics adds "Site Overlay" brian.mark Webmaster Resources Discussion Forum 1 02-08-2006 11:29 PM
Google Analytics Partners with Zaaz for Forecasting, Site O WPW_Feedbot Search Engine Optimization Forum 0 01-24-2006 11:00 AM
Google Analytics on site with secure and non secure pages? joer80 Google Discussion Forum 7 12-07-2005 12:15 AM
Campaign Tracking: ASP Analytics or Log File Analytics? mlillig Google AdWords/Google AdSense 0 08-20-2004 02:45 PM


Search Engine Friendly URLs by vBSEO 3.0.0