Okay
  Public Ticket #2743793
Query Strings
Closed

Comments

  • Pinnacle Institute started the conversation

    Hello TMS Plugins team, 


    Hope you are doing well. Enjoying your plugin so far but I do have several questions.

    1. I have connected Amelia to zapier and then mailchimp with great success. What I am trying to do now is to capture a campaign code using the query string that I noticed on was part of the hook however I do not see that as a custom field in there so I assume that just works automatically. Even still, I cannot get a success test of that being brought into the webhook. Please advise.

    2. Is it possible to remove all mentions of capacity for the event.

    3. Is it possible to not show any closed events on the events listing? 

    Thank you so much for your continued support


  • [deleted] replied

    Good day!

    Thank you for choosing Amelia.

    1. Could you please provide us with the screenshots of what the hook returns. The campaign code shouldn't be sent by Amelia since it's not in Amelia, so we need more clarification on that.

    2. I'm afraid, at the moment there's no such a setting that will hide Event capacity automatically, but it can be achieved with custom CSS.

    To hide the capacity on the Events page, please try to add this CSS to the page:

    div.am-event-data > div.am-event-info > div:nth-child(2) > div {
    display: none !important;
    }

    3. It can also be achieved with custom CSS. Please try this one:

    .am-event-list .closed {display: none !important;}

    Please note that this CSS only hides the Events with the status "closed" from the page. They are, however, still present. So, if the page displays 12 events, and 9 of those are "closed", the page will hide them, so only 3 events will appear on the page.

    Looking forward to hearing from you. 

  • Pinnacle Institute replied
    6982163036.png

    Absolutely, thank you for the new info! Basically I am trying to capture querystrings when a booking is made. Zapier has a slot for it when displaying the webhook data but I'm not sure why it is not pulling up (it's the last value on the bottom). Hopefully this helps you understand what I am trying to do. 

    an example would be:

    URL.com/event/?query-string-for-amelia-to-capture


    Thanks again for your help with the other two issues!

  • [deleted] replied

    Hi again!

    Thank you for the clarification, I will forward this information to our developers on Monday (since we don't work on weekends) and get back to you right after.

    Also, please confirm that the codes I had sent you worked on your site. 

    Best Regards.

  • Pinnacle Institute replied

    Hello Liza,


    My apologies for the late update. The third solution worked like a charm however I cannot seem to get the capacity to be removed. I tried just a straight copy/paste and several different CSS selectors with no success. Thank you for forwarding this to the developers.


    Hope you have a great day

  • [deleted] replied

    Good day!

    Sorry for the inconvenience.

    Please try this CSS in order to hide Capacity:

    .am-event-sub-info-capacity {display: none !important;}

    Hope it will work this time.

    Best Regards.

  • Pinnacle Institute replied

    Hi Liza, that worked wonderfully :) Thank you for taking the time out to help me. 

    I'm guessing one of the developers will reach out via email?

    Best Wishes

  • [deleted] replied

    Good day!

    Woohoo, that's great!smile.png

    Regarding Zapier: I'm sorry, I forgot to forward our developer's response to you right after. My bad.

    Custom Fields are inside the JSON BOOKING field.

    Hope that will help.

    Best Regards.