Tagged: cornerstone
-
AuthorPosts
-
March 21, 2017 at 5:06 am #1414732
stirlingaustinParticipantHi 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
March 21, 2017 at 5:06 am #1414733
stirlingaustinParticipantThis reply has been marked as private.March 21, 2017 at 5:15 am #1414740
stirlingaustinParticipantby 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
March 21, 2017 at 9:00 am #1414930
DarshanaModeratorHi 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.
March 21, 2017 at 9:23 am #1414958
stirlingaustinParticipantThis reply has been marked as private.March 21, 2017 at 9:30 am #1414966
stirlingaustinParticipantok 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?
March 21, 2017 at 11:34 am #1415169
JadeModeratorHi 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 credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
March 21, 2017 at 11:57 am #1415193
stirlingaustinParticipantthanks, 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.
March 21, 2017 at 2:10 pm #1415366
DarshanaModeratorLet us know if you need anythings else.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1414732 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
