Jump to content
Sign in to follow this  
JohnMagic

Woopra tracking code

Recommended Posts

JohnMagic

I`m having problems with making Woopra tracking work on iBlog, both by adding via Woopra plugin and manually in iBlog Pro settings. Anyone managed to get it working ? Woopra code should be just before the body closing tag, but theres lots of other iBlog Pro js added before the closing tag.

Share this post


Link to post
Share on other sites
JohnMagic

Where would the correct place to hardcode it be ? footer.php:

	<!-- Footer Scripts Go Here -->
	<?php if (pagelines('footerscripts')) echo pagelines('footerscripts');?>
	<!-- End Footer scripts -->
	
	<?php wp_footer(); ?>
	</body>

Before or after <?php wp_footer(); ?> ?

Share this post


Link to post
Share on other sites
JohnMagic

Thanks Catrina. On upgrades the code will be overwritten I guess, so to use Woopra I may have to make a child theme. Its a different question which I will ask about in an other thread. If devs read in you might put in a ticket on analytics code placement in the footer.php to make iBlog Pro Woopra compatible.

Share this post


Link to post
Share on other sites
kastelic

You also have an area in the admin to add footerscripts: iBlogPro -> Theme Options -> Custom Code -> Footerscripts. This will place it right where that line you found is, and you won't lose it on updating. Course this is for javascript, not PHP.

Share this post


Link to post
Share on other sites
JohnMagic

Yep, but its not compatible with Woopra it seems. Thats why I want to hardcode. I guess all the js loaded after the footerscripts but before the body closing tag messes something up. GA works fine though.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×