So you want to pass a variable on to another funnels page, right? Isn’t that what all of these stories are about? I mean, you could probably guess what funnels these stories are about, but it’s always nice to have confirmation.

Well, you can’t do that with out a bit of work. It is actually pretty easy though. All you need is a small piece of javascript on the page you want to pass the variable to and a “button” (or whatever element you want to use to signify the transfer of information).

Here’s what you need to do.

Set Up The Javascript

The first step is to set up the javascript portion of this operation. This is fairly straightforward and is done via a few simple lines of code. Basically, you are taking the value you want to pass and placing it in a javascript variable. This is known as client side scripting. The key part of this step is making sure that the value being passed is in fact a number or string and not something else (such as an object or array). If everything goes well, this step should not be too difficult. You can use online tools to help you test the javascript on your page.

Insert The Button

Once you have your javascript set up (you can test it by pasting it into notepad or another text editor), you need to insert the button into your page. This is where it gets a little more difficult than just pasting in some Javascript. You need to do a bit of research on which element will work best for your situation. You also need to make sure that this element will not interrupt or affect the functionality of other elements on your page. There are several different ways you can do this, but ultimately you need to use the “button” element.

Let’s say, for example, you want to pass the variable “contacts” to the Funnels page. You would use an anchor element with a class of “btn” to signify that this is a button (you can replace “btn” with whatever you want to call these anchor tags—I just used this example).

Then, you would need to find the Funnels page and add some Javascript to it. If your javascript is in a separate file, you would paste that file into the Funnels page after the opening body tag.

Finally, you would need to grab the value in the javascript variable using the “contacts” variable and output that value in the Funnels page. To do this, you would use the following code:

<button class="btn"></button>
<p>This is the values that you want to pass to the Funnels page.</p>

As you can see, this is a pretty simple and straightforward approach to passing information from one page to another. Ultimately though, it’s all about presentation and your target audience. The key is making sure that the information is presented in a way that makes sense to your intended audience. Hope this helps!