Articles on: 1Click Popups

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.


Setup Google Analytics 4 integration


  1. Open your campaign for editing.
  2. Click Integrations > Add integration.
  3. Select Google Analytics 4, then click Add.
  4. 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: 17/09/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!