Skip to content

stape-io/math-variable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Math Variable for Google Tag Manager Server Container

A custom variable template for the GTM Server container that performs basic mathematical operations between two input values. Including optional result rounding.

Features

  • Supports addition, subtraction, multiplication, and division
  • Accepts numeric inputs or string representations of numbers
  • Optional rounding to a configurable number of decimal places

Usage

  1. Select a math operation: Add, Subtract, Multiply, or Divide
  2. Enter two numeric input values
  3. Enable "Round result" to round the output
  4. Specify the number of decimal places to round to (defaults to 2)

Installation

2 options:

  • (Recommended) Add the variable to your GTM Server container from the GTM Template Gallery;
  • or import the template.tpl file into your GTM Server container under TemplatesVariablesNew3 dots on the upper right cornerImport.

Open Source

Initial development was done by Lars Friis.

The Math Variable for GTM Server Side is developed and maintained by Stape Team under the Apache 2.0 license.

About

Math Variable for Google Tag Manager Server Container

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •