Trigger Event Not work in some Of cases

contacts

#1

For e.g I use below link then ts work
Link: file_get_contents(“http://track.hubspot.com/v1/event?_n=00000123456&_a=123456&email=$emailaddress”)

But if i pass customer information variable then its can’t work and not trigger
Link Like:
file_get_contents(“http://track.hubspot.com/v1/event?_n=00000123456&_a=123456&email=$emailaddress&address=$address&firstname=$firstname&lastname=$lastname&phone=$phone”);

Any One can Help Please


#2

Hi @Dharmesh_Vrinsoft,

That looks like both requests should work, but make sure you’re using https://, not http://. If you make that change, does it function correctly? Are there any special characters that need to be encoded?


#3

Yes, some special Symbol Available on Address, Firstname, Part


#4

Thanks for Help
Now issue Solve i use urlencode()