Download the PHP package stape/stape-sgtm-php without Composer
On this page you can find all versions of the php package stape/stape-sgtm-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package stape-sgtm-php
Stape sGTM PHP SDK
A PHP SDK to send tracking events to server-side GTM containers. Works in conjunction with Data Client.
Getting Started
Configuration
Fill in the basic parameters:
Variable | Description |
---|---|
$gtmServerDomain | Server host |
$requestPath | Request processing path |
Sending Event Data
Variable | Description |
---|---|
$eventName | Event name |
$eventData | Array of options for forming event data |
$eventData
Transforms
Option | Description |
---|---|
trim | Removes whitespace from the beginning and end of the value |
base64 | Encodes the string in Base64 format |
md5 | Encodes the string in MD5 format |
sha256base64 | Encodes the string in SHA256 Base64 format |
sha256hex | Encodes the string in SHA256 HEX format |
Full Example
All versions of stape-sgtm-php with dependencies
PHP Build Version
Package Version
The package stape/stape-sgtm-php contains the following files
Loading the files please wait ....