Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1414732
    stirlingaustin
    Participant

    Hi there

    I have registered with Traki, they are asking me to insert some tracking code as follows : Copy and paste it (code) into your tag manager or just before the closing body tag and on every page where you wish to track visitor actions.

    Please could you let me know how do do this without affecting cornerstone.

    thanks

    #1414733
    stirlingaustin
    Participant
    This reply has been marked as private.
    #1414740
    stirlingaustin
    Participant

    by the way I checked their support, this is what they say for wordpress but there is no footer section in the editor, only functions and stylesheet

    http://support.traki.co.uk/setup-guides/installing-the-traki-code/adding-traki-to-a-wordpress-website

    #1414930
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Then add the following code into your child theme’s functions.php file.

    
    function my_custom_script() { 
    	
     	<!--Add Your Javascript Below this line-->
     	<script type="text/javascript" 
    	src="https://traki.traki.co.uk/track/init/b1F26qsI8e911p3xd1U9TnFy">
    	</script>
    	<!--Do not modify anything below this line-->
    	<?php
    }
    add_action('wp_footer','my_custom_script');
    

    Hope that helps.

    #1414958
    stirlingaustin
    Participant
    This reply has been marked as private.
    #1414966
    stirlingaustin
    Participant

    ok just realised the code was in what you gave me. replaced it, however still not working, its not being picked up by Traki.

    Any suggestions?

    #1415169
    Jade
    Moderator

    Hi there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1415193
    stirlingaustin
    Participant

    thanks, I’ve decided not to use traki now.(its an seo tracking software)

    I tried installing a CSS header footer plugin so I could use their code that didn’t work either. The whole thing is getting too complicated so I’ll leave it!

    Thanks for trying anyway.

    #1415366
    Darshana
    Moderator

    Let us know if you need anythings else.

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1414732 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>