Context.profile is undefined - Real-time events | Community
Skip to main content
January 28, 2022
Solved

Context.profile is undefined - Real-time events

  • January 28, 2022
  • 1 reply
  • 1899 views

Hi,

I set up a number of transactional events (real-time type) without any links defined in either Collections or Enrichment section. An exemplary html templates have been added into them and for the first couple round of tests all of endpoints have triggered emails as expected. After I made some slight changes in html code (i.e. wrapped icons up with links) the messages stopped to be sent and as an error I can see:

Error while compiling script 'DM4824[htmldefaultContent]' line 48: context.profile is undefined.

The question is why such error is thrown when there is no link to profile in html templates at all.

Republishing event or messages changes nothing.

 

Any thoughts?

 

Thanks,

Dominik

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by ShrawanSaxena-1

Hi Dominik,

Please check if this issue is with default branding or with any specific branding you are using .

Also, try to see if you switch off tracking, are you able to send email successfully. 

 

1 reply

ShrawanSaxena-1
Adobe Employee
ShrawanSaxena-1Adobe EmployeeAccepted solution
Adobe Employee
January 28, 2022

Hi Dominik,

Please check if this issue is with default branding or with any specific branding you are using .

Also, try to see if you switch off tracking, are you able to send email successfully. 

 

SachinDhir
Level 2
February 6, 2023

Hi @shrawansaxena-1,

Is there any documentation around effort of default branding on web analytics on landing pages in ACS?

 

We are also doing similar but on landing pages the personalization is not working on out-of-box fields like first name or email. We are just trying to display these on landing pages and got below error:

TypeError: context.profile is undefined render_HtmlPage_PAGE56([object Object],

 

Thanks

Sachin