[October 2018] Convert Support Wisdom: All About Google Analytics

20th Nov 2018 – Convert Support Wisdom: All About Google Analytics
The Convert support team gets lots of questions about Google Analytics – all year round. But the month of October saw an upsurge in the volume of queries.
you have to make sure that Google Analytics tracking code is placed under Convert Experiments code
These two objects are described in detail here.
Convert Experiences and Google Analytics (GA) have different tracking methods and technology.
On the right top you find the green icon with "Add Goal" as text
If you are using the ga.js tracking and therefore the custom variables, the data will be visible in two locations:
Yes, this feature is available. You can read the full details in this article. Where can I see Convert Experiences data in Classic Analytics?
After you have saved the goal, go edit it and you will find the JavaScript code below. You will need to copy and paste this script anywhere on the page (after the main Convert tracking code) of your website to send revenue and ordered products count to our system with the appropriate fields mapped to variables in your e-commerce system.

<script>
window['_conv_q'] = window['_conv_q'] || [];
window['_conv_q'].push(["pushRevenue",revenue,products_cnt,goal_id]);
</script>

Here’s to closing the month with a snapshot of our support metrics.
Let’s clarify the different versions of tracking codes in Google Analytics.

If you have multiple Google Analytics trackers, you can follow these steps to install them on your website. It will look like this:

What Convert Experiences data can I send to Google Analytics?

You just have to create a revenue goal:

  1. convert.currentData
  2. convert.historicalData

Go to Customisation and then Custom Reports:
But eventually it should look like this. Each variation of the Convert experiment that you use should have a corresponding row in the Custom Report:

How to Quickly Check if Convert Experiments is Sending Data to Third Party Vendors?

When you change and save this, the goal will be tracked

If you have more than one tracker and you do not fill the “Google Analytics UA Property” field, data will be sent in one of the Google Analytics trackers, the one that you have defined first in order in your page source.
But a blog is a better way to get conversational and elaborate on the little things we pick up from every support request we handle.

[History Lesson] Do you support all versions of Google Analytics?

You can use the Google Chrome Debugger and search for the rows
You can use the Google Chrome Debugger and search for the rows:
If you have one tracker and you fill the “Google Analytics UA Property” field, it will send the Convert data to that tracker as if it was not filled.
Are you using Google Analytics in a GDPR & Privacy compliant way? Learn more here. 
In October 2012 another new version of Google Analytics was announced, called ‘Universal Analytics’. The tracking code can found by the name analytics.js. The key differences from the previous version were: cross-platform tracking, flexible tracking code to collect data from any device, and the introduction of custom dimensions and custom metrics.

Can I use GTM Data Layer to send Convert Experiences data to Google Analytics?

You can either select Classic or Universal Analytics in order to activate the integration. If you use Global Site Tag in your website select Universal Analytics as it works for both Universal and Global Site Tag tracking codes.

Can I Import goals from Google Analytics?

Once the report has been created, you should wait until you see the variations and data coming in
You might want to access the running experiment’s data or the data of all experiments that were triggered for a specific visitor in order to push them in Google Analytics. For that we make available two Javascript objects:

  • Go to your goals overview in the left menu
3 minutes 30 seconds
  • On the right top you find the green icon with “Add Goal” as text, click that and a pop-up with 3 menus will open. Select the middle category called “Import” (see screenshot below)
In November 2005 Google launched Google Analytics, known also as ‘Classic Analytics’. The tracking code can be found by the name ga.js. From 2016 it is considered Legacy and most of the accounts have been migrated to Universal Analytics.
  • You have to give Convert the authorization to look into your Google Analytics account and select the goals. If it is prompted to you accept the offline access.D
  • Select the correct project on the left and select the Page URL, Time on page, Number of pages visited goals (event based goals cannot be imported at this moment).
This is the reason why you see a difference between GA and Convert Experiences data for your website. To make it easy to find out what the differences are, we have this article.
  • To verify if the import was successful, please open the imported goals by editing them.
75

Create a new Custom Report, and under dimensions select the Custom Dimension you created in the previous step:
Fill in the Goal name and Revenue Page URL to match the confirmation page of your purchases:

If you are using the Universal Analytics tracking (analytics.js) or the Global Site Tag (gtag.js)  method and therefore the Custom Dimensions, you can use the custom dimensions inside custom reports or inside segments (to filter standard reports).

In October 2017 the newest version of Google Analytics was announced, called ‘Global Site Tag’. The tracking code can be found by the name gtag.js. Its purpose is to unify the tagging system and simplify implementation.

In February/March 2018, we made a change to our revenue code, changing “sendRevenue” to “pushRevenue” and removing the transaction ID in the new pushRevenue code. This was a GDPR requirement. Don’t worry, this won’t have any negative impact on the previous experiments that used sendRevenue — theose will continue to work.

Why Convert Experiences Data is Different from Google Analytics?

Fill in the Goal name and Revenue Page URL to match the confirmation page of your purchases:
Go to your goals overview in the left menu

Can I track revenue with Google Analytics?

First create a revenue goal
That’s it for our October Support Story.

Save it and you are done.

These are some topics that seem to make their way to the tickets time and again.

We are monitoring a full URL, but the import only took part of the URL

Where can I see Convert Experiences data in Classic Analytics? Create a new Custom Report, and under dimensions select the Custom Dimension you created in the previous step:

  • First create a revenue goal:
Simply fill in the "Google Analytics UA Property"
  • Make sure that in the following step you fill in a dummy URL that does not match a URL on your site. For example, “http://domain.com/dummy.html”.
Yes, we do have articles in our database to address the queries.

But eventually it should look like this
Once the report has been created, you should wait until you see the variations and data coming in. Google says that there could be a 24-48 hours data processing latency.

  • Revenue: revenue using 123.45 (dot as cent divider)
  • Product Count (number of products in the cart): products_cnt
  • Parameter goal_id is automatically filled in with the ID of the goal once you have saved the goal.*

What is the difference between sendRevenue & pushRevenue?

One way to get started fast with your Convert Experiences account is to import existing goals from Google Analytics. This import helps you hit the ground running, but since it’s not an integration you do need to check the imported goals before you assume that they will work well.

Since we learn as we resolve, this month our support wisdom is a comprehensive compilation of the most asked Qs that we found ourselves giving the As to!

Where can I see Convert Experiences data in Classic Analytics?

We are monitoring a full URL, but the import only took part of the URL. We need to change “Matches Exactly” to “Contains”.

  1. Under Audience –> Custom –> Custom Variables, there will be a variable named CONVERT-XXXX where XXXXX will be the experiment ID inside Convert Experiments. You can see the Convert experiment id in the address bar when you edit your experiment.
Make sure that in the following step you fill in a dummy URL that does not match a URL on your site
  1. Under that variable, you will see your testing combinations.
Our team will be back with another area of interest for Convert users and the intriguing, oft-asked questions that we find in our tickets.
  1. On each pageview of a tested page we also send an event to Google Analytics. You can find those under Content –> Events inside your Google Analytics. You can use the events to see reports of how many times a variation has been seen (not just by how many visitors).
Convert Experiences support all these three versions.

Where can I see Convert Experiences data in Universal Analytics?

(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-xxxxxxxxx-1', 'auto');
ga('create', 'UA-yyyyyyyyy-1', 'auto', 'clientTracker');
ga('clientTracker.send', 'pageview');
ga('send', 'pageview');

2 hours

create a revenue goal

When you change and save this, the goal will be tracked (please make sure the project code is installed).

After setting up the experiment variations, go to Experiment Summary by editing the experiment. Once you are in the Experiment Summary, go to Settings section and then select Add/Edit Integrations.

You can use the Google Chrome Debugger and search for the rows

If you use Convert Experiences as your preferred testing tool and want to keep your reports in Google Analytics, this will be of immense value.

If you don’t want to use Google Analytics e-commerce tracking or you cannot use it as it’s not implemented through the standard tracking code, we have a workaround for you.

If you paste the Convert Experiences code right after the </title> tag and you use the latest Google Analytics e-commerce tracking, we will automatically connect e-commerce revenue tracking of Google Analytics to all your tests.  There is no need to install anything; this works out of the box for all customers.

Does Convert experiences support multiple GA trackers?

We Hear You:
please open the imported goals by editing them

You see in this example the import went well, but this goal will not work.

Here is a checklist to import and setup Google Analytics goals.
Basically you can send the experience name or ID, the variation name or ID, goals names or IDs that were triggered.
The first and most asked question is about the Convert Experiences-Google Analytics installation. Here are the steps to make this happen.
Select the correct project on the left and select the Page URL, Time on page, Number of pages visited goals
Go to Customisation and then Custom Reports

How Did Convert Serve You in October?

Chat Support:

you can either select Classic or Universal Analytics in order to activate the integration

Email Support:

Where can I see Convert Experiences data in Classic Analytics?

NPS Score:

In short, you have to make sure that Google Analytics tracking code is placed under Convert Experiments code, in your website’s header. You can use the Classic Analytics (ga.js) or the Universal Analytics code (analytics.js) or the Global Site Tag (gtag.js) version. Any custom Google Analytics code could break the integration.

High ROI A/B Testing Free Trial