can you add a trustbox on wix site (2 sets of code to insert on site- one is html and other is javascript)
Hi,
Welcome to the WixCode forums.
I don’t know anything about Trustbox, but you can read about Accessing 3rd Party Services . Depending on security requirements and other considerations, you might be able to use a $w.HtmlComponent . You can get usage details in the article Working with the HTML Component in Wix Code .
I hope this helps. Good luck,
Yisrael
Unbelievable that Wix do not know how to do this for one of the largest ratings site in the UK. I need to do this too. The question is how to you insert code between . To make the Trustpilot link work we are required to do this:
Copy-paste this code inside the section of your website’s HTML or as close to the top of the page as possible.
<!-- TrustBox script -->
<script type="text/javascript"src="//widget.trustpilot.com/bootstrap/v5/tp.widget.bootstrap.min.js" async></script>
<!-- End TrustBox script -->
you don’t access it in the editor
go to your dashboard
then settings
then seo
then click on the part that says "Ready to manually add header codes to your site? "
I ran into the same confusion.
Funny enough it’s actually quite simple, you just have to do it a little differently.
mike - that code that TrustPilot tells you to put in the header (the code snippet you pasted here in your forum post)… just put that into the HTML component itself with the other part of the code.
To Wix staff: This is a nice value-add to put in your documentation. TrustPilot has become a major player in this space and it’s only a matter of time before more users want to integrate their widgets.
I can talk with you on how to get it working - it works perfectly and is very easy to implement, but will stump most users (as we can see with this and other posts).
Let me know.
Thanks,
Ken
Hi Ken, I’d love to know! Can you please tell us?
Sure thing!
You get two code snippets from TrustPilot. In their instructions, they mention to put the first snippet into your header, and the other into the body where you want the widget.
Scratch all that - Just create an HTML iframe within wix, and in THAT code, post both snippets. The widget should work just fine with that
So cool! (and so quick!) thank you!
This was very helpful and simple. worked first time when I did it your way. thank you!
and the trust pilot code do I take it from Integration section? (where you have these 3 steps to complete). I entered it but nothing happened on wix, just grey box went blank hehe…
@sandrambanas Please make a new post. If you are using a 3rd party service provider’s code with the HTML Component, this forum will not be able to help you as we focus on Corvid here.