Can this be used to add external API to a page?
-
Just a quick one. We’ve been given a external JS API code to add to our website. It needs to trigger just on the order confirmation page to plant a tree for that order.
I’ve tried to add the API using this plugin with the following settings:Auto Insert
Site Wide Header
Any device type
Enable logic
Show if page URL contains /checkout/order-received
I’ve also tried ‘Insert before content’
Both ways do include the API JS on the confirmation page (Inspect > Network) – however it doesn’t look like it responds with anything.
I’ve checked for a response using the ‘tree impact API’ and can see it is not working.
I just wondered if this plugin can be used to insert external API?
- The topic ‘Can this be used to add external API to a page?’ is closed to new replies.