1. Help Center
  2. Running your campaign

How can I get the Gleanin share tool working on Pheedloop?

Add the following code (to Event Website > Settings > Custom Code), the Gleanin popup should only display on the confirmation page.

<script>
if (window.location.href.includes('attendee/success')) {
var gleaninX = {
campaign: REPLACE_ME_CAMPAIGN_ID
};

var script1 = document.createElement('script');
script1.src = "https://app.gleanin.com/campaigns_widget.js";
document.getElementsByTagName('head')[0].appendChild(script1);

var script2 = document.createElement('script');
script2.src = "https://invt.io/s/REPLACE_ME_EVENT_TOKEN/converts.js";
document.getElementsByTagName('head')[0].appendChild(script2);
}
</script>