Stape
Power-ups

XML to JSON

The power-up XML to JSON can convert XML to JSON format in the server Google Tag Manager.

How to get it done:Copy link to this section

1. Set webhook to send data to the URL https://ss.example.com/stape/xml/

2. https://ss.example.com should be the tagging server URL you use for the sGTM container.

3. Add any path after /stape/xml/, for example, https://ss.example.com/stape/xml/data, and this path will be used to send a request to your sGTM. In this case, we will send JSON to /data. 

This webhook will convert XML to JSON format.

In order to enable it, all you need to do is log in to your stape.io account, open container, choose power-ups and click "Use" button. 

xml to json power-up from stape.io
xml to json power-up from stape.io

Host your GTM server at Stape