News:

AbanteCart v1.4.2 is released.

Main Menu
support

Unable to add code snippet into head

Started by cookie2363, November 15, 2019, 10:04:57 AM

Previous topic - Next topic

cookie2363

Hi all,
I want to add Trustpilot code snippet to the <head> element of the site but I can't seem to get anywhere.
Could someone please point me in the right direction. I Need to add the following code ( this is an example code, the actual code has my intregration key.)

<script>
(function(w,d,s,r,n){w.TrustpilotObject=n;w[n]=w[n]||function(){(w[n].q=w
[n].q||[]).push(arguments)};a=d.createElement(s);a.async=1;a.src=r;a.type
='text/java'+s;f=d.getElementsByTagName(s)[0];f.parentNode.insertBefore(a
,f)})(window,document,'script','://invitejs.trustpilot.com/tp.min.js
', 'tp');
tp('register', '#KEY#');
</script>

Basara


cookie2363

When I do this it and click save the page redirects to "The page you requested cannot be found." and it doesn't save.
The script is Java so I'm thinking the system doesn't like this?

Basara


Forum Rules Code of conduct
AbanteCart.com 2010 -