/get-external-data

Google Tag Manager Custom Variable Template for receiving file contents / data from external url or simple APIs using a GET request

Primary LanguageSmartyApache License 2.0Apache-2.0

Get External Data

Custom Variable Template for Server-Side Google Tag Manager

Variable for receiving file contents / data from external url or simple APIs using a GET request

Template Status Repo Size License


Usage

Define any URL as input value. The variable will call that URL in a GET request and return the response body as value. If the result is a JSON string, you can use https://github.com/mbaersch/extract-json to extract a single key from the response.