How to Integrate Picreel With Google Analytics
Integrating Picreel popups with Google Analytics lets you track events - popup views, clicks, & conversions and helps you to find which popup campaign is effective and which one is not performing.
Benefits of integrating Picreel with Google Analytics
1. Get to know your audience better
2. Track your website overlays easily with Google Analytics
3. Keep a record of impressions and conversions count for each popup
Picreel provides two ways to integrate with Google Analytics:
1. Use UTM Links
Follow these rules to create a UTM link:
Step1: Go to Campaign URL builder.
Step 2: Enter your website URL (e.g., https://mysite.com).
Step 3: In the Campaign Source field, enter the traffic source you want to track (e.g., Picreel).
Step 4: In the Campaign Medium, enter the medium upon which the link was used (e.g., popup).
Step 5: In the Campaign Name field, enter the identification of a promoted product or campaign (e.g., myshop).
Now you can start using the acquired URL.
Step 6: Once the UTM link is ready, you need to redirect where you would like visitors to land. Paste the link of the desired page in the Redirect URL field.
When you go into Google Analytics, you can see the data about anyone who has clicked on that medium compared to other links on your website.
To see this data, follow these steps:
Step 1: Sign in to your Google Analytics account.
Step 2: Navigate to Traffic Sources > Sources > Campaigns. Once you start using the generated URL, you will start seeing the result of your popup campaign.
Step 3: Click on Goal Sets to track the conversions compared to other links to your website using a goal you have set up for your offer. Also, you can see which traffic source led to conversions.
2. Add Google Analytics Code to the Picreel Pop-Up
To start using Google Analytics in a popup, add this custom code to your HTML/CSS section:
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function() { (i[r].q=i[r].q||[]).push(arguments)} ,i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXX-Y', 'auto', {'allowLinker': true} );
ga('require', 'linker');
ga('linker:autoLink', ['yourdomain.link'] );
</script>
<!-- End Google Analytics -->
-
'UA-XXXXX-Y' should be replaced with the Google Analytics property ID you want to track (also called the "tracking ID").
- 'yourdomain.link' should be your link where Picreel should trigger. Enter the link without protocol and any slashes.
These are the typical Google Analytics events we recommend:
1. onPicConversion - email is sent to the Leads section
2. onPicShowPopup - popup triggered
3. onPicClose - popup closed
$(self).on('onPicConversion', function()
{ ga('send', 'event', 'Picreel', 'Conversion sent', 'Picreel Popup Event'); }
);
</script>
$(self).on('onPicShowPopup', function()
{ ga('send', 'event', 'Picreel', 'Show Popup', 'Picreel Popup Event'); }
);
</script>
$(self).on('onPicClose', function()
{ ga('send', 'event', 'Picreel', 'Close Popup', 'Picreel Popup Event'); }
);
</script>