We're having difficulty implementing the javascript to allow passthrough of parameters from a parent page into an embedded marketo landing page form.
Our CMS (Concrete 5) throws an error when we try to use the provided javascript. the feedback we've gotten is
"Concrete5 has its own copy of jQuery. So when you load it again from elsewhwere, you end up with 2 copies and duplicate declarations which will cause JavaScript to die and hence the edit bar."
Has anyone experienced this issue with Concrete 5 or another CMS?
I'm using the javascript code provided in this help article
https://community.marketo.com/MarketoArticle?id=kA050000000L55PCAS
<script language="Javascript" src="http://discover.certain.com/js/public/jquery-latest.min.js" type="text/javascript"></script><script src="http://discover.certain.com/js/public/jQueryString-2.0.2-Min.js" type="text/javascript" ></script>
<script src="http://discover.certain.com/js/public/jquery.cookie.js" type="text/javascript"></script>
<script type="text/javascript">
// to set cookies. Uses noConflict just in case
var $jQ = jQuery.noConflict();
// grab the URL parameter (repeat for additional parameters)
var paramvalue1 = $jQ.getQueryString({ ID: "lsch" });
var paramvalue2 = $jQ.getQueryString({ ID: "ls" });
// set the cookies via jquery. expire time is in days (repeat for additional cookies)
$jQ.cookie("engagewp", paramvalue1, {expires: 1, domain: '.certain.com'});
$jQ.cookie("engagewp", paramvalue2, {expires: 1, domain: '.certain.com'});
</script>
[/CODE]