Datafeedr Support Forums  

Go Back   Datafeedr Support Forums > Current Version (V3) Forum > Questions
Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Important - The support forums are now in "read-only" mode as we transition to an alternative help desk solution. Feel free to contact us here with any of your questions or search the forums for an existing solution.
 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 21st, 2011, 08:39 PM
globalnet globalnet is offline
 
Join Date: Mar 2011
Posts: 16
Default How do you check product views/clicks?

Is it possible to check how often a specific product was viewed/clicked?

Thanks
  #2  
Old March 21st, 2011, 09:29 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

Yes, you can use the following tags:

[product.views] - displays the number of times a product has been viewed
[product.clicks] - displays the number of times a product has been clickthrough'ed

Eric
  #3  
Old March 21st, 2011, 09:44 PM
globalnet globalnet is offline
 
Join Date: Mar 2011
Posts: 16
Default

Thanks for the quick response.

I want this info only available for myself, not the visitors, how would I go about doing that?
  #4  
Old March 21st, 2011, 09:50 PM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi

This information is currently not exposed. But if you wrap those tags in a simple if() statement, they will only be viewable if you are logged into your site as the admin.

Example:

Code:
<?php global $user_ID; if( $user_ID ) : ?>
	<?php if( current_user_can('level_10') ) : ?>
		<br />[product.views]
		<br />[product.clicks] 
	<?php endif; ?>
<?php endif; ?>
  #5  
Old March 22nd, 2011, 02:26 AM
globalnet globalnet is offline
 
Join Date: Mar 2011
Posts: 16
Default

Thanks Eric, that worked.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with Custom views, please Kaetemar Questions 9 February 11th, 2011 04:43 PM
css not working in custom views mathiasschindler Upgrading from V1 to V3 2 January 23rd, 2011 12:08 PM


All times are GMT -5. The time now is 05:20 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.