I want to setup an A/B test in Target, which redirects the user to another page (e.g. the variant made outside of Target).
That is quite easy, so no problems there
But now the problem arises:
I want to track goal conversion using Target and not Analytics.
But since the variant is redirecting the user to a different page, it isn't possible to add script code in the UI, where we can do almost everything, when not creating redirects.
I don't have any experience with setting up custom conversion goals, but still guess that would be the way to go, if possible for a redirect variant, as it seems to be in regards to the non-redirected control.
It doesn't seem easily possible to find examples for this use case.
Glad you are able to usually use the benefits of A4T To set-up Target-metrics, you will want to use the Rules in DTM.
Here's an example of setting up an mbox on a page to use as a Target-metric. Steps #1 - 6 will create an mbox on the page you are interested in. Steps #7-13 will use the mbox you just made in steps #1-6 as the Target-metric.
1. In DTM, open a Page Load Rule
2. Give it a name like "Target - Order Confirmation Page"
3. In the Conditions portion of the rule, put in the code that denotes the Order Confirmation page is loaded/is being shown (i.e. URL contains a specific value .... or the dataLayer contains specific values)
4. In the Adobe Target portion of the rule:
a. In the Create Mbox Around field, enter #orderConfirmPageMboxDiv
b. In the Mbox Name field, enter orderConfirmPage
c. In the Mbox Parameters, pass any values from the page to Target (this is optional)
a. Go to the Sequential HTML tab and click Add a New Script
b. Give it a name like Target - Checkout - Order Confirmation div
c. Put in this code <div id="orderConfirmPageMboxDiv" style="display:none;visibility:hidden;"></div> Note: whatever you used as the value in #4a above needs to be value of the id in the code
6. Leave a comment about what you did in the Add a Note section and hit Save
7. Now go to Target.
8. Get to the Goals & Setting part of your Test.
9. In the Reporting section, click Add a New Metric
10. In the first drop-down, select Conversion (because this example is about getting to the Order Conf. page)
11. In the second drop-down, select Viewed an mbox.
12. In the drop-down that appears, select orderConfirmPage (or whatever you used as the value in #4b above)
Would you mind if I asked why you don't want to use Analytics as the metrics?
My absolute favorite is to use Analytics as the metrics because then I have every single data point captured in Adobe Analytics available and I don't have to do any additional set-up (i.e. setting up custom conversion goals).