Remotely Update Location Pages HTML + CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Update Gazella Splash pages HTML + CSS remotely

Getting Started (Single Page)

If you have a Partner or Reseller account with - These instructions will allow to be able to programmatically update a Location's page contents or styling. This comes in handy when you have multiple pages to update content for and you do not wish to update the content via the web browser one-by-one. Or this also can come in handy if you have dynamic content you'd like to change daily.

Server Requirements

Php 5.6 or newer


Gazella Partner or Reseller Account:

Purchase here:

Your Gazella API key "$apiKey":

Get this here:

A Page's ID "$locationID":

If you have users get the "id" from the browser's URL for example the last numbers of the url "1234" would be the "$locationID":


Upload "gazella-update-single-page.php" into your project folder. Example: Once the file is uploaded you may then edit "gazella-update-single-page.php" by replacing the variables with the 'XXXXXXX' values in the "// CONFIGURATION" section of the file with your own variables:


/* This is the token that you can find under your Account Settings */

/* Insert your reseller sys login url here */

/* Insert the user ID that you'd like to authenticate as */ 
$userID = "XXX";

Testing / Example

Now that your file will look something like the code below - you may test it by simply visiting the file i.e. in your browser navigating to: If successful you will be prompted from our API of success or Error.


/* This is the token that you can find under your account Settings */
$apiKey = '3948_93V4bbbbba747023450bd'; 

/* Insert your reseller sys login url here */
$sysURL = "";

/* Insert the location ID / page ID that you'd like to update */ 
$locationID = "293";


/* Insert your HTML content here - please use proper tags, otherwise your page may end up looking funny :) */ 
$htmlContent = '<h1>Welcome!</h1>';  

/* Insert your css content here - please remeber to ensure this is valid CSS as the API does not validate the css scheme for you */ 
$cssContent = '.btn{ color: black; }'; 

Warnings !!!

You may not update the HTML content with any custom <script> or remote src="" as it will not load to the client. This is the same for the custom CSS. If you wish to include a image you must convert / encode the image to Base64


We use Gazella API v2.0 for this example. See Documentation here:


This project is licensed under the MIT License - see the file for details