Browser / HTTP Activations
- Home/
- Integrations/
- Browser / HTTP Activations
Browser / HTTP Activations
The browser activation responds to Activation Requests with pixel-based activations.
The data transfer URL and template define where the pixel request will be issued to and templates it with how data should be configured in the URL.
Optionally, specify a Data transfer fallback URL to use in case there are no segments to send.
The data transfer configures the URL template considering the configured activated parameters. This URL is computed using the liquid templating language. Below, the valid variable names are described.
{{DATA}}
Using {{DATA}} will encode all the segment data as a query string. For example, given the following data:
- a = 0
- b = 1
- c = 2
{{DATA}} would render the following string: “a=0&b=1&c=2”. This is useful for injecting all activated parameters in an URL string.
{{DATA_FLAT}}
Using {{DATA_FLAT}} will flatten all the configured activated parameters as: “sg=a_0&sg=b_1&sg=c_2”. Currently, the prefix is always “sg”.
{{Activated Parameter Name}}
This approach replaces the variable by the configured value from the activated parameters. So, if there is an “g” parameter name mapped to an “gender” attribute, using {{g}} will replace this variable with the value for “gender” for that user. When the variable name is for a segment, it will be replaced with the valueIfTrue and valueIfFalse values if the segment is true or false, accordingly.
Example:
“…&gender={{g}}…”
would be replaced by
“…&gender=m…”.
This variable will render an empty string in case the attribute is either empty or non-existent for that user.