Eventify Logo
  • English
  • Nederlands
  • Deutsch
  • Français
  • Español
  • Italiano
  • Svenska
  • Português (Brasil)
  • Português (Portugal)
  • العربية
  • Türkçe
  • Polski
Eventify Logo
  • English
  • Nederlands
  • Deutsch
  • Français
  • Español
  • Italiano
  • Svenska
  • Português (Brasil)
  • Português (Portugal)
  • العربية
  • Türkçe
  • Polski
Platform
Core Products
Event Management Software
Event Registration Software
Event Ticketing Software
On-Site Badge Printing
Event Check-in Software
Lead Capture & Retrieval
Mobile Event App FEATURED
Event Management
Event Website Builder
Event Marketing Tools
Budget Planner
Speakers & Abstracts Mgmt.
Maps or Floor Plan Builder
Agenda Management
Event Reporting & Analytics
Eventify AI Assistant Agent MCP
Attendee Engagement
Meetings & Matchmaking
Event Networking App
Gamification
Live Polls & QA
Community Builder
Event AI
NEW
More Platform tools
Custom Branding & Whitelabeling
Widgets & Embeds
Integrations
Large Screen Live Displays
Security and Compliance
Pricing Plans
Request a Demo
Download Feature Deck Presentation
Solutions
industries
Non-Profit Organizations
Corporate Events
Education
Information Technologies
Healthcare
Pharma
Retail
Event Agencies
USE CASES
Onsite Event Management
Virtual Exhibitions
Hybrid Events
Community Meetups
Workshops & Trainings
B2B Conferences
Expo and Fairs
Trade Shows
Virtual Job Fairs
Medical Events
Product Launchs
Sales Kickoffs
Education Events
Networking Events
Learning & Development
Internal Events
Awards & Recognition
White Label Mobile Apps
Native Event App
Deliver a seamless event experience with your own branded app.
Event Networking App
Empower networking and collaboration within your event.
Lead Scan & Retrieval App
Simplify lead scanning and retrieval for exhibitors and sponsors.
Pricing Plans
Request a Demo
Download Feature Deck Presentation
Features
Content Management
Event Website Builder
Agenda Builder
Speaker Profile
News
Event Guide
Social Boost
Live Screen Display
Registration
Event Ticketing
Check-in Software
Abstract Management
Event Content Mgmt.
Badge Printing
Dynamic Form Builder
Floor Planner
Event Itinerary
Event Accomodation
Exhibitors & Sponsors
Exhibitor Profile
Sponsored Ads
Lead Scanning
Interactive Maps
Engagement
Event AI
Matchmaking
Chat & Meetings
Social Feed
Community Forum
Poll & Live QA
Gamification
Attendee Helpdesk
COMMUNICATIONS
Instant Push Notification
Email Notification
More Tools
Event Surveys
Analytics & Reporting
Facial Recognition Kiosk
Pricing Plans
Request a Demo
Download Feature Deck Presentation
Resources
cOMPANY
About Eventify
Customer Stories
Feature Updates
Campaigns & Promotions
Careers
Security & Compliance
Community NEW
rESOURCES
Knowledge Base
Blogs
FAQs
Podcasts
Support
Contact Us
TOOLS
Free Event QR Code Generator
Free Event Staffing Calculator
Free Sponsorship ROI Calculator
Free Event Budget Calculator
Free Marketing Email Templates
Free Event WhatsApp Templates
Latest Blog Posts
Presenter hosting a live webinar with a studio microphone and laptop, from the best webinar software guide
Blog
15 Best Webinar Software for 2026 and Beyond
20 ChatGPT prompts for event landing pages, shown beside an event landing page on a laptop
Blog
20 ChatGPT Prompts for Event Landing Pages
Pricing Plans
Request a Demo
Download Feature Deck Presentation
Why EventifyCustomer Stories
Pricing
Request A Free Trial
Contact Us
Request a Demo
Download Eventify Feature Presentation
Trusted by 5000+ Event Professionals
Eventify rated 5 stars on G2, with 99% positive reviews for its event management software
99% Positive G2 Reviews
Terrific Data Security
Help for attendees, exhibitors, sponsors & speakers
Getting Started as a ParticipantFor AttendeesFor Exhibitors & SponsorsFor SpeakersFor Abstract Authors & ReviewersHelp for event organisers
Topics

Eventify Kiosk for Desktop

Registration & Tickets

For Abstract Authors & Reviewers

For Speakers

For Exhibitors & Sponsors

For Attendees

Getting Started as a Participant

Registration Tracking & Analytics

Website Builder

Manage Event Settings

Manage Networking

Manage Sessions

Manage Analytics

Manage Push Notification

Manage Social Boost

Manage Polls

Manage Branding

Manage Community

Manage Live QA

Manage Budget Planner

Manage Itinerary

Manage Maps

Eventify AI Agent (MCP)

Manage Schedules

Manage Meetings

Manage Registrations

Manage Campaigns

Manage Sponsors

Manage Speakers

Manage Exhibitors

Manage Webview

Manage Advertisements

Manage Event Guide

Manage News

Gamification

Exhibitor, Sponsor & Speaker Profiles

Meetings

Campaign

Customise Event Branding

Eventify Admin Settings

Engagement & Networking

Manage Contents

Outreach

Manage Attendees

Support & Feedback

Abstract Calls

Event Settings

Fresh On Eventify

Setting Up an Event

User Registration

Manage Ticketing

Promotions and Discounts

Scans & Check-ins

How to Schedule?

Eventify Analytics

How to Change and Add Elements on Your Ticket Page with Custom Code

Written for:
Event Admin / Organiser
Attending, exhibiting, sponsoring or speaking at an event? See the help for attendees, exhibitors, sponsors and speakers.Organising an event on Eventify? See the help for event admins and organisers.
Published on
December 3, 2026
Last updated on
December 3, 2026

You can change how your Eventify ticket page looks and add your own content to it with custom code. For example, you can restyle the ticket cards, change the price colour or the Add button, highlight one ticket with a badge, or add a notice above the ticket list. You write the CSS, and for new content the JavaScript, yourself, so this needs advanced coding knowledge. If you only want to hide something, see How to Hide Elements on Your Ticket Page by Injecting External CSS.

Where to find this: Registration > Registration Settings > Tracking Code

Where to paste your code

Tracking Code (whole event)

Go to Registration > Registration Settings and open the Tracking Code tab. It has two boxes, Add code before </head> tag and Add code before </body> tag. The same two boxes open from Registration > Tickets > Ticket Dashboards > Add Tracking Code. Code here loads on every page of your event's ticket and registration portal. Use this box for all the examples below.

Custom Code (one ticket's direct link)

Each ticket has its own Custom Code box on the last step of the ticket form, Settings. Code there loads only when a buyer opens that ticket's direct link, the link that ends in /tickets/ followed by the ticket code. It does not load on the full ticket list.

Before you start

  • Wrap CSS in <style> tags and JavaScript in <script> tags. Apart from a few tags for page details, anything else you paste, such as a <div> or a <link> tag, is skipped. To add new content to the page, use a script, as in the examples below.
  • Both boxes load at the same moment, so either one works. The examples use Add code before </head> tag.
  • Scripts run once, as soon as your event's settings load. That is usually before the ticket list appears. The page can also redraw the list later, for example when a buyer picks another ticket tag. A script that adds content must wait for the tickets and add its content again if it disappears. The script examples below do both.
  • Add !important to your CSS rules. Some styles are set directly on the page elements, such as the coloured left edge from ticket colours in the old portal, and only !important overrides them.
  • Your event uses either the new ticket portal, with /t/ in its address, or the old one, with /t2/. Every example below works on both. Where one portal has fewer class names, the example says so. See How to Switch Your Event to the New Ticket Portal.

How to add your code

  1. Go to Registration > Registration Settings > Tracking Code.
  2. Paste the code into Add code before </head> tag. If the box already holds code, such as a Google Tag Manager snippet, add yours on a new line underneath. Don't replace what is there.
  3. Click Save & Next.
  4. Click Publish at the top of the dashboard, then Publish Changes.
  5. Open your ticket page in a new tab and refresh it.

You can paste several examples into the box, one after the other.

Restyle every ticket card

This gives every ticket card a blue border with rounder corners and makes the ticket names blue and larger.

Tracking Code
<style>
  .TICKET_LIST_CONTAINER {
    border: 2px solid #1652f0 !important;
    border-radius: 16px !important;
  }
  .TICKET_NAME {
    color: #1652f0 !important;
    font-size: 20px !important;
  }
  html.dark .TICKET_NAME {
    color: #8fb0ff !important;
  }
</style>

The border replaces the red border Eventify puts on sold-out tickets and, in the old portal, the coloured left edge from ticket colours. The ticket name has a class name on all screens in the old portal but only on wide screens in the new portal, so on phones the new portal shows the name in its normal style.

The new portal has a button that switches the page to dark mode. Dark mode adds the class dark to the page, so the rule that starts with html.dark gives the ticket name a lighter blue on the dark background. Add a rule like this for every text colour you change.

Change the price colour

This shows the ticket price in green.

Tracking Code
<style>
  .TICKET_PRICE_SECTION,
  .TICKET_PAID_PRICE_SECTION,
  .TICKET_PRICE,
  .TICKET_DISCOUNTED_PRICE_SECTION,
  .TICKET_PRICE_SECTION_MOBILE > div:first-child {
    color: #0a7d3b !important;
  }
</style>

On phones, the new portal's price line has no class name of its own. The last selector picks the first line of the phone price area, which is the price. In the new portal, the tax, fee and "per ticket" text keep their own colour. On phones, when a discount code is applied, the discounted price is on the second line and keeps its own colour.

Restyle the Add button

This turns the buttons buyers use to pick tickets orange and fully rounded.

Tracking Code
<style>
  .TICKET_ADD_BTN,
  .TICKET_QUANTITY_SELECT_SECTION .ticket-count {
    background-color: #e8590c !important;
    color: #ffffff !important;
    border-radius: 999px !important;
  }
</style>

In the new portal, .TICKET_ADD_BTN is the Add button on each ticket. The old portal has minus and plus buttons instead, with the class ticket-count, inside .TICKET_QUANTITY_SELECT_SECTION.

Highlight one ticket with a badge

Each TICKET_ class name in the table at the end of this article also exists with an underscore and the ticket code at the end. In the code below, 22A071 is the ticket code. The code gives that one ticket an orange border and a "Best value" badge at the top of its card.

Tracking Code
<style>
  .TICKET_LIST_CONTAINER_22A071 {
    border: 2px solid #e8590c !important;
  }
  .TICKET_LIST_CONTAINER_22A071::before {
    content: "Best value";
    display: inline-block;
    margin: 12px 0 0 16px;
    padding: 2px 10px;
    border-radius: 999px;
    background-color: #e8590c;
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
  }
</style>

Replace 22A071 with your ticket's code in both places, and change the badge text between the quotes. The badge is made with CSS only, so it stays in place when the page redraws the list.

To find a ticket's code, go to Registration > Tickets > Manage Tickets and click the edit icon on the ticket. The Ticket Code is shown at the top of the first step, Ticket Details.

Add a notice above the ticket list

This adds a yellow notice above the first ticket.

Tracking Code
<style>
  .my-ticket-notice {
    margin-bottom: 12px;
    padding: 12px 16px;
    border: 1px solid #f5c26b;
    border-radius: 8px;
    background-color: #fff8e6;
    color: #5c3d00;
  }
</style>
<script>
  (function () {
    var text = "Booking for 5 or more people? Email [email protected] for a group rate.";
    function addNotice() {
      var firstTicket = document.querySelector(".TICKET_LIST_CONTAINER");
      if (!firstTicket || firstTicket.closest(".ADDON_SECTION") || document.querySelector(".my-ticket-notice")) return;
      var notice = document.createElement("div");
      notice.className = "my-ticket-notice";
      notice.textContent = text;
      firstTicket.parentNode.insertBefore(notice, firstTicket);
    }
    new MutationObserver(addNotice).observe(document.body, { childList: true, subtree: true });
    addNotice();
  })();
</script>

Change the text between the quotes on the line that starts with var text. The script adds the notice once, and adds it back if the page redraws the list. The text is shown exactly as written, so HTML tags in it are not turned into links or formatting.

Add a note under one ticket

This adds a note directly below the ticket with the code 22A071.

Tracking Code
<style>
  .my-ticket-note {
    padding: 8px 16px;
    border-left: 4px solid #e8590c;
    background-color: #fff4ec;
    color: #7a2e00;
    font-size: 14px;
  }
</style>
<script>
  (function () {
    var code = "22A071";
    var text = "Book 5 or more tickets in one order to get this price.";
    function addNote() {
      var card = document.querySelector(".TICKET_LIST_CONTAINER_" + code);
      var note = document.querySelector(".my-ticket-note");
      if (!card) {
        if (note) note.remove();
        return;
      }
      if (!note) {
        note = document.createElement("div");
        note.className = "my-ticket-note";
        note.textContent = text;
      }
      if (card.nextElementSibling !== note) card.after(note);
    }
    new MutationObserver(addNote).observe(document.body, { childList: true, subtree: true });
    addNote();
  })();
</script>

Replace 22A071 with your ticket's code and change the text. If that ticket is not on the page, for example because the buyer picked another ticket tag, the script removes the note.

Hide an element

To hide an element, set it to display: none. This hides the tag labels on every ticket card.

Tracking Code
<style>
  .TICKET_TAG { display: none !important; }
</style>

For more on hiding, including hiding an item on one ticket only, see How to Hide Elements on Your Ticket Page by Injecting External CSS. The sale end date also has a built-in switch, Hide Ticket Sales End Date. In the new portal, the number of tickets left has one too, Hide Ticket Count. See How to Configure Ticketing and Registration Settings in Eventify.

Make a change on one ticket's direct link only

  1. Go to Registration > Tickets > Manage Tickets and click the edit icon on the ticket.
  2. Click Continue until you reach the last step, Settings.
  3. Under Custom Code, paste your code into Add code before </head> tag.
  4. Click Publish Ticket.
  5. Click Publish at the top of the dashboard, then Publish Changes.
  6. Open the ticket's direct link and refresh it.

The same rules apply as in Tracking Code: wrap CSS in <style> tags, and let scripts wait for the ticket card.

Class names you can use

These names are on the ticket page so that you can style it. A name that starts with a dot is a class. Add an underscore and a ticket code to any TICKET_ name in this table to target one ticket.

Class nameWhat it isWhere it works
.TICKET_LIST_CONTAINERThe whole ticket cardBoth portals, all screens
.TICKET_NAMETicket nameOld portal: all screens. New portal: wide screens only
.TICKET_DESCRIPTIONTicket descriptionBoth portals, all screens
.TICKET_PRICE_SECTIONPrice areaOld portal: all screens. New portal: wide screens only
.TICKET_PRICE_SECTION_MOBILEPrice area on phonesNew portal
.TICKET_PAID_PRICE_SECTIONPrice of a paid ticketOld portal: all screens. New portal: wide screens only
.TICKET_PRICE"Free" on a free ticketNew portal, wide screens only
.TICKET_DISCOUNTED_PRICE_SECTIONPrice after a discountNew portal, wide screens only
.TICKET_ADD_BTNAdd buttonNew portal, all screens
.TICKET_QTY_BTN, .TICKET_QTY_VALUEMinus and plus buttons and the number, once the ticket is in the cartNew portal, all screens
.TICKET_QUANTITY_SELECT_SECTIONArea with the minus and plus buttons (the buttons have the class ticket-count)Old portal (new portal: tier-priced tickets on phones only)
.TICKET_END_DATE"Sale ends on" dateBoth portals, all screens
.TICKET_TAGTag labels on a ticketBoth portals, all screens
.TICKET_SOLD_OUT"Sold Out" labelOld portal: all screens. New portal: wide screens only
html.darkAdded to the page when a buyer turns on dark modeNew portal

To find a name that is not in this list, right-click the item on your ticket page, choose Inspect, and look for a name in CAPITAL LETTERS on the highlighted line or the lines just above it. Avoid lowercase styling names such as rounded-lg or text-sm. They describe a look, not a part of the page, and change between releases.

Common questions

I pasted a <div> with my message, but nothing shows. Why?

The code boxes only use <style> and <script> tags, plus a few tags for page details. Other HTML is skipped. Create the element with a script, as in "Add a notice above the ticket list".

My script runs but can't find the tickets. Why?

Scripts usually run before the ticket list appears. Wait for the tickets with a MutationObserver, as the script examples do, instead of looking for them once.

Will my changes show in the ticket widget on my website?

Yes. The code runs inside the ticket page itself, so it also applies when the page is embedded on your website. On an embedded page, Eventify waits up to two seconds for your website's cookie-consent answer before it loads Tracking Code. If your website passes its cookie-consent choice to the ticket page and a visitor declines both analytics and advertising cookies, Tracking Code does not load for that visitor, and neither do your changes.

Do these examples work on the old ticket portal?

Yes. Each example was tested on both the new and the old portal. Where a class name exists in only one of them, the example and the table above say so.

Does Eventify check my code?

No. Eventify saves the code exactly as you paste it, and it also runs on your checkout pages. Try it on a test event first, and only use code you understand.

Related articles

  • How to Hide, Change and Add Elements on a Registration Form with Custom Code
  • How to Hide, Change and Add Elements on the Web Portal with CSS
  • How to Hide Elements on Your Ticket Page by Injecting External CSS
  • How to Switch Your Event to the New Ticket Portal
  • How to Configure Ticketing and Registration Settings in Eventify
  • How to Create and Manage Ticket Types on Eventify
  • Add Google Analytics 4 or Google Tag Manager to Your Registration Page

Need more help? Contact Eventify support from the admin panel.

Related Topics You May Like

How to Hide, Change and Add Elements on the Web Portal with CSS

Read post

How to Hide, Change and Add Elements on a Registration Form with Custom Code

Read post
The future of events
is here.

Summarise with AI

ChatGPT Claude Perplexity Google
PLATFORMS
Virtual Event PlatformHybrid Event PlatformIn-person Event PlatformMobile Event AppExpo & ExhibitionEvent Management PlatformEvent Registration PlatformTrade ShowCorporate Event AppEnterprise Event AppTrade Show AppTrade Show Management Software
PRODUCTS
Event Ticketing SoftwareEvent Check-in AppEvent Badge PrintingTicket Sales ReportLead Retrieval AppEvent Networking AppEvent Gamification AppEvent Poll & QAEvent Matchmaking AppEvent Concierge Service
RESOURCES
ContactAboutBlogCustomer StoriesFeature UpdatesPodcastsFAQReferral ProgramPartner ProgramCommunityEventify Certification
OTHERS
Privacy PolicyTerms of UseBug Bounty & Responsible DisclosureSite MapRestricted BusinessesSecurity
Download Eventify App
Download on the App Store badgeDownload the Eventify event app on Google Play
Eventify is ISO 27001:2022 certified
iso 27001 certified logoAICPA SOC logogdpr logoSOC 2 TYPE 2 LOGO
Trustpilot logo with 5-star ratingBadge from SaaSworthy for Top 20 Fastest Growing Event Management Software in Q3 2023.Purple circular badge with colorful abstract flower and text '15th Global Eventex Awards 2025 Winner'.
Eventify is a leader in Mobile Event Apps on G2
Leader
High Performer
Leader
Best Support
Users Most Likely To Recommend
Easiest To Do Business With
Eventify company logo on dark background
© Eventify 2026. All rights reserved.
  • English
  • Nederlands
  • Deutsch
  • Français
  • Español
  • Italiano
  • Svenska
  • Português (Brasil)
  • Português (Portugal)
  • العربية
  • Türkçe
  • Polski
FacebookTwitterInstagramLinkedinYouTube icon