Home › Forums › WoodMart support forum › Widget Chatbot to Clientify Marketing CRM
Widget Chatbot to Clientify Marketing CRM
- This topic has 15 replies, 2 voices, and was last updated 1 year, 1 month ago by Aizaz Imtiaz Awan.
-
AuthorPosts
-
November 29, 2023 at 4:23 pm #516864
dermaticolombiaParticipantHey guys, I’m trying to put the JS script of a generated chatbot into my Marketing CRM, Clientify. I have inserted your -<script type=”text/javascript” src=”https://api.clientify.net/web-marketing/chatbots/script/#####.js”></script>- code in the Theme Settings / Custom JS / Global custom JS section but the floating button does NOT appear on my website. Please let me know why the script doesn’t work. I have a test page where you can activate or deactivate what you consider necessary to discover it, attached url submission and access credentials
Attachments:
You must be logged in to view attached files.November 30, 2023 at 2:12 pm #517226
Aizaz Imtiaz AwanKeymasterHello,
You shouldn’t place script opening and close tags in that area https://gyazo.com/c9fa18855d0fb53b5aa91e7d33b90baf
Regards
November 30, 2023 at 2:26 pm #517236
dermaticolombiaParticipantWell, I’ve already put it without the opening and closing labels and it doesn’t work.
https://api.clientify.net/web-marketing/chatbots/script/24###.js
Attachments:
You must be logged in to view attached files.November 30, 2023 at 2:51 pm #517250
dermaticolombiaParticipantOr you mean leaving the line of code like this: type=”text/javascript” src=”https://api.clientify.net/web-marketing/chatbots/script/24###.js” ?
Because that’s not how it works either
- This reply was modified 1 year, 1 month ago by dermaticolombia.
November 30, 2023 at 3:36 pm #517278
dermaticolombiaParticipantsrc=”https://api.clientify.net/web-marketing/chatbots/script/24###.js”
The code written like this, without opening and closing tags doesn’t work either, could you please tell me then how I should put it
November 30, 2023 at 9:41 pm #517439
dermaticolombiaParticipantI’ve used the Wpcode plugin – insert headers and footers + customs code snippets – wordpress code manager and when I’m logged in as an admin user, the script loads, but when I’m not logged in, it doesn’t load
Attachments:
You must be logged in to view attached files.December 1, 2023 at 2:30 pm #517610
Aizaz Imtiaz AwanKeymasterHello,
I think it is your cache issue, please remove all sorts of cache from the site and server then deactivate the cache and CDN from the server then check back the site, I am sure your issue will be solved.
Best Regards.
December 1, 2023 at 4:36 pm #517654
dermaticolombiaParticipantI’ve waited a whole day to get this answer from you
Yes, obviously it’s a cache problem, the problem is that this theme requires a caching plugin for its loading and performance times to be optimal, otherwise this theme is too slow and not optimized at all, therefore I have the LiteSpeed Cache plugin installed, compactable with the technology of my web hosting server. Now, I require its theme, but also this script and the LiteSpeed Cache plugin.
Now, could you please tell me how I can exclude, either from your theme, from the WordPress core, in the .htaccess file, from the Lite Speed Cache plugin, how to exclude the loading of my script, PLEASE.
December 2, 2023 at 12:12 pm #517817
Aizaz Imtiaz AwanKeymasterHello,
Please ask the Wpcode plugin author about this how to exclude the snippet code from the cache. This issue is not related to the theme. It is te issue between the Wpcode plugin and Cache plugins.
I hope you can understand our limitations and support policy about the 3rd party plugins.
Best Regards.
December 2, 2023 at 6:50 pm #517879
dermaticolombiaParticipantOkay, I understand your limitations with third-party support and plugins, but I’ve had to resort to this one because their Custom JS option doesn’t work. So in this case what I’m requesting is about the theme option, forget the third-party plugin Wpcode because I’m not using it and look at the Woodmart theme option. Therefore I ask you to please support me on how to make my script work using the “native” options of the Woodmar Custom JS theme.
One of the reasons why I bought and paid for the Woodmart theme is just to be able to receive support from you
December 2, 2023 at 6:59 pm #517880
dermaticolombiaParticipantI’m using the “native” options of the woodmart theme and it doesn’t work
Attachments:
You must be logged in to view attached files.December 4, 2023 at 4:44 pm #518327
Aizaz Imtiaz AwanKeymasterHello,
I think you misunderstood that what the “Global custom JS” and “On document ready” fields are for. These fields are intended for pure JavaScript code. Example:
let x; x = 6; document.getElementById("demo").innerHTML = x;
What you need is to connect the script file to the HTML page. These actions are not directly related to the custom JS code and are done completely differently.
To insert the script to the site HTML, you needs to install the child theme and add the following code to into functions.php file:
`add_action( ‘wp_footer’, function () {
echo ‘‘;
}, 100 );`I hope now you can understand it.
Best Regards.
December 4, 2023 at 5:28 pm #518357
dermaticolombiaParticipantOkay, I’ve pasted the code snippet into the functions.php of my child theme. Then I’ve created a new section in the footer of my page and I’ve inserted an html widget, I’ve inserted my script there, but it still doesn’t appear on the frontend.
I send screenshots and login credentials to my site so you can see it with your own eyes
What am I doing wrong, what or where am I failing?
Attachments:
You must be logged in to view attached files.December 5, 2023 at 9:13 am #518518
Aizaz Imtiaz AwanKeymasterHello,
Sorry for the incomplete code sent to you mistakenly, please use the below code:
add_action( 'wp_footer', function () { echo '<script type="text/javascript" src="https://api.clientify.net/web-marketing/chatbots/script/#####.js"></script>'; }, 100 );
Best Regards.
December 5, 2023 at 5:52 pm #518753
dermaticolombiaParticipantPerfect, thank you very much, case closed, after so much the answer was simpler than imagined. Thank you for the support. Case closed 😉
December 6, 2023 at 8:26 am #518907
Aizaz Imtiaz AwanKeymasterMost Welcome!!!.
I’m so happy to hear you are pleased with the Theme and Support. XTEMOS strives to deliver the best customer experience, and it makes our day to hear we have accomplished that.
We count ourselves lucky to have you as a customer. You can always reach us at any time. We are always here to help you.
Thanks for contacting us.
Have a great day.Topic Closed.
Best Regards. -
AuthorPosts
Tagged: Widget JS integration
The topic ‘Widget Chatbot to Clientify Marketing CRM’ is closed to new replies.
- You must be logged in to create new topics. Login / Register