Skip to content

Instantly share code, notes, and snippets.

@xaif
Created March 11, 2024 07:43
Show Gist options
  • Save xaif/b294eedd08f7eb898d823c3aa8ea942a to your computer and use it in GitHub Desktop.
Save xaif/b294eedd08f7eb898d823c3aa8ea942a to your computer and use it in GitHub Desktop.
<style>
.powered-by {
display: none;
}
/* @media only screen and (max-width: 600px){
div#ymPluginDivContainerInitial {
display: none !important;
}
}*/
</style>
<script>
window.ymConfig={
bot:"x1625568904207",
payload:{
"gclid":"{{gclid}}",
"url": "{{Page URL}}",
"campaignSource": "{{campaign_source_ym}}",
"campaignName": "{{campaign_name_ym}}",
"campaignMedium": "{{campaign_medium_ym}}",
"referrer": "{{Referrer}}",
"prospect_id": "{{prospect_id}}",
"campaignTerm": "{{campaign_term_ym}}",
"campaignContent": "{{campaign_content_ym}}",
"campaignTeam": "{{campaign_team_ym}}",
"fbclid": "{{fbclid}}",
"pageid": "{{pageid}}",
"cname": "{{ad_campaign_name}}",
"adset": "{{adset_name}}",
"adname": "{{ad_name}}",
"cid": "{{ad_campaign_id}}",
"asid": "{{adset_id}}",
"adid": "{{ad_id}}"
}
};
(function() {
var w = window,
ic = w.YellowMessenger;
if ("function" === typeof ic) ic("reattach_activator"), ic("update", ymConfig);
else {
var d = document,
i = function() {
i.c(arguments)
};
var l = function l() {
var e = d.createElement("script");
e.type = "text/javascript", e.async = !0, e.src = "https://app.yellowmessenger.com/widget/main.js";
var t = d.getElementsByTagName("script")[0];
t.parentNode.insertBefore(e, t)
};
i.q = [], i.c = function(e) {
i.q.push(e)
};
w.YellowMessenger = i, w.attachEvent ? w.attachEvent("onload", l) : w.addEventListener("load", l, !1)
}
})();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment