We are already using AMP to create dynamic URL. We are also doing A/B tests and I want to add the variant of a contentblock into the dynamic URL. Below you see the current AMP we're using to create the URLs. I add @CID_code to every URL.
The new variant needs to have a code to add to the URL like this: CID=EML_NB_BL_A_20210111 or CID=EML_NB_BL_B_20210111.
I wanted to add TestA or TestB to the name of the contentblock and catch that with AMP, but that's not possible if I look into the development guides. Any ideas how to fix this?
%%[
/* UTM code genereren */
SET @hp = AttributeValue("hp")
SET @date_today = Format(Now(), "yyyyMMdd")
IF @hp == "bl" THEN
SET @CID_code = Concat("CID=EML_NB_BL_", @date_today)
ELSEIF @hp == "kk" THEN
SET @CID_code = Concat("CID=EML_NB_L_KK_", @date_today)
ELSEIF @hp == "gr" THEN
SET @CID_code = Concat("CID=EML_NB_L_GR_", @date_today)
ELSEIF @hp == "vv" THEN
SET @CID_code = Concat("CID=EML_NB_L_VV_", @date_today)
ELSEIF Empty(@hp) THEN
SET @CID_code = Concat("CID=EML_NB_NL_", @date_today)
ENDIF
]%%