{"id":28298,"date":"2024-08-14T12:49:50","date_gmt":"2024-08-14T06:49:50","guid":{"rendered":"https:\/\/hasthemes.com\/?post_type=docs&#038;p=28298"},"modified":"2024-08-14T12:51:11","modified_gmt":"2024-08-14T06:51:11","password":"","slug":"how-to-add-custom-events-in-pixelavo","status":"publish","type":"docs","link":"https:\/\/hasthemes.com\/docs\/how-to-add-custom-events-in-pixelavo\/","title":{"rendered":"How to Add Custom Events in Pixelavo"},"content":{"rendered":"\n<p style=\"margin-bottom:1.75em\">The Pixelavo plugin provides an option to add custom events in addition to predefined events. This feature allows users to create multiple custom events according to their needs.<\/p>\n\n\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\" style=\"padding-top:0px;padding-bottom:1.75em\"><div class=\"wp-block-group__inner-container\">\n<h2 class=\"wp-block-heading\">Detailed Steps to Add Custom Events<\/h2>\n\n\n\n<ol style=\"margin-bottom:0px\" class=\"wp-block-list\">\n<li><strong>Log in to your WordPress dashboard.<\/strong><\/li>\n\n\n\n<li><strong>Navigate to the Pixelavo plugin Custom Events.<\/strong><\/li>\n\n\n\n<li><strong>Click on \u2018Add New Event\u2019.<\/strong><\/li>\n\n\n\n<li><strong>Fill in the Event Name.<\/strong><\/li>\n\n\n\n<li><strong>Choose the Trigger type:<\/strong>\n<ul class=\"wp-block-list\">\n<li>If you select <strong>Page Visit<\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Target Pages:<\/strong> Choose where on your site to trigger this event.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>If you select <strong>Click on Element<\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Target CSS Selector<\/strong>: Enter the CSS class or ID that will trigger the event on click.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>If you select <strong>Hover on Element<\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Target CSS Selector:<\/strong> Enter the CSS class or ID that will trigger the event on hover.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>If you select <strong>URL Click<\/strong>:\n<ul class=\"wp-block-list\">\n<li><strong>Target URL:<\/strong> Enter the URL that will trigger the event on click.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Add Parameters as needed:<\/strong>\n<ul class=\"wp-block-list\">\n<li>Specify Parameter Names and Values.<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click \u2018<strong>Save<\/strong>\u2019 to create your custom event.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1920\" height=\"1080\" src=\"https:\/\/hasthemes.com\/wp-content\/uploads\/2024\/08\/custom-events.gif\" alt=\"\" class=\"wp-image-28310\"\/><\/figure>\n<\/div><\/div>\n\n\n\n<p style=\"margin-bottom:0px\">Common doc link: <a href=\"https:\/\/hasthemes.com\/doc\/testing-pixel-events\/\"><strong>Testing Pixel Events<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Pixelavo plugin provides an option to add custom events in addition to predefined events. This feature allows users to create multiple custom events according to their needs. Detailed Steps to Add Custom Events Common doc link: Testing Pixel Events<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","_mi_skip_tracking":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_category":[254],"doc_tag":[],"class_list":["post-28298","docs","type-docs","status-publish","hentry","doc_category-additional-events"],"acf":[],"year_month":"2025-11","word_count":160,"total_views":"855","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Ashim Kumar","author_nicename":"ashim-ht","author_url":"https:\/\/hasthemes.com\/author\/ashim-ht\/"},"doc_category_info":[{"term_name":"Pixelavo Events","term_url":"https:\/\/hasthemes.com\/docs-category\/additional-events\/"}],"doc_tag_info":[],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"htmega_size_585x295":false,"htmega_size_1170x536":false,"htmega_size_396x360":false,"betterdocs-category-thumb":false},"uagb_author_info":{"display_name":"Ashim Kumar","author_link":"https:\/\/hasthemes.com\/author\/ashim-ht\/"},"uagb_comment_info":0,"uagb_excerpt":"The Pixelavo plugin provides an option to add custom events in addition to predefined events. This feature allows users to create multiple custom events according to their needs. Detailed Steps to Add Custom Events Common doc link: Testing Pixel Events","knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/docs\/28298","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/comments?post=28298"}],"version-history":[{"count":14,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/docs\/28298\/revisions"}],"predecessor-version":[{"id":28339,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/docs\/28298\/revisions\/28339"}],"wp:attachment":[{"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/media?parent=28298"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/doc_category?post=28298"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/hasthemes.com\/wp-json\/wp\/v2\/doc_tag?post=28298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}