Prerequisites
- ✓A Google Analytics 4 property with a web data stream.
- ✓Your GA4 Measurement ID (starts with
G-). - ✓An active StickyCTAs widget installed on your site.
Setup
Step 1: Find your Measurement ID
In Google Analytics, go to Admin → Data Streams → Web. Copy the Measurement ID (e.g. G-TZ9Z9MJK42).
Step 2: Enter it in StickyCTAs
Go to your widget's Settings → Analytics section and paste your Measurement ID.
Step 3: Verify in Realtime
Open your website, interact with the widget, then check GA4 → Reports → Realtime to see events appear.
Tracked Events
| Event Name | Description |
|---|---|
sticky_cta_impression | Fired when the widget loads and becomes visible on the page. |
sticky_cta_open | Fired when a visitor opens the widget menu. |
sticky_cta_close | Fired when a visitor closes the widget menu. |
sticky_cta_action_click | Fired when a visitor clicks an action button (phone, email, SMS, link, etc.). |
sticky_banner_impression | Fired when a banner becomes visible on the page. |
sticky_banner_click | Fired when a visitor clicks the banner CTA button. |
sticky_banner_dismiss | Fired when a visitor dismisses the banner. |
Event Parameters
All events include widget_id and widget_name. Some events include additional parameters:
widget_idThe unique ID of the widget. Included in all events.widget_nameThe name you gave the widget in the builder. Included in all events.positionWidget position on the page. On sticky_cta_impression only.action_typeThe type of action (e.g. phone, email, link). Note: these may differ from the label shown in the editor — see the mapping table below. On sticky_cta_action_click only.action_labelThe label text of the action button. On sticky_cta_action_click only.banner_positionBanner position on the page. On sticky_banner_impression only.banner_triggerWhat triggered the banner (scroll_depth, timer, etc.). On sticky_banner_impression only.banner_actionThe banner button action (open_widget, url). On sticky_banner_click only.banner_cta_textThe banner CTA button text. On sticky_banner_click only.Setting Up Key Events (Conversions)
Key events (formerly called "conversions") let you track important actions as goals in GA4. We recommend marking sticky_cta_action_click as a key event to measure widget ROI.
Step 1: Open Admin Settings
In GA4, click the Admin gear icon (bottom left), then under your property, click Events.
Step 2: Find the Event
Locate sticky_cta_action_click in the events list. If you don't see it yet, interact with your widget first to generate some events.
Step 3: Mark as Key Event
Toggle the switch in the "Mark as key event" column to enable it. The event will now appear in your conversions reports.
Pro tip: Track specific action types
Want to track phone calls separately from email clicks? Create custom key events in GA4:
- Go to Admin → Events → Create event
- Name it something like
sticky_cta_phone_click - Set conditions:
event_nameequalssticky_cta_action_clickANDaction_typeequalsphone - Save, then mark the new event as a key event
Repeat for any action type to track it as a separate conversion.
Editor label → GA4 action_type reference:
The name you see in the widget editor doesn't always match the action_type value sent to GA4. Use the table below to find the correct value when creating custom events.
| Editor Label | GA4 action_type |
|---|---|
| Contact | |
| Call Us | phone |
| Email Us | email |
| Text Us | sms |
whatsapp | |
| Messenger | messenger |
| Telegram | telegram |
| Viber | viber |
wechat | |
| LINE | line |
| Signal | signal |
| Skype | skype |
| Contact Us | contact-custom |
| Social | |
facebook | |
instagram | |
| TikTok | tiktok |
| X / Twitter | x |
linkedin | |
| YouTube | youtube |
pinterest | |
| Snapchat | snapchat |
| Threads | threads |
| Follow Us | social-custom |
| Engagement | |
| Leave a Review | review |
| Book a Meeting | booking |
| Contact Form | contact-form |
| Get Directions | directions |
| Website Link | link |
| Jobs & Recruiting | |
| View Openings | job-openings |
| Apply Now | apply-now |
| Indeed | indeed |
| Glassdoor | glassdoor |
| Careers | jobs-custom |
Viewing Data in GA4
Realtime
See widget events as they happen under Reports → Realtime.
Events Report
View aggregate counts under Reports → Engagement → Events. Filter by event name to see only StickyCTAs events.
Exploration
Build custom reports in Explore. For example, create a funnel from sticky_cta_open → sticky_cta_action_click to see your widget conversion rate.
Key Events (Conversions)
Once you've marked events as key events, view them under Reports → Engagement → Conversions. You can also see conversion data in Advertising → Attribution to understand which channels drive widget interactions.
Google Ads Integration
If you run Google Ads, your key events automatically sync as conversion actions when GA4 is linked to your Ads account.
Link GA4 to Google Ads
In GA4, go to Admin → Product links → Google Ads links and connect your Ads account.
Import Conversions
In Google Ads, go to Goals → Conversions → Summary, click New conversion action → Import → Google Analytics 4, and select your widget key events.
Optimize Campaigns
Use widget clicks as a conversion goal to let Google Ads optimize for visitors most likely to contact you.
EU visitors: StickyCTAs supports Google Consent Mode v2. If a visitor is in the EU and has not accepted analytics cookies, events are sent in cookieless mode and GA4 uses statistical modeling to fill gaps. See Privacy & Compliance for details.