In part 1 of this series I showed you how to set up Tag Manager on your website.
In part 2 I explained how to set up basic triggers and tags.
In part 3 I showed you how to test Tags using Preview Mode – I also showed you how Preview Mode can be used to help you create new Triggers.
And now we’re finally there! In this final post I will show you how to setup Goals in Analytics so you can track Events on your website.
1. Login to your Tag Manager account here: https://tagmanager.google.com/
2. Go to the account you created in Part 1 and used in Part 2.
3. Click on the ‘Tags’ option in the left menu:
4. Now login to your Analytics account and load up the Account/Property for the website you are working on and click on the ‘ADMIN’ link at the bottom left:
5. In the far right column (VIEW Column), click on ‘Goals’:
6. Click ‘New Goal’:
7. Give your Goal a name (A) – I usually name it the same as or close to the Tag I have set up in Tag Manager. In this case I am going to call my Goal ‘Android Download’:
Then you tick the ‘Event’ option under ‘Type’ (‘B’ above), and click ‘Continue’.
8. Back in Tag Manager, click the title of the corresponding Tag:
9. Now click anywhere in the ‘Tag Configuration’ table:
10. When you look at the Analytics Goal settings next to the Tag Configuration table, you’ll see they correspond to each other:
11. Just copy and paste the values from the Tag Configuration into the corresponding fields in the Analytics Goal. So, copy the value in the ‘Category’ field in Tag Manager and paste it into the ‘Category’ field in Analytics. Do this for all fields:
12. For the ‘Value’ field, you must change the dropdown from ‘Greater Than’ to ‘Equals to’:
Then click ‘SAVE’ in Analytics.
13. You’ll see your goal in the list now. Next, click on the ‘Real-Time’ icon in the left menu:
14. And choose ‘Events’:
15. Load your website in another tab or browser and you should see yourself as a visitor on the site in the ‘Right now’ area:
16. Now click the element on your website that triggers the Tag we created in the previous tutorial. In this case it’s the ‘Android Download’ button:
17. Back in Analytics, you can see the Event has been triggered:
18. Under the ‘Real-Time’ menu at the left, click on ‘Conversions’ and you’ll see a similar page. You should also see a corresponding Goal triggered:
You don’t have to setup Tags to be Goals to track them as Events. If you only want to track events, skip setting up the goals and the Events will be tracked.
So there you go – now you know to track Events and Goals in Analytics using Tag Manager!