Can't we use _satellite.setVar with this approach?

Avatar

Avatar

m_1985

Avatar

m_1985

m_1985

09-11-2016

Hi,

I tried using _satellite.setVar("xxxxx.userid", value-here) using period(dot) in the data element name but it didnt work(ie: not able to send the value to an eVar/prop/read the value in the console)  so i tried to avoid using dot in the data element name and used hyphen(-) instead of dot(.) like this _satellite.setVar("xxxxx-userid", value-here") and it works fine.

Anyone faced this issue earlier? not sure, if this is an issue with Adobe DTM?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

jantzen_belliston-Adobe

Community Manager

Total Posts

1.9K

Likes

308

Correct Answer

570

Avatar

jantzen_belliston-Adobe

Community Manager

Total Posts

1.9K

Likes

308

Correct Answer

570
jantzen_belliston-Adobe
Community Manager

09-11-2016

Hi,

We have seen issues in the past when periods were used in various areas of DTM. We definitely recommend staying away from as many special characters as possible in your naming conventions. If you need to use them, underscores and hyphens are typically fine. I typically just use upper and lowercase letters to name data elements (IE: UserID, PageName, PurchaseAmount).

 

Happy Tagging,

Jantzen

Answers (0)