All Collections
FunnelFlux features explained
Redirection
What is the FunnelFlux Buffer and how to use it
What is the FunnelFlux Buffer and how to use it

Learn how to use buffer tokens in FunnelFlux.

Zeno avatar
Written by Zeno
Updated over a week ago

The FunnelFlux Buffer (or just buffer) is memory storage used to temporarily store data that has been passed into your URLs (both entrance and action links).

Buffer data is not stored in your database and can be useful for passing dynamic information between pages.

How to get data into the Buffer?

Any data you pass in your URLs enters the buffer and becomes available through tokens in FunnelFlux.

For example, this is your original action link.

https://tracking-domain.com/?flux_action=1

Then, you append a new parameter "page=products"

https://tracking-domain.com/?flux_action=1&page=products

The parameter you just added to the action link gets added to the buffer and can be accessed during URL redirects.

The Buffer field's name is "page" and the Buffer value now is "products".

How to get data out of the Buffer? (i.e. use it)

You can use FunnelFlux's buffer token to inject buffer values into your lander/offer URLs, JavaScript Nodes, and PHP Nodes.

{buffer-fieldname}

For example, if you added or appended a new parameter "page=products" then the buffer token will be.

{buffer-page}

Additionally, the "accumulate URL parameters" toggle, which you can access in a page's settings inside the funnel builder, will cause all data from the buffer (both traffic source data and temporary data) to be passed to a page's URL:

Using Buffer tokens to make landers dynamic

Let say you have a single lander that supports multiple languages and you want to display based on the country of the visitor.

For example, in your lander page code you print "Good Day!" based on the visitor country:

<?php

$country = !empty($_GET['cc']) ? $_GET['cc'] : 'US';

if ($country == 'ES') { echo 'Buen día!'; }
elseif ($country == 'IT') { echo 'Buona giornata!'; }
elseif ($country == 'SI') { echo 'Dober dan!'; }
elseif ($country == 'DE') { echo 'Schönen Tag!'; }

else { echo 'Good day!'; }
?>

By default, you can use the FunnelFlux country code, but for now, let's use the buffer token {buffer-fieldname}

In your FunnelFlux lander URL setting, you can add the buffer token to support your multi-language page:

https://lander-domain.com/lander/index.php?cc={buffer-country}

In your action link or entrance link before redirecting to your lander page, you can now create a buffer to pass into your lander.

https://tracking-domain.com/?flux_action=1&country=DE

The above URL will create a buffer value "country" that contains a value of "DE" which can be injected as buffer token into your lander/offer URLs, JavaScript Nodes, and PHP Nodes.

Since you have set the buffer value in your lander action URL, then your lander URL will render and redirect based on the buffer value.

https://lander-domain.com/lander/index.php?country=DE

Your lander will then filter the passed country parameter and prints the corresponding hello that you have defined in the PHP code above.

Schönen Tag!

NOTE: The buffer is temporary and buffer data is not available in your Drilldown reports or stats. If you want this data to be stored then we recommend using the Traffic Source Tracking Field.

Did this answer your question?