JSON Export/Import

JSON Export/Import

Export/Import JSON schemas

💡
Trackingplan allows you to copy the specification of your events to other plans by exporting and importing them as a JSON Schema, maintaining the same rules, and facilitating the handling of multiple specifications across numerous panels and destinations.

Export JSON schema

To export your schemas in JSON format, follow these steps:

  1. Open the export menu you’ll find at the top right of any of your destinations. For this example in particular, we’ll illustrate it by exporting Google’s Analytics 4 setup. Then, click on “JSON Schema” as seen in the picture below.
image
  1. Now it’s time to select all the events and properties you’d like to export. By default, Trackingplan will select them all, but you have the possibility to uncheck those you don't want. You can also click on "clear all" to start afresh and only mark those events and properties that interest you.
image
☝🏻
Pro tip: To facilitate this step, you can first narrow down your selection using the filtering options before clicking on export. This will help you focus on specific events and properties, making the export process more efficient and tailored to your needs.
image
  1. Once you've completed your selection, you can choose between copying your schema to the clipboard to paste it into a file, or downloading it as a file to open directly. Just click on the option you prefer and… all set! With this, you'll be able to view all the schemas from the providers you want, and for the events you want.
image

Import JSON schema

Now, for importing your JSON schema to other plans (iOS, Android, web) or even to other destinations within the same plan, replicating the setup of your events while maintaining the same rules and specifications across various panels or providers, follow these easy steps:

  1. Open the export menu and click on “Import JSON Schema” as seen in the picture below.
image
  1. Drag and drop the file containing the schemas you’ve just exported, or click on it to select directly from your files. We'll notify you if the file is invalid or if you've made any errors editing it. Don't worry, we'll indicate where and why so you can easily correct it.
image
  1. Now it’s your time to select all the events and properties you’d like to import. If you want to replicate your whole setup, click on “Select all”. If not, just click on the events and properties you want until your selection is completed. Then, just click on Import.
  2. image