Google Analytics 4 Support 📈

We've released an update to support Google Analytics 4 (GA4), which will replace Universal Analytics (UA) in July 2023.

Sleeknote now sends the following campaign events to GA4 in addition to UA:

  • Sleeknote shown (when any campaign shows)
  • New Subscriber (when a visitor submits a “Collect Email Addresses” campaign”)
  • New contact request (when a visitor submits a “Connect with Visitors” campaign)
  • Blank Click (when a visitor clicks a campaign with a CTA button)

GTM Datalayer and GA4

If you're sending events to GA4 via Google Tag Manager, make sure you've set up the connection between those two.

We send the following data to GTM Datalayer upon "Collect Email Addresses" campaign submissions, which you can customize and pass along to Google Analytics:

DataLayer.push({
  SleeknoteId: "f7736e13-1b91-41e5-8b5b-9df165efc4c0",
  SignupPage: "https://test.com/go/mypage",
  event: "SleeknoteSubscriber",
  fieldData: {
    email: "test@email.com",
    firstname: "Ron",
    checkbox-1: "checkbox",
    guid: "ce4dc4cb-3370-4cc7-8941-378556023b5a",
    SleeknoteId: "f7736e13-1b91-41e5-8b5b-9df165efc4c0",
    CustomerId: "12354",
    SignupPage: "https://test.com/go/mypage",
    PageTitle: "test page name",
    UserAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like G" +
               "ecko) Chrome/107.0.0.0 Safari/537.36"
  },
  CustomerId: "12345",
})