It occurs that sometimes we may have already track conversions with through GTM using dataLayer events.
It is there logical that we would like to use this conversion events built on our site, to also register conversion goals in Convert.
First, let say that an event called TestAction is being pushed into the dataLayer in the following way:
window.dataLayer = window.dataLayer || 
First go to Convert. Open your experiment on the Experience Overview and click on the goal editor to open it.
Then open the Goal Templates.
Then select the Custom Js Goal Template.
Name your new goal and save it.
Open your just created goal.
- First go to your Google Tag Manager account at https://tagmanager.google.com/ and select the account you are going to work on.
Then click on the "ADD A NEW TAG" button, as in the following image:
Click on the "Choose a tag type to begin setup".
Scroll down and select the "Custom HTML Tag" option.
Then the following dialog opens, select the "ADD TRIGGER" option.
Then a list of possible triggers appears there, but click on the "+" icon on the upper leftn, then you need to select the trigger type:
Scroll down and select the "Custom Event" option.
Re-save your whole Tag, and you are done.
Test your goal by triggering the GTM dataLayer event, and see if the goal is triggered in your experiment.
Also you can go into the Goals screen by clicking on goals in the menu.