Google Analytics Affiliate Conversions
Sending conversions to Google Analytics is important for countless reasons. Top bloggers like Neil Patel have many posts related to Google Analytics Goal Tracking, so we're not going to list all of them.
Benefits to track your affiliate conversions in Google Analytics:
- Visualize your goal funnels so you can optimize your website.
- Instantly access insights about your audiences and cross reference them with your goal funnels.
- Create custom audiences / Segments for retargeting campaigns.
- Generate reports that will tell you precisely which pieces of content is generating conversions, revenues and from which channels.
You might knew these benefits but you also know that they do not align with Affiliate Marketers' perspective.
The Affiliate Marketer's perspective:
The ability to track conversions beyond the scope of your website or landing page.
Since Google Analytics is a script that iyou add to your website html, you know that you can't add this script to the merchant's site or thank you page, let alone on ecommerce carts.
Consequently, tracking affiliate conversions with Google Analytics is not possible.
Yet, Google Analytics has an API that can receive conversion events through API calls and this is what this integration is about.
To enable this integration you need:
- A Google Analytics Account
- A TrackingDesk Account
- A Zapier account.
Traffic Source Setup
You can add the "organic" traffic source which is preset with standard UTM parameters as well as the Google Client ID (which is an auto-generated unique user identifier used by Google Analytics).
Create your Campaign
- Select the newly created Traffic Source
- Set the GEO target to Global
- Select your Landing page (the site you'd like to track)
- Link the offers to the call to actions
- Save your campaign
- Copy / paste the Organic Script to your site's Head
Fron now on, the TrackingDesk script will capture visits and any traffic attributes, as well as the GA Client ID.
Google Analytics Setup
- Go to the admin section of Google Analytics and open the Goal settings
Import from gallery
Search for the TrackingDesk solution and Import it
We've created this template according to the conversion goals that are set in TrackingDesk offers.
- Create the Goals
Now that we've got the campaign ready and Google Analytics ready to receive Conversion Goals, we can create the Zap that will automate the data flow between TrackingDesk and Google Analytics
Before you can setup the Zap you must visit your Access Token Page, create a token and click on the Zapier link.
- Trigger your Zap select TrackingDesk App (you will see the TrackingDesk app only if you've visited the integration page through the Access Token page)
- Select the traffic source for which you want to conversions to fire to GA and Get Conversion samples.
- Select one of the event samples and click continue.
- Select the Action settings
- Select Google Analytics (connect your Google Analytics account with Zapier)
- Select the Create Measurement option and click Continue
Set the options as shown below
Eventough the "event category" is required, there is no need to send a value. You can select the category value that best suit your needs. It can be the campaign category (dating, gaming, etc...)
- Event Action - the actual conversion goal generated in TrackingDesk (cpl, cpa, cps, cpi, cpc), which matches the action name set in Google Analtyics.
- Event Value - is the payout
- Custom Client ID can either be the TrackingDesk visit Event ID, or it can be the GA Client ID - It's optional, but better to add it as it will allow you to troubleshoot in case of missing conversions
- User ID - Optional, but useful if you have a membership site and you want to build cohort reports and life time value reports.
8. Test the action - you will see in your Google Analytics the results almost immediately.
9. Finish, Turn the Zap on and Save
That's it. From now on all your conversion goals will be sent to Google Analytics.
Found this article interesting, use this link to share it on Twitter:)