How to pass data over url in modal bootstrap?

Is it possible to pass text values into Marketo landing pages using URL parameters?

  • I want to address landing page Adwords quality score issues by tweaking some of the meta data and textual content of the landing pages.  To do this, I will pass some strategic text into the landing page via &param=text on the URL parameters.  Does Marketo allow this?  Have you done it successfully?

  • Answer:

    It depends on what exactly you are trying to achieve. If it is purely for Google Adwords purposes, then you can just modify the URL, Marketo does allow that. If you want to store that value in Marketo, then you can get values from URL parameter using the form editor setting. For more information, please feel free to open a case with Marketo Support.

Mikhail Lapin at Quora Visit the source

Was this solution helpful to you?

Other answers

For clarification:  Do you want to pass URL parameter information into a Marketo page in order for "dynamic" content to be populated on the page for SEO purpose or are you just attempting to pass information into hidden form fields in order to pass that information to your Lead Database?

Jesse James

I plan to pass in text which would be used to alter existing text on the page via Adwords URL parameters.  I have learned yesterday that Marketo pages allow parameter parsing via simple Javascript.

Scott Clark

Do you mean query strings? I haven't used marketo in a long time but I vaguely remember ability to do this... For other marketing automation tools not limited to Marketo I use query strings to pass values to do many interesting things from link IDs to field values. For example you could use a few lines of javascript to pull a query string value out of a URL and submit it as a form field upon submit. Query strings are incredibly powerful and allow for a lot of flexibility and creativity.

Dave Zeltser

In Marketo, you need RTP (Real Time Personalization) to do this well. It’s an add-on product, and (obviously, for Marketo) expensive.Alternately, you could use segmentation, as seen here (from Marketo user Alok): https://nation.marketo.com/external-link.jspa?url=http%3A%2F%2Finfo2.filemaker.com%2FFileMaker_Platform_Trial_Request.html%3FLanguage%3DENhttps://nation.marketo.com/external-link.jspa?url=http%3A%2F%2Finfo2.filemaker.com%2FFileMaker_Platform_Trial_Request.html%3FLanguage%3DFR In the above URL's content is regionalize on the basic Language Parameter and it setup using the segment only, if you want can use the tokens also with the segments.As a final alternate, you could create or modify a page template to get the code in you need (from Marketo user Robb Barrett):In your header of your template, you'll want this:<script type="text/javascript">function getUrlVars() {var vars = {};var parts = window.location.href.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(m,key,value) {vars[key] = value;});return vars;}var map = getUrlVars()["map"];var region = getUrlVars()["region"];var cities= getUrlVars()["cities"];</script>Now, in your HTML, where you want the stuff to appear, put this in:Map:<img id="map-img"><script>var mapimg = map;document.getElementById("map-img").src = mapimg ;</script>Cities:<ul id="itemList"></ul><script>var itemsExist = true;var indexNum = 0;var unorderedList = document.getElementById('itemList');var str = cities;var res = str.split("%20%");var myElement;function write_cities() {for (i = 0; i < res.length; i++) {// Create the <LI> elementmyElement = document.createElement("li");// Add the letter between the <LI> tagsmyElement.appendChild(document.createTextNode(res[indexNum++]));// Append the <LI> to the bottom of the <UL> elementunorderedList.appendChild(myElement);}}if (itemsExist) {write_cities();}</script>Region:<p id="Region-Name"></p><script>var regionname = region ;document.getElementById("Region-Name").innerHTML = regionname;</script>

Ryan Draving

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.