Jump to content

Adding custom widget is not working

Recommended Posts

I am trying to add the following code to have my vet widget on my website and nothing I do works. I have gone into the advanced area and added this code to the footer of the code injection area and it is not working.

 

<script>
  (function (v, e, t, s) {
    e.televet = e.televet || { id: v };
    var o = t.createElement('script');
    o.async = true;
    o.src = 'https://connect.televet.com/shim.js';
    var r = t.getElementsByTagName('script')[0];
    r.parentNode.insertBefore(o, r);
  })('ckgzwmmxp05sj0711dbfpnlcg', window, document);
</script>

Link to comment
  • Replies 7
  • Views 380
  • Created
  • Last Reply

Top Posters In This Topic

Were you directed by the source of this widget where to place it on your website? i.e. the footer or the header or on the page? Have you tried adding it to the page in a code block?

What is it supposed to do/look like?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

You're adding this to the Footer Code Injection area of the back-end?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Can you share the Squarespace URL so I can test it? Do you have an active subscription?

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
On 1/10/2023 at 5:33 PM, PrintzVetServices said:

I am trying to add the following code to have my vet widget on my website and nothing I do works.

The 'widget' has been added to your Squarespace website, but is not functional. It does not look as though you have added the new Squarespace domain (vibraphone-round-t23s.squarespace.com) to the list of Whitelist URLs in Televet. You'll need to do this before you will be able to test it using this built-in domain. This setting ensures that your clinic's widget can only appear on a website that you own. 

I hope this helps. Let us know how you get on.

Did this help? Please give feedback by clicking an icon below  ⬇️

Edited by paul2009

About me: I'm Paul. A SQSP User for 18 yrs, I joined Circle when it launched in 2016 and have been a Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL, providing expertise and extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee fuels my work.

Book paid help with a Squarespace Domain

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.