// create urlParams variable (constant) from URLSearchParams class using current window
           const urlParams = new URLSearchParams(window.location.search);
          
        // set UTM medium, source and campaign variables (constants) based on results of URSearchParams
           const utm_source = urlParams.get('utm_source')
           const utm_medium = urlParams.get('utm_medium')
           const campaign_id = urlParams.get('campaign_id')
           const adset_id = urlParams.get('adset_id')
           const ad_id = urlParams.get('ad_id')
           const site_source_name = urlParams.get('site_source_name')
           const placement = urlParams.get('placement')
           const campaign_item_id = urlParams.get('campaign_item_id')
           const site = urlParams.get('site')
           const thumbnail = urlParams.get('thumbnail')
           const title = urlParams.get('title')
           const utm_campaign = urlParams.get('utm_campaign')
           const utm_adgroup = urlParams.get('utm_adgroup')
           const utm_term = urlParams.get('utm_term')
           const utm_matchtype = urlParams.get('utm_matchtype')
           const gclid = urlParams.get('gclid')
           
        // get the RSVP button element
           var rsvpLink = document.getElementById("rsvp");
           var rsvpLink1 = document.getElementById("rsvp1");
           var rsvpLink2 = document.getElementById("rsvp2");
           var rsvpLink3 = document.getElementById("rsvp3");
           var rsvpLink4 = document.getElementById("rsvp4");
           var rsvpLink5 = document.getElementById("rsvp5");
           var rsvpLink6 = document.getElementById("rsvp6");
           var rsvpLink7 = document.getElementById("rsvp7");
           var rsvpLink8 = document.getElementById("rsvp8");
           var rsvpLink9 = document.getElementById("rsvp9");
           var rsvpLink10 = document.getElementById("rsvp10");
           var rsvpLink11 = document.getElementById("rsvp11");
           var rsvpLink12 = document.getElementById("rsvp12");
           var rsvpLink13 = document.getElementById("rsvp13");
           var rsvpLink14 = document.getElementById("rsvp14");
           var rsvpLink15 = document.getElementById("rsvp15");
           var rsvpLink16 = document.getElementById("rsvp16");
           var rsvpLink17 = document.getElementById("rsvp17");
           var rsvpLink18 = document.getElementById("rsvp18");
           var rsvpLink19 = document.getElementById("rsvp19");
           var rsvpLink20 = document.getElementById("rsvp20");
           var rsvpLink21 = document.getElementById("rsvp21");
           var rsvpLink22 = document.getElementById("rsvp22");
           var rsvpLink23 = document.getElementById("rsvp23");
           var rsvpLink24 = document.getElementById("rsvp24");
           var rsvpLink25 = document.getElementById("rsvp25");
           var rsvpLink26 = document.getElementById("rsvp26");
           var rsvpLink27 = document.getElementById("rsvp27");
           var rsvpLink28 = document.getElementById("rsvp28");
           var rsvpLink29 = document.getElementById("rsvp29");
           var rsvpLink30 = document.getElementById("rsvp30");
           var rsvpLink31 = document.getElementById("rsvp31");
           var rsvpLink32 = document.getElementById("rsvp32");
           var rsvpLink33 = document.getElementById("rsvp33");
           var rsvpLink34 = document.getElementById("rsvp34");
           var rsvpLink35 = document.getElementById("rsvp35");
           var rsvpLink36 = document.getElementById("rsvp36");
           var rsvpLink37 = document.getElementById("rsvp37");
           var rsvpLink38 = document.getElementById("rsvp38");
  
        // edit RSVP button element property by appending the URL parameters
           rsvpLink.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink1.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink2.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink3.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink4.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink5.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink6.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink7.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink8.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink9.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink10.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink11.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink12.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink13.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink14.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink15.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink16.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink17.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink18.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink19.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink20.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink21.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink22.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink23.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink24.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink25.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink26.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink27.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink28.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink29.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink30.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink31.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink32.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink33.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink34.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink35.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink36.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink37.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;
           rsvpLink38.href += "?utm_source=" + utm_source + "&utm_medium=" + utm_medium + "&campaign_id=" + campaign_id + "&adset_id=" + adset_id + "&ad_id=" + ad_id + "&site_source_name=" + site_source_name + "&placement=" + placement + "&campaign_item_id=" + campaign_item_id + "&site=" + site + "&thumbnail=" + thumbnail + "&title=" + title + "&utm_campaign=" + utm_campaign + "&utm_adgroup=" + utm_adgroup + "&utm_term=" + utm_term + "&utm_matchtype=" + utm_matchtype + "&gclid=" + gclid;

        // log final RSVP button link to console
           console.log(rsvpLink.href);
           console.log(rsvpLink1.href);
           console.log(rsvpLink2.href);
           console.log(rsvpLink3.href);
           console.log(rsvpLink4.href);
           console.log(rsvpLink5.href);
           console.log(rsvpLink6.href);
           console.log(rsvpLink7.href);
           console.log(rsvpLink8.href);
           console.log(rsvpLink9.href);
           console.log(rsvpLink10.href);
           console.log(rsvpLink11.href);
           console.log(rsvpLink12.href);
           console.log(rsvpLink13.href);
           console.log(rsvpLink14.href);
           console.log(rsvpLink15.href);
           console.log(rsvpLink16.href);
           console.log(rsvpLink17.href);
           console.log(rsvpLink18.href);
           console.log(rsvpLink19.href);
           console.log(rsvpLink20.href);
           console.log(rsvpLink21.href);
           console.log(rsvpLink22.href);
           console.log(rsvpLink23.href);
           console.log(rsvpLink24.href);
           console.log(rsvpLink25.href);
           console.log(rsvpLink26.href);
           console.log(rsvpLink27.href);
           console.log(rsvpLink28.href);
           console.log(rsvpLink29.href);
           console.log(rsvpLink30.href);
           console.log(rsvpLink31.href);
           console.log(rsvpLink32.href);
           console.log(rsvpLink33.href);
           console.log(rsvpLink34.href);
           console.log(rsvpLink35.href);
           console.log(rsvpLink36.href);
           console.log(rsvpLink37.href);
           console.log(rsvpLink38.href);