Google Analytics

We now support GA4

What is the Google Analytics integration?

Google Analytics is a web analytics service offered by Google that tracks and reports website traffic, operating within the Google Marketing Platform brand. This allows you to leverage the power of both Pelcro and Google Analytics without requiring any code.

👍

Note:

To enable GA4 follow the documentation here uiSettings

How to create a Google Analytics account?

Google Tracking ID

First, start by creating a Google account (if you don't already have one).

you can follow these steps to set up a new account:

  • Go to the Google Marketing Platform website: https://marketingplatform.google.com/about/.
  • Click on "Get started" for Google Analytics.
  • Sign in to your existing Google account or create a new one.
  • Follow the on-screen instructions to complete the setup process.

After making sure you're signed in to your Google account on the browser, click on "Start measuring".
This will prompt you to go through the account creation process.

Once you've gone through the Analytics creation process, you will be redirected to the Google Analytics Dashboard page. This is where you can find your "Google tag ID" for Google Analytics 4 properties, which will be very important to link your Pelcro Account to your Google Analytics Account.

The location of your GA ID in the Analytics dashboard depends on the version of Google Analytics you're using:

Universal Analytics:

  • Sign in to your Google Analytics account.
  • Click the Admin tab in the bottom left corner.
  • Make sure the correct "Account" and "Property" are selected in the left-hand column.
  • You can find your GA ID (starting with "UA-") in two places:
  • Under Property Settings, it's displayed at the top of the page under "Tracking ID".
  • Under Tracking Info > Tracking Code, it's also displayed alongside the tracking code snippet.

👍

Note:

It's important to migrate to Google Analytics 4 (GA4) to continue tracking website data since Universal Analytics has been deprecated.

Google Analytics 4 (GA4):

  • Sign in to your Google Analytics account.
  • Click the Admin tab in the bottom left corner.
  • Make sure the correct "Account" and "Property" are selected in the left-hand column.
  • Click on Data Streams under the Property column.
  • Select the relevant data stream.
  • In the Google tag section, click on Configure tag settings.
  • Your GA4 Measurement ID (starting with "G-") is displayed under the Your Google tag section.

Then, you will need to update your Pelcro account and link it to your Analytics account. To do that, go to your Pelcro Publisher account:

  1. Click on settings
  2. Under the settings section, enter your Google tag ID/Tracking ID.
  3. Submit

Google Tag Manager Set Up

After finalizing the addition of the tracking ID, here are the steps that need to be completed in Google Tag Manager. If you don't have a Google Tag Manager account, you will need to create one in order to view Pelcro events:

In the Google Analytics dashboard, click on your account tab, as shown in the following screenshot.

Then, choose the Tag Manager tab, as depicted in the screenshot. Select your existing related Tag Manager account or create a new one if you don't have any.

Once GTM account creation is completed, please follow the steps outlined in the following video:

  • Create a new container and choose the type of container as "web."
  • Once created, navigate to the admin tab for this container.
  • Click on "import container" and import the following file.

When you click on this file, it will redirect you to the file. Right-click and select "Save As" to download it on your side, as shown in the screenshot and then import it in GTM.

  • Choose the type of workspace as "new" and select "overwrite" as the import option, then confirm.
  • In the left navigation bar, choose variables and select "measurement ID." In the variable configuration, add your measurement ID.
  • After saving your ID, save and publish your container.

Once you've updated your Pelcro account, added the Google Analytics code snippet to track your website traffic, and set up your Google Tag Manager, you should start seeing data collection on your Google Analytics account dashboard.

Now, let's take an example. Assuming that a new customer visited your website and decided to register, your user will go through the creation process. Now, on the Google Analytics dashboard, you'll find 2 types of actions that will be recorded:

  1. Views
  2. Actions

Here is a short list of some of the actions that fall under each of the above categories:

Views:

  1. Dashboard Modal Viewed
  2. Plan Modal Viewed
  3. Payment Modal Viewed
  4. Product Modal Viewed
  5. Redeem Gift Modal Viewed
  6. Register Modal Viewed
  7. Success Modal Viewed
  8. Forgot password view
  9. Selection Modal viewed.
  10. Login Modal Viewed.
  11. Address select modal viewed
  12. Subscription create modal viewed
  13. Payment method select modal viewed
  14. Cart modal viewed
  15. Address create modal viewed
  16. Order create modal viewed
  17. Order confirm modal viewed.
  18. Payment method update modal viewed
  19. Subscription cancel modal viewed
  20. Subscription suspend modal viewed
  21. Address update modal viewed
  22. Gift create modal viewed
  23. Invoice details modal viewed
  24. Password change modal viewed
  25. Profile picture modal viewed
  26. Qr code create modal viewed
  27. Subscription renew modal viewed
  28. User update modal viewed

Actions:

  1. Registered
  2. Subscribed
  3. Logged in
  4. Logged out
  5. Updated address
  6. Canceled subscription
  7. Updated payment method
  8. Renewed
  9. Suspended
  10. Unsuspended
  11. Add to cart

The above actions and views can be found under reports >> engagement >> events.