 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
October 29th, 2012, 06:49 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Aug 2011
Posts: 37
| Where to add Google Analytics on standard PP
I am using photopost classifieds themes itself, but not sure where i can paste my code at so the site gets tracked?
|
| |
October 30th, 2012, 12:44 PM
|
#3 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
|
Let me know if you have any questions the FAQ thread lists the locations you can hook to and how to formulate a plugin. The one I listed displays below the site header. You can easily change it from header to footer like this.
In the plugin you find header_bottom and simply replace it with footer_top
Like on my site I run adsense and an example of our site header_bottom would be like the location you see the ads on my site. http://www.reeftalk.com/gallery/ |
| |
November 11th, 2012, 03:21 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Aug 2011
Posts: 37
| Quote:
Originally Posted by Chuck S Let me know if you have any questions the FAQ thread lists the locations you can hook to and how to formulate a plugin. The one I listed displays below the site header. You can easily change it from header to footer like this.
In the plugin you find header_bottom and simply replace it with footer_top
Like on my site I run adsense and an example of our site header_bottom would be like the location you see the ads on my site. A community photo gallery - ReefTalk Gallery | Ive tried adding the google analytic code to plugin footer_bottom / footer_top / header_top - none of these worked?
I have went into the main options and Yes Plugins are Enabled under ALL Options & Plugin section.
Ive even tried adding adsense code for banners but nothing shows up.
I am using the latest PP Classifieds....
This is what I did:
1. Add Plugin
2. Enter title, plugin location and then where it says Enter Code, this is all I put: Code: Content visible to verified customers only.
What am I doing wrong?
|
| |
November 11th, 2012, 04:20 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
|
That is because you are not following the plugin FAQ that are in the FAQ forum. I have also put a sample google adsense block in the plugins forums. You can not just put the code like that in there unless it is php code to say define variables etc. The printed output must be in a specific format.
You must put the output in the correct format like so. Code: Content visible to verified customers only.
|
| |
November 11th, 2012, 06:14 PM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Aug 2011
Posts: 37
|
thank you!!
|
| |
November 11th, 2012, 06:20 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
| |
| |
November 16th, 2012, 11:19 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Aug 2011
Posts: 37
| Quote:
Originally Posted by Chuck S That is because you are not following the plugin FAQ that are in the FAQ forum. I have also put a sample google adsense block in the plugins forums. You can not just put the code like that in there unless it is php code to say define variables etc. The printed output must be in a specific format.
You must put the output in the correct format like so. Code: Content visible to verified customers only.
| Sorry to bug again, but i just checked my Google Analytics and it still says i dont have the code installed. I have copied/pasted what you did above and replaced the **** with my analytics #. Still says tracking not installed. You mentioned that is for 'adsense'? Im trying to add Analytics for every single page on the classified section.
Can you help plz? :/
|
| |
November 16th, 2012, 11:22 AM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
|
Well have you checked that your plugin system is enabled? I can not comment without actually seeing what your doing.
Have you viewed your page source is it actually being printed in your page source. If the code your installing is in your page source then then things are working as far as our product.
|
| |
November 16th, 2012, 11:31 AM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Aug 2011
Posts: 37
|
I have attached 4 screenshots, I have also replaced our numbers with ****** for privacy in the screenshot.
|
| |
November 16th, 2012, 11:32 AM
|
#11 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
| Main Index - Truckmountforums Classifieds & Auctions
If that is the site your talking about I see no active plugins.
have you tried making the code footer_top and or doing like header_bottom different hook locations to see if anything prints?
|
| |
November 16th, 2012, 11:33 AM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Aug 2011
Posts: 37
| Quote:
Originally Posted by Chuck S | Yes that is the website, how are the plugins not active while in those screenshots shows you that I have both sections Active?
|
| |
November 16th, 2012, 11:36 AM
|
#13 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
|
Please read my post we where posting at the same time which means I did not see any attachments.
I asked a question. If you need further assistance you can always send site data but this is about as clean a test install I can do http://www.omegatron.net/classifieds/index.php
I did a little test plugin location footer_bottom and this is what is shown.
|
| |
November 16th, 2012, 11:40 AM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Aug 2011
Posts: 37
|
Ok I just tried header bottom & fotter top, still no go....
Am I supposed to remove the " " or is everything ok?
|
| |
November 16th, 2012, 11:43 AM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Aug 2011
Posts: 37
|
Can you give me that code u did to test that demo out? ill copy paste and see if i get same results. If not i need to send you my logins :/
|
| |
November 16th, 2012, 11:46 AM
|
#16 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
|
Well your example code does not formulate to the FAQ on how to do the plugins or my example. I use single quotes in the html output. If you must use double quotes in your html output then you must escape it. That is covered in the FAQ.
I can not see any visible errors but maybe there is an error parsing your plugin.
You is the plugin example in my page. Code: Content visible to verified customers only.
Last edited by Chuck S; November 16th, 2012 at 11:51 AM.
|
| |
November 16th, 2012, 12:08 PM
|
#17 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
|
I added analytics to the example site and the output shows in my page source so I suspect your issue is however your formulating your plugin.
|
| |
November 16th, 2012, 12:39 PM
|
#18 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
|
Here is what I use on my test site Code: Content visible to verified customers only.
|
| |
November 17th, 2012, 09:38 PM
|
#19 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,696
|
I have looked at your site several times and see that you have not added analytics yet.
This is what I am using on my test site I posted it above but released it here give that a try http://www.photopost.com/forum/photo...ugin-code.html |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:14 PM. | |