Hi,
As the title suggests, the problem is that when I send a survey by email, the response that returns appears with âunknown contactâ.
I checked the SurveySubmit.php file and $ _REQUEST [âcontactâ] is empty, as is $ _REQUEST [âtrackerâ].
In the Survey.php file, $ _REQUEST [âtrackerâ] is also empty.
And finally in the SurveyResponse.php file $ this-> contact_id is empty.
Can anyone tell me how to get the contact information when I send the survey so that I can fix the âunknown contactâ problem? Thanks
I think, if you send out a Survey Campaign, using a template that contains â$surveys_survey_url_displayâ,
It should generate a Link to the Survey that contains the Contactâs ID,
Which would then be passed to the CRM when the Survey is submitted
ie, it will look something like: [CRM location]/index.php?entryPoint=survey&id=d3a179f6-507f-fe81-2f3b-5f9171f7daa3&contact=496c4b81-f400-17c6-ca9a-5f490e06f4bf&tracker=5740b88f-7bae-6acb-3ea5-5f9ae80ba491
Are you perhaps doing something different, or sending through a different method?
when do i create the template? How? where do i get contac_id and tracker_id? In the email template I can select, under âinsert variableâ, in Contact / Leads / Objective, $ contact_tracker_key, but in any case it arrives empty
If so, I donât believe youâd need this in the template.
The Survey Email Template should just need the â$surveys_survey_url_displayâ variable in it
Then, when sent through a Survey Campaign, it will automatically parse this and build the full URL in the Email, including both Contact and Tracker ID:
I believe both of the Contact/Tracker ID are grabbed when it is sent through Campaigns
Although, if you donât plan to send through Campaigns, Iâm not sure how well it would work
What I would like is to send a simple email, taken from my contacts in which there is the survey. Everything ok, but the answer that arrives is anonymous, with âunknown contactâ
I donât know if itâs the correct way but I solved it like this:
I entered next to the string [CRM location]/index.php?entryPoint=survey&id=d3a179f6-507f-fe81-2f3b-5f9171f7daa3