How to integrate 1ClickPopup with Google Analytics 4 (GA4)
1ClickPopup makes it easy to integrate your popups with Google Analytics 4 for detailed reporting. View, filter, and run detailed reports on campaign impressions and conversions using Google Analytics 4.
Before you can begin collecting data from your campaigns, you must configure a Google Analytics 4 account on your Shopify store.
Open your campaign for editing.
Click Integrations > Add integration.
Select Google Analytics 4, then click Add.
Click Save.
From now on, all your future popup events will be sent to Google Analytics.
Event name:
ocp_event
Event properties:
ocp_action
ocp_campaign_name
ocp_campaign_id
Open Google Analytics 4, go to Admin, then find Custom definitions

Setup the following Custom definitions:
- OneClickPopup Action (ocp_action)
- OneClickPopup Name (ocp_campaign_name)
- OneClickPopup ID (ocp_campaign_id)

Open Google Analytics, go to Reports, Engagement, Events
Click Add comparison, select OneClickPopup Action with value impression and click Apply

Click Add comparison, select OneClickPopup Action with value conversion and click Apply


Before you can begin collecting data from your campaigns, you must configure a Google Analytics 4 account on your Shopify store.
Setup Google Analytics 4 integration
Open your campaign for editing.
Click Integrations > Add integration.
Select Google Analytics 4, then click Add.
Click Save.
From now on, all your future popup events will be sent to Google Analytics.
FAQs
What data is sent to GA4?
Event name:
ocp_event
Event properties:
ocp_action
ocp_campaign_name
ocp_campaign_id
How to set up Custom Definitions in GA4?
Open Google Analytics 4, go to Admin, then find Custom definitions

Setup the following Custom definitions:
- OneClickPopup Action (ocp_action)
- OneClickPopup Name (ocp_campaign_name)
- OneClickPopup ID (ocp_campaign_id)

How to use Custom Definitions for reporting in GA4?
Open Google Analytics, go to Reports, Engagement, Events
Click Add comparison, select OneClickPopup Action with value impression and click Apply

Click Add comparison, select OneClickPopup Action with value conversion and click Apply


Updated on: 14/02/2025
Thank you!