Dynamic and Static cid Concept


Hi All,

If you would like,a new prospect that is created through form handler to become a campaign member after the sync with CRM then you can use the concept of “Static” or “Dynamic” cid.

Static campaign ID would be hard coded into your form’s code while in case of dynamic, you will need to provide a specific campaign ID through the URL. Below is the example to accomplish the concept of dynamic cid :


The code that you can use into your form for using static and dynamic cid is given below :


<script>$(document).ready(function() {

var params = (new URL(document.location)).searchParams;

var cid = params.get(“cid”);


{ document.getElementById(‘cid’).value=cid; }


{ document.getElementById(‘cid’).value=’7016F0000014nJm’; }});


Thank you !!!


About the author

Maithili Sarambekar
By Maithili Sarambekar