About Gleanin

Turn your event community into a competitive advantage.

Gleanin believe word-of-mouth is the most powerful marketing channel. Gleanin helps you utilise the trust of your event community so that you can cut through the noise and demand attention.

More information can be found: https://www.gleanin.com/


The Integration

Gevme is ready for your Gleanin application. Once you have your Gleanin's script, please follow steps to add it to your GTM.

Set up a new tag in your GTM

Step 1. Create a new script in your GTM under custom HTML


Step 2. Paste the Gleanin script in the following format based on what Gleanin shared with you.
Note: Below is only a sample and should not be used.

JAVASCRIPT FOR ONE CAMPAIGN ID
This is used if you only plan for one campaign with Gleanin

<script>
var gleaninX = {
campaign: CampaignID
type: "popup"
};
</script>

<script src="https://app.gleanin.com/campaigns_widget.js"></script>
<script src="https://invt.io/s/ABC12345/converts.js"></script>

<script>
setTimeout(function() {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://app.gleanin.com/campaigns_widget.js';
document.head.appendChild(script);

var script2 = document.createElement('script');
script2.type = 'text/javascript';
script2.src = 'https://invt.io/s/ABC12345/converts.js';
document.head.appendChild(script2);
}, 2000);
</script>

JAVASCRIPT FOR MULTI-CAMPAIGN IDS

This can be used if your event meet the following conditions:

- You are planning for multi Gleanin campaigns

- The campaigns are subjected to different ticket names.

- For every registration in Gevme, the user can only register/purchase 1 ticket type only at a time.


Important Note: If the ticket name is updated, this script need to updated as well. This script will only work on /confirmation page.

<script>
var campaign1="CampaignID-1";
var campaign2="CampaignID-2";
var campaign3="CampaignID-3";

var campaignID;

switch (window.gevme_confirmation.ticket_names[0]) {
  case "TicketName1":
  case "TicketName3":
  case "TicketName4":
    campaignID = campaign1;
    break;
  case "TicketName2":
  case "TicketName5":
    campaignID = campaign2;
    break;
  case "TicketName6":
    campaignID = campaign3;
    break;
}
var gleaninX = {
campaign: CampaignID,
type: "popup"
};
</script>

<script src="https://app.gleanin.com/campaigns_widget.js"></script>
<script src="https://invt.io/s/ABC12345/converts.js"></script>

<script>
setTimeout(function() {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://app.gleanin.com/campaigns_widget.js';
document.head.appendChild(script);

var script2 = document.createElement('script');
script2.type = 'text/javascript';
script2.src = 'https://invt.io/s/ABC12345/converts.js';
document.head.appendChild(script2);
}, 2000);
</script>


3. Under Triggering option add /confirmation


Add your GTM to Gevme

In Gevme, go to Event Settings / Event Pages / Google Tag Manager and paste your GTM value there.  

Upon successful registration, the Gleanin widget should appear on the Confirmation page.

The outcome

Should you apply the tag on the Confirmation Page, the pop up will appear when your attendees complete their registration form and reached the confirmation page. 



Confirmation Page WITHOUT Gleanin Application


Confirmation Page WITH Gleanin Application


There are various sharing options, this is an example when attendees select WhatsApp icon.